Package org.ghost4j
Class GhostscriptLibrary.display_callback_s
- java.lang.Object
-
- com.sun.jna.Structure
-
- org.ghost4j.GhostscriptLibrary.display_callback_s
-
- Enclosing interface:
- GhostscriptLibrary
public static class GhostscriptLibrary.display_callback_s extends com.sun.jna.StructureStructure defining display callback functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGhostscriptLibrary.display_callback_s.display_closeCallback called when device has been closed.static interfaceGhostscriptLibrary.display_callback_s.display_memallocCallback called to allocate memory for bitmap This is provided in case you need to create memory in a special way, e.g.static interfaceGhostscriptLibrary.display_callback_s.display_memfreeCallback called to free memory for bitmap.static interfaceGhostscriptLibrary.display_callback_s.display_openCallback called when new device has been opened.static interfaceGhostscriptLibrary.display_callback_s.display_pageCallback called on show page.static interfaceGhostscriptLibrary.display_callback_s.display_precloseCallback called when device is about to be closed.static interfaceGhostscriptLibrary.display_callback_s.display_presizeCallback called when device is about to be resized.static interfaceGhostscriptLibrary.display_callback_s.display_separationstatic interfaceGhostscriptLibrary.display_callback_s.display_sizeCallback called when device has been resized.static interfaceGhostscriptLibrary.display_callback_s.display_syncCallback called on page flush.static interfaceGhostscriptLibrary.display_callback_s.display_updateCallback called to notify the caller whenever a portion of the raster is updated.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description display_callback_s()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>getFieldOrder()-
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Field Detail
-
size
public int size
Size of this structure. Used for checking if we have been handed a valid structure.
-
version_major
public int version_major
Major version of this structure. The major version number will change if this structure changes.
-
version_minor
public int version_minor
Minor version of this structure. The minor version number will change if new features are added without changes to this structure. For example, a new color format.
-
display_open
public GhostscriptLibrary.display_callback_s.display_open display_open
Holds a display_open callback.
-
display_preclose
public GhostscriptLibrary.display_callback_s.display_preclose display_preclose
Holds a display_preclose callback.
-
display_close
public GhostscriptLibrary.display_callback_s.display_close display_close
Holds a display_close callback.
-
display_presize
public GhostscriptLibrary.display_callback_s.display_presize display_presize
Holds a display_presize callback.
-
display_size
public GhostscriptLibrary.display_callback_s.display_size display_size
Holds a display_size callback.
-
display_sync
public GhostscriptLibrary.display_callback_s.display_sync display_sync
Holds a display_sync callback.
-
display_page
public GhostscriptLibrary.display_callback_s.display_page display_page
Holds a display_page callback.
-
display_update
public GhostscriptLibrary.display_callback_s.display_update display_update
Holds a display_update callback. Set this to null if not required.
-
display_memalloc
public GhostscriptLibrary.display_callback_s.display_memalloc display_memalloc
Holds a display_memalloc callback. Set this to null if not required.
-
display_memfree
public GhostscriptLibrary.display_callback_s.display_memfree display_memfree
Holds a display_memfree callback. Set this to null if not required.
-
display_separation
public GhostscriptLibrary.display_callback_s.display_separation display_separation
Holds a display_separation callback. Set this to null if not required. Ghostscript must only use this callback if version_major >= 2.
-
-