JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.awt.AWTPrintLifecycle.Context Class Reference

Convenient AWTPrintLifecycle context simplifying calling setupPrint(..) and AWTPrintLifecycle#releasePrint() on all AWTPrintLifecycle elements of a Container. More...

Collaboration diagram for com.jogamp.nativewindow.awt.AWTPrintLifecycle.Context:

Public Member Functions

void releasePrint ()
 
int getCount ()
 

Static Public Member Functions

static Context setupPrint (final Container c, final double scaleMatX, final double scaleMatY, final int numSamples, final int tileWidth, final int tileHeight)
 

Detailed Description

Convenient AWTPrintLifecycle context simplifying calling setupPrint(..) and AWTPrintLifecycle#releasePrint() on all AWTPrintLifecycle elements of a Container.

See Usage.

Definition at line 110 of file AWTPrintLifecycle.java.

Member Function Documentation

◆ getCount()

int com.jogamp.nativewindow.awt.AWTPrintLifecycle.Context.getCount ( )
Returns
count of performed actions of last setupPrint(..) or releasePrint().

Definition at line 142 of file AWTPrintLifecycle.java.

◆ releasePrint()

void com.jogamp.nativewindow.awt.AWTPrintLifecycle.Context.releasePrint ( )

See Usage.

Definition at line 135 of file AWTPrintLifecycle.java.

Here is the caller graph for this function:

◆ setupPrint()

static Context com.jogamp.nativewindow.awt.AWTPrintLifecycle.Context.setupPrint ( final Container  c,
final double  scaleMatX,
final double  scaleMatY,
final int  numSamples,
final int  tileWidth,
final int  tileHeight 
)
static

See Usage.

Parameters
ccontainer to be traversed through to perform setupPrint(..) on all AWTPrintLifecycle elements.
scaleMatXGraphics2D scaling factor, i.e. rendering 1/scaleMatX * width pixels
scaleMatYGraphics2D scaling factor, i.e. rendering 1/scaleMatY * height pixels
numSamplesmultisampling value: < 0 turns off, == 0 leaves as-is, > 0 enables using given num samples
tileWidthcustom tile width for tile renderer, pass -1 for default.
tileHeightcustom tile height for tile renderer, pass -1 for default.
Returns
the context

Definition at line 124 of file AWTPrintLifecycle.java.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: