| java.lang.Object com.sun.pisces.AbstractSurface com.sun.pisces.PiscesGCISurface
Constructor Summary | |
public | PiscesGCISurface(GCIDrawingSurface surface) Instantiates wrapper class of GCIDrawingSurface for Pisces rendering.
It acquires all needed information from surface and ensures
initialization of native pisces surface structures. |
Method Summary | |
public void | acquireSurface() Gets all neccessary information from GCIDrawingSurface.
Anytime surface changes at runtime. | public void | releaseSurface() Detaches (releases) underlying GCIDrawing surface and resets Pisces
native surface structures. |
TYPE_OF_ARRAY_JAVA_BYTE | final public static int TYPE_OF_ARRAY_JAVA_BYTE(Code) | | |
TYPE_OF_ARRAY_JAVA_INT | final public static int TYPE_OF_ARRAY_JAVA_INT(Code) | | |
TYPE_OF_ARRAY_JAVA_SHORT | final public static int TYPE_OF_ARRAY_JAVA_SHORT(Code) | | |
TYPE_OF_ARRAY_NATIVE | final public static int TYPE_OF_ARRAY_NATIVE(Code) | | Field's @typeOfArray possible values.
Corresponding #defines are used in native code. If you modify them here,
please, make relevant changes to JPiscesGCISurface.c also.
|
PiscesGCISurface | public PiscesGCISurface(GCIDrawingSurface surface)(Code) | | Instantiates wrapper class of GCIDrawingSurface for Pisces rendering.
It acquires all needed information from surface and ensures
initialization of native pisces surface structures.
Parameters: surface - See Also: GCIDrawingSurface See Also: |
acquireSurface | public void acquireSurface()(Code) | | Gets all neccessary information from GCIDrawingSurface.
Anytime surface changes at runtime. This method must be called to ensure
pisces and GCI surfaces synchronization.
|
releaseSurface | public void releaseSurface()(Code) | | Detaches (releases) underlying GCIDrawing surface and resets Pisces
native surface structures. No rendering is possible after
releaseSurface().
|
Fields inherited from com.sun.pisces.AbstractSurface | protected long nativePtr(Code)(Java Doc)
|
Methods inherited from com.sun.pisces.AbstractSurface | public SurfaceDestination createSurfaceDestination()(Code)(Java Doc) native public int getHeight()(Code)(Java Doc) native public void getRGB(int[] argb, int offset, int scanLength, int x, int y, int width, int height)(Code)(Java Doc) native public int getWidth()(Code)(Java Doc) native public void nativeFinalize()(Code)(Java Doc) native public void setRGB(int[] argb, int offset, int scanLength, int x, int y, int width, int height)(Code)(Java Doc)
|
|
|