Lines Matching refs:at

123      * clamp the colors properly at the extremes.)  The following diagram
137 * interpolating between C1 and C2, we want the pure color at the
156 private static void setGradientPaint(RenderQueue rq, AffineTransform at,
169 at.translate(x, y);
170 // now gradient point 1 is at the origin
174 at.rotate(x, y);
176 at.scale(2*len, 1);
177 // now gradient point 2 is at (0.5, 0)
178 at.translate(-0.25, 0);
179 // now gradient point 1 is at (0.25, 0), point 2 is at (0.75, 0)
183 at.invert();
184 p0 = at.getScaleX();
185 p1 = at.getShearX();
186 p3 = at.getTranslateX();
257 AffineTransform at = (AffineTransform)sg2d.transform.clone();
259 at.translate(anchor.getX(), anchor.getY());
260 at.scale(anchor.getWidth(), anchor.getHeight());
264 at.invert();
265 xp0 = at.getScaleX();
266 xp1 = at.getShearX();
267 xp3 = at.getTranslateX();
268 yp0 = at.getShearY();
269 yp1 = at.getScaleY();
270 yp3 = at.getTranslateY();
300 * shaders. So for now we will cap this value at 12, but we can
370 * is that at the native level we use a fragment shader to manually
378 * such that the gradient end points are positioned at 0.25 and 0.75
381 * such that the gradient end points fall at 0.0 and 1.0. The
397 AffineTransform at = paint.getTransform();
398 at.preConcatenate(sg2d.transform);
406 setGradientPaint(rq, at,
420 at.translate(x, y);
421 // now gradient point 1 is at the origin
425 at.rotate(x, y);
427 at.scale(len, 1);
428 // now gradient point 1 is at (0.0, 0), point 2 is at (1.0, 0)
432 at.invert();
433 p0 = (float)at.getScaleX();
434 p1 = (float)at.getShearX();
435 p3 = (float)at.getTranslateX();
492 AffineTransform at = paint.getTransform();
493 at.preConcatenate(sg2d.transform);
494 focus = at.transform(focus, focus);
499 at.translate(cx, cy);
500 at.rotate(fx - cx, fy - cy);
501 at.scale(radius, radius);
505 at.invert();
507 at.setToScale(0.0, 0.0);
509 focus = at.transform(focus, focus);
523 buf.putFloat((float)at.getScaleX());
524 buf.putFloat((float)at.getShearX());
525 buf.putFloat((float)at.getTranslateX());
526 buf.putFloat((float)at.getShearY());
527 buf.putFloat((float)at.getScaleY());
528 buf.putFloat((float)at.getTranslateY());