Searched refs:canvasWidth (Results 1 – 2 of 2) sorted by relevance
189 int canvasWidth = canvas.getWidth(); in drawContents() local196 float scale = (float) canvasWidth / photoWidth; in drawContents()202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1); in drawContents()207 float pad = (canvasWidth - scaledWidth) / 2; in drawContents()
610 canvasWidth: 100, property621 this.options.canvasWidth /= this.options.pixelWidth;652 var canvasWidth = this.options.canvasWidth;655 for(var x=0; x < canvasWidth; x++){657 var xp = x * 1.0 / canvasWidth * 2 - 1;891 canvasWidth: imageWidth, property