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.Structure
Structure defining display callback functions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Callback called when device has been closed.static interface
Callback called to allocate memory for bitmap This is provided in case you need to create memory in a special way, e.g.static interface
Callback called to free memory for bitmap.static interface
Callback called when new device has been opened.static interface
Callback called on show page.static interface
Callback called when device is about to be closed.static interface
Callback called when device is about to be resized.static interface
static interface
Callback called when device has been resized.static interface
Callback called on page flush.static interface
Callback called to notify the caller whenever a portion of the raster is updated.Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionHolds a display_close callback.Holds a display_memalloc callback.Holds a display_memfree callback.Holds a display_open callback.Holds a display_page callback.Holds a display_preclose callback.Holds a display_presize callback.Holds a display_separation callback.Holds a display_size callback.Holds a display_sync callback.Holds a display_update callback.int
Size of this structure.int
Major version of this structure.int
Minor version of this structure.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
Constructors -
Method Summary
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 Details
-
size
public int sizeSize of this structure. Used for checking if we have been handed a valid structure. -
version_major
public int version_majorMajor version of this structure. The major version number will change if this structure changes. -
version_minor
public int version_minorMinor 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
Holds a display_open callback. -
display_preclose
Holds a display_preclose callback. -
display_close
Holds a display_close callback. -
display_presize
Holds a display_presize callback. -
display_size
Holds a display_size callback. -
display_sync
Holds a display_sync callback. -
display_page
Holds a display_page callback. -
display_update
Holds a display_update callback. Set this to null if not required. -
display_memalloc
Holds a display_memalloc callback. Set this to null if not required. -
display_memfree
Holds a display_memfree callback. Set this to null if not required. -
display_separation
Holds a display_separation callback. Set this to null if not required. Ghostscript must only use this callback if version_major >= 2.
-
-
Constructor Details
-
display_callback_s
public display_callback_s()
-
-
Method Details
-
getFieldOrder
- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
-