|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.graphicsio.pdf.PDFPaintDelayQueue
Delay Paint objects (gradient/texture, not color) for writing
pattern/shading/function dictionaries to the pdf file when the pageStream is complete.
TODO: - reuse pattern dictionaries if possible
- cyclic function not working yet (ps calculation)
Constructor Summary | |
PDFPaintDelayQueue(PDFWriter pdf,
PDFImageDelayQueue imageDelayQueue)
Don't forget to call setPageMatrix(). |
Method Summary | |
int |
addPatterns()
Adds all names to the dictionary which should be the value of the resources dicionrary's /Pattern entry. |
PDFName |
delayPaint(Paint paint,
AffineTransform transform,
String writeAs)
|
void |
processAll()
Creates a stream for every delayed image. |
void |
setPageMatrix(AffineTransform t)
Call this method in order to inform this class about the transformation that is necessary to map the pattern's coordinate space to the default coordinate system of the parent's content stream (in our case the flipping of the page). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDFPaintDelayQueue(PDFWriter pdf, PDFImageDelayQueue imageDelayQueue)
Method Detail |
public void setPageMatrix(AffineTransform t)
public PDFName delayPaint(Paint paint, AffineTransform transform, String writeAs)
public void processAll() throws IOException
IOException
public int addPatterns() throws IOException
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |