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.
|
Modifier and Type | Method | 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.
|
Modifier and Type | Method | 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.
|
Constructor | Description |
---|---|
CTM(CTM ctm) |
Initialize a CTM with the values of another CTM.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract void |
AbstractRenderer.startVParea(CTM ctm,
java.awt.Rectangle clippingRect) |
Establishes a new viewport area.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
IFRenderer.startVParea(CTM ctm,
java.awt.Rectangle clippingRect) |
Establishes a new viewport area.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
Java2DRenderer.startVParea(CTM ctm,
java.awt.Rectangle clippingRect) |
Establishes a new viewport area.
|
Modifier and Type | Method | Description |
---|---|---|
static CTM |
CTMHelper.toPDFCTM(CTM sourceMatrix) |
Creates a new CTM based in the sourceMatrix.
|
Modifier and Type | Method | 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.
|
Modifier and Type | Method | 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.
|
Modifier and Type | Method | 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 . |
Modifier and Type | Method | Description |
---|---|---|
protected void |
XMLRenderer.startVParea(CTM ctm,
java.awt.Rectangle clippingRect) |
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.