Lines Matching refs:scale
89 double scale = Math.min(1.0, width / topCornerWidth);
90 scale = Math.min(scale, width / bottomCornerWidth);
91 scale = Math.min(scale, height / leftCornerHeight);
92 scale = Math.min(scale, height / rightCornerHeight);
94 this.ulWidth = dimensions[0] * scale;
95 this.ulHeight = dimensions[1] * scale;
96 this.urWidth = dimensions[2] * scale;
97 this.urHeight = dimensions[3] * scale;
98 this.lrWidth = dimensions[4] * scale;
99 this.lrHeight = dimensions[5] * scale;
100 this.llWidth = dimensions[6] * scale;
101 this.llHeight = dimensions[7] * scale;