Searched refs:canvasHeight (Results 1 – 2 of 2) sorted by relevance
190 int canvasHeight = canvas.getHeight(); in drawContents() local198 if (scaledHeight < canvasHeight) { in drawContents()201 int pad = (canvasHeight - scaledHeight) / 2; in drawContents()205 scale = (float) canvasHeight / photoHeight; in drawContents()208 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); in drawContents()
609 canvasHeight: 100, property620 this.options.canvasHeight /= this.options.pixelHeight;651 var canvasHeight = this.options.canvasHeight;654 for(var y=0; y < canvasHeight; y++){656 var yp = y * 1.0 / canvasHeight * 2 - 1;892 canvasHeight: imageHeight, property