Lines Matching defs:scale
96 private static Color getColorForScale(int scale) {
97 return COLORS[scale - 1];
110 g2d.scale(graphicsScale, graphicsScale);
133 private final double scale;
135 TestGraphicsConfig(double scale) {
136 this.scale = scale;
156 return AffineTransform.getScaleInstance(scale, scale);
176 private final double scale;
178 public TestSurfaceData(int width, int height, double scale) {
180 this.scale = scale;
181 gc = new TestGraphicsConfig(scale);
182 this.width = (int) Math.ceil(scale * width);
183 this.height = (int) Math.ceil(scale * height);
189 int sx = (int) Math.ceil(x * scale);
190 int sy = (int) Math.ceil(y * scale);