|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.pcl.PCLRenderingUtil
public class PCLRenderingUtil
Utility class for handling all sorts of peripheral tasks around PCL generation.
Method Summary | |
---|---|
static int |
determinePrintDirection(java.awt.geom.AffineTransform transform)
Determines the print direction based on the given transformation matrix. |
PCLRenderingMode |
getRenderingMode()
Returns the selected rendering mode. |
FOUserAgent |
getUserAgent()
Returns the user agent. |
boolean |
isAllTextAsBitmaps()
Indicates whether all text shall be painted as bitmaps. |
boolean |
isColorCanvasEnabled()
Indicates whether a color canvas is used when creating bitmap images. |
boolean |
isPJLDisabled()
Indicates whether PJL generation is disabled. |
void |
setAllTextAsBitmaps(boolean allTextAsBitmaps)
Controls whether all text should be generated as bitmaps or only text for which there's no native font. |
void |
setPJLDisabled(boolean disable)
Controls whether PJL commands shall be generated by the PCL renderer. |
void |
setRenderingMode(PCLRenderingMode mode)
Configures the renderer to trade speed for quality if desired. |
static java.awt.geom.Point2D |
transformedPoint(int x,
int y,
java.awt.geom.AffineTransform transform,
PCLPageDefinition pageDefinition,
int printDirection)
Returns a coordinate in PCL's coordinate system when given a coordinate in the user coordinate system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public FOUserAgent getUserAgent()
public void setRenderingMode(PCLRenderingMode mode)
mode
- one of the PCLRenderingMode
.* constantspublic PCLRenderingMode getRenderingMode()
public void setPJLDisabled(boolean disable)
disable
- true to disable PJL commandspublic boolean isPJLDisabled()
public void setAllTextAsBitmaps(boolean allTextAsBitmaps)
allTextAsBitmaps
- true if all text should be painted as bitmapspublic boolean isAllTextAsBitmaps()
public boolean isColorCanvasEnabled()
public static int determinePrintDirection(java.awt.geom.AffineTransform transform)
transform
- the transformation matrix
public static java.awt.geom.Point2D transformedPoint(int x, int y, java.awt.geom.AffineTransform transform, PCLPageDefinition pageDefinition, int printDirection)
x
- the X coordinatey
- the Y coordinatetransform
- the currently valid transformation matrixpageDefinition
- the currently valid page definitionprintDirection
- the currently valid print direction
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |