79711269

Date: 2025-07-23 03:20:29
Score: 1
Natty:
Report link
shadingPattern matrix:

Matrix patternMatrix = shadingPattern.getMatrix();
AffineTransform transform = patternMatrix.createAffineTransform();

Point2D.Float p0 = new Point2D.Float(x0, y0);
Point2D.Float p1 = new Point2D.Float(x1, y1);
Point2D.Float deviceP0 = (Point2D.Float) transform.transform(p0, null);
Point2D.Float deviceP1 = (Point2D.Float) transform.transform(p1, null);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Serendipity