test_class.file: display/renderawt/src/test/java/org/openscience/cdk/renderer/visitor/AbstractAWTDrawVisitorTest.java
test_class.identifier: AbstractAWTDrawVisitorTest
test_case.body: @Test
      public void testTransformPoint() {
          AbstractAWTDrawVisitor visitor = new NestedAWTDrawVisitor();
          visitor.setTransform(new AffineTransform()); // no transform
          int[] transformed = visitor.transformPoint(1, 2);
          Assert.assertEquals(1, transformed[0]);
          Assert.assertEquals(2, transformed[1]);
      }
test_case.class_method_signature: AbstractAWTDrawVisitorTest.testTransformPoint()
test_case.full_signature: @Test public void testTransformPoint()
test_case.identifier: testTransformPoint
test_case.invocations: setTransform transformPoint assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testTransformPoint()
focal_class.declarator: transform = null
focal_class.modifier: protected
focal_class.original_string: protected AffineTransform transform = null;
focal_class.type: AffineTransform
focal_class.var_name: transform
focal_class.file: display/renderawt/src/main/java/org/openscience/cdk/renderer/visitor/AbstractAWTDrawVisitor.java
focal_class.identifier: AbstractAWTDrawVisitor
focal_class.interfaces: implements IDrawVisitor
focal_class.class_method_signature: AbstractAWTDrawVisitor.transformPoint(double xCoord, double yCoord)
focal_class.full_signature: public int[] transformPoint(double xCoord, double yCoord)
focal_class.identifier: transformPoint
focal_class.modifiers: public
focal_class.parameters: (double xCoord, double yCoord)
focal_class.return: int[]
focal_class.signature: int[] transformPoint(double xCoord, double yCoord)
focal_class.class_method_signature: AbstractAWTDrawVisitor.transformPoint(double[] xy)
focal_class.full_signature: public void transformPoint(double[] xy)
focal_class.identifier: transformPoint
focal_class.modifiers: public
focal_class.parameters: (double[] xy)
focal_class.return: void
focal_class.signature: void transformPoint(double[] xy)
focal_class.class_method_signature: AbstractAWTDrawVisitor.getTextBounds(String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.full_signature: protected Rectangle2D getTextBounds(String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.identifier: getTextBounds
focal_class.modifiers: protected
focal_class.parameters: (String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.return: Rectangle2D
focal_class.signature: Rectangle2D getTextBounds(String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.class_method_signature: AbstractAWTDrawVisitor.getTextBasePoint(String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.full_signature: protected Point getTextBasePoint(String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.identifier: getTextBasePoint
focal_class.modifiers: protected
focal_class.parameters: (String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.return: Point
focal_class.signature: Point getTextBasePoint(String text, double xCoord, double yCoord, Graphics2D graphics)
focal_class.class_method_signature: AbstractAWTDrawVisitor.getTextBounds(String text, Graphics2D g2)
focal_class.full_signature: protected Rectangle2D getTextBounds(String text, Graphics2D g2)
focal_class.identifier: getTextBounds
focal_class.modifiers: protected
focal_class.parameters: (String text, Graphics2D g2)
focal_class.return: Rectangle2D
focal_class.signature: Rectangle2D getTextBounds(String text, Graphics2D g2)
focal_class.class_method_signature: AbstractAWTDrawVisitor.setTransform(AffineTransform transform)
focal_class.full_signature: @Override public void setTransform(AffineTransform transform)
focal_class.identifier: setTransform
focal_class.modifiers: @Override public
focal_class.parameters: (AffineTransform transform)
focal_class.return: void
focal_class.signature: void setTransform(AffineTransform transform)
focal_method.body: public int[] transformPoint(double xCoord, double yCoord) {
          double[] src = new double[]{xCoord, yCoord};
          double[] dest = new double[2];
          this.transform.transform(src, 0, dest, 0, 1);
          return new int[]{(int) dest[0], (int) dest[1]};
      }
focal_method.class_method_signature: AbstractAWTDrawVisitor.transformPoint(double xCoord, double yCoord)
focal_method.full_signature: public int[] transformPoint(double xCoord, double yCoord)
focal_method.identifier: transformPoint
focal_method.invocations: transform
focal_method.modifiers: public
focal_method.parameters: (double xCoord, double yCoord)
focal_method.return: int[]
focal_method.signature: int[] transformPoint(double xCoord, double yCoord)