Printable implementation using NIO DirectDataBufferInt BufferedImage for offscreen rendered printing.
More...
|
| | OffscreenPrintable (final PrinterJob job, final Container printContainer, final int printDPI, final int numSamples, final int tileWidth, final int tileHeight, final int imageType, final String pngFilename) |
| |
| int | print (final Graphics g, final PageFormat pf, final int page) throws PrinterException |
| |
| | PrintableBase (final PrinterJob job, final Container printContainer, final int printDPI, final int numSamples, final int tileWidth, final int tileHeight) |
| |
| void | waitUntilIdle () |
| | Wait for idle . More...
|
| |
Printable implementation using NIO DirectDataBufferInt BufferedImage for offscreen rendered printing.
- See also
- OnscreenPrintable
-
PrintableBase
Definition at line 57 of file OffscreenPrintable.java.
◆ OffscreenPrintable()
| com.jogamp.opengl.test.junit.jogl.tile.OffscreenPrintable.OffscreenPrintable |
( |
final PrinterJob |
job, |
|
|
final Container |
printContainer, |
|
|
final int |
printDPI, |
|
|
final int |
numSamples, |
|
|
final int |
tileWidth, |
|
|
final int |
tileHeight, |
|
|
final int |
imageType, |
|
|
final String |
pngFilename |
|
) |
| |
- Parameters
-
| job | |
| printContainer | |
| printDPI | |
| numSamples | multisampling value: < 0 turns off, == 0 leaves as-is, > 0 enables using given num samples |
| tileWidth | custom tile width for tile renderer, pass -1 for default. |
| tileHeight | custom tile height for tile renderer, pass -1 for default. |
| imageType | AWT BufferedImage type (must be one of the integer types) |
| pngFilename | TODO |
Definition at line 73 of file OffscreenPrintable.java.
◆ print()
| int com.jogamp.opengl.test.junit.jogl.tile.OffscreenPrintable.print |
( |
final Graphics |
g, |
|
|
final PageFormat |
pf, |
|
|
final int |
page |
|
) |
| throws PrinterException |
◆ imageType
| final int com.jogamp.opengl.test.junit.jogl.tile.OffscreenPrintable.imageType |
◆ pngFilename
| final String com.jogamp.opengl.test.junit.jogl.tile.OffscreenPrintable.pngFilename |
The documentation for this class was generated from the following file: