|
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.AbstractRenderingContext
org.apache.fop.render.pcl.PCLRenderingContext
public abstract class PCLRenderingContext
Rendering context for PCL production. The class is abstract and must be subclassed to provide the missing functionality.
Constructor Summary | |
---|---|
PCLRenderingContext(FOUserAgent userAgent,
PCLGenerator generator,
PCLRenderingUtil pclUtil)
Main constructor. |
Method Summary | |
---|---|
abstract org.apache.xmlgraphics.java2d.GraphicContext |
getGraphicContext()
Returns the current GraphicContext instance. |
java.lang.String |
getMimeType()
Returns the MIME type associated with the current output format. |
PCLGenerator |
getPCLGenerator()
Returns the PCL generator. |
PCLRenderingUtil |
getPCLUtil()
Returns the PCL rendering utility. |
boolean |
isSourceTransparencyEnabled()
Indicates whether source transparency should be enabled when painting bitmaps. |
void |
setSourceTransparencyEnabled(boolean value)
Enables or disables source transparency when painting bitmaps. |
abstract java.awt.geom.Point2D |
transformedPoint(int x,
int y)
Transforms a point into the PCL coordinate system. |
Methods inherited from class org.apache.fop.render.AbstractRenderingContext |
---|
getHint, getHints, getUserAgent, putHint, putHints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PCLRenderingContext(FOUserAgent userAgent, PCLGenerator generator, PCLRenderingUtil pclUtil)
userAgent
- the user agentgenerator
- the PCL generatorMethod Detail |
---|
public java.lang.String getMimeType()
public PCLGenerator getPCLGenerator()
public PCLRenderingUtil getPCLUtil()
public boolean isSourceTransparencyEnabled()
public void setSourceTransparencyEnabled(boolean value)
value
- true to enable source transparency, false to disablepublic abstract java.awt.geom.Point2D transformedPoint(int x, int y)
x
- the X coordinatey
- the Y coordinate
public abstract org.apache.xmlgraphics.java2d.GraphicContext getGraphicContext()
GraphicContext
instance.
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |