## Uses of Class
org.apache.fop.area.CTM

- Packages that use CTM
  Package | Description
  --- | ---
  org.apache.fop.area | FOP's area tree.
  org.apache.fop.render | Generic renderer interface.
  org.apache.fop.render.intermediate |
  org.apache.fop.render.java2d | Java2D Renderer which paints rendered pages on Graphics2D instances.
  org.apache.fop.render.pdf | PDF Renderer
  org.apache.fop.render.txt | Plain Text Renderer
  org.apache.fop.render.xml | Area Tree XML Renderer.

- - ### Uses of CTM in org.apache.fop.area

    Methods in org.apache.fop.area that return CTM
    Modifier and Type | Method and Description
    --- | ---
    `CTM` | BlockViewport.`getCTM()` Get the transform of this block viewport.
    `CTM` | RegionReference.`getCTM()` Get the current transform of this region.
    `static CTM` | CTM.`getCTMandRelDims(int absRefOrient, WritingMode writingMode, java.awt.geom.Rectangle2D absVPrect, FODimension reldims)` Construct a coordinate transformation matrix (CTM).
    `static CTM` | CTM.`getWMctm(WritingMode wm, int ipd, int bpd)` Return a CTM which will transform coordinates for a particular writing-mode into normalized first quandrant coordinates.
    `CTM` | CTM.`multiply(CTM premult)` Multiply new passed CTM with this one and generate a new result CTM.
    `CTM` | CTM.`rotate(double angle)` Rotate this CTM by "angle" radians and return a new result CTM.
    `CTM` | CTM.`scale(double x, double y)` Scale this CTM by the passed x and y values and return a new result CTM.
    `CTM` | CTM.`translate(double x, double y)` Translate this CTM by the passed x and y values and return a new result CTM.

    Methods in org.apache.fop.area with parameters of type CTM
    Modifier and Type | Method and Description
    --- | ---
    `CTM` | CTM.`multiply(CTM premult)` Multiply new passed CTM with this one and generate a new result CTM.
    `void` | BlockViewport.`setCTM(CTM ctm)` Set the transform of this viewport.
    `void` | RegionReference.`setCTM(CTM ctm)` Set the Coordinate Transformation Matrix which transforms content coordinates in this region reference area which are specified in terms of "start" and "before" into coordinates in a system which is positioned in "absolute" directions (with origin at lower left of the region reference area.

    Constructors in org.apache.fop.area with parameters of type CTM
    Constructor and Description
    `CTM(CTM ctm)` Initialize a CTM with the values of another CTM.

  - ### Uses of CTM in org.apache.fop.render

    Methods in org.apache.fop.render with parameters of type CTM
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | AbstractRenderer.`startVParea(CTM ctm, java.awt.Rectangle clippingRect)` Establishes a new viewport area.

  - ### Uses of CTM in org.apache.fop.render.intermediate

    Methods in org.apache.fop.render.intermediate with parameters of type CTM
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | IFRenderer.`startVParea(CTM ctm, java.awt.Rectangle clippingRect)` Establishes a new viewport area.

  - ### Uses of CTM in org.apache.fop.render.java2d

    Methods in org.apache.fop.render.java2d with parameters of type CTM
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | Java2DRenderer.`startVParea(CTM ctm, java.awt.Rectangle clippingRect)` Establishes a new viewport area.

  - ### Uses of CTM in org.apache.fop.render.pdf

    Methods in org.apache.fop.render.pdf that return CTM
    Modifier and Type | Method and Description
    --- | ---
    `static CTM` | CTMHelper.`toPDFCTM(CTM sourceMatrix)` Creates a new CTM based in the sourceMatrix.

    Methods in org.apache.fop.render.pdf with parameters of type CTM
    Modifier and Type | Method and Description
    --- | ---
    `static double[]` | CTMHelper.`toPDFArray(CTM sourceMatrix)` Creates an array of six doubles from the source CTM.
    `static CTM` | CTMHelper.`toPDFCTM(CTM sourceMatrix)` Creates a new CTM based in the sourceMatrix.
    `static java.lang.String` | CTMHelper.`toPDFString(CTM sourceMatrix)` Converts the sourceMatrix to a string for use in the PDFRenderer cm operations.

  - ### Uses of CTM in org.apache.fop.render.txt

    Methods in org.apache.fop.render.txt that return CTM
    Modifier and Type | Method and Description
    --- | ---
    `CTM` | TXTState.`getResultCTM()`
    `CTM` | TXTState.`refineCTM(CTM ctm)` Modifies coordinate transformation matrix in such a way, so x-shift and y-shift will be transformed in text positions.

    Methods in org.apache.fop.render.txt with parameters of type CTM
    Modifier and Type | Method and Description
    --- | ---
    `void` | TXTState.`push(CTM ctm)` Push the current coordinate transformation matrix onto the stack and reevaluate `resultCTM`.
    `CTM` | TXTState.`refineCTM(CTM ctm)` Modifies coordinate transformation matrix in such a way, so x-shift and y-shift will be transformed in text positions.
    `protected void` | TXTRenderer.`startVParea(CTM ctm, java.awt.Rectangle clippingRect)` Establishes a new viewport area.
    `java.awt.Point` | TXTState.`transformPoint(java.awt.Point p, CTM ctm)` Transforms `point` using `ctm`.

  - ### Uses of CTM in org.apache.fop.render.xml

    Methods in org.apache.fop.render.xml with parameters of type CTM
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | XMLRenderer.`startVParea(CTM ctm, java.awt.Rectangle clippingRect)`

Copyright 1999-2021 The Apache Software Foundation. All Rights Reserved.