Drawable can have a graphics context (GC)
created for them, and then they can be drawn on by sending messages to
their associated GC. SWT images, and device objects such as the Display
device and the Printer device, are drawables.Important Note
This interface is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.
Device, Image, GC
| Modifier and Type | Method and Description |
|---|---|
| public void | internal_dispose_GC(long
the platform specific GC handle handle, GCData the platform specific GC data data)Invokes platform specific functionality to dispose a GC handle. |
| public long | Returns: the platform specific GC handlethe platform specific GC data data)Invokes platform specific functionality to allocate a new GC handle. |
| public default boolean | Returns: true if auto-scaling is enabled for this drawableReturns |
| internal_dispose_GC | back to summary |
|---|---|
| public void internal_dispose_GC(long handle, GCData data) Invokes platform specific functionality to dispose a GC handle. Important Note This method is not part of the public
API for
| |
| internal_new_GC | back to summary |
|---|---|
| public long internal_new_GC(GCData data) Invokes platform specific functionality to allocate a new GC handle. Important Note This method is not part of the public
API for
| |
| isAutoScalable | back to summary |
|---|---|
| public default boolean isAutoScalable() Returns
| |