Package org.gnome.gdk
Class Paintable.PaintableInterface
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInterface
org.gnome.gdk.Paintable.PaintableInterface
- All Implemented Interfaces:
Proxy
- Enclosing interface:
Paintable
The list of functions that can be implemented for the
GdkPaintable
interface.
Note that apart from the Paintable.snapshot(org.gnome.gdk.Snapshot, double, double) function,
no virtual function of this interface is mandatory to implement, though it
is a good idea to implement Paintable.getCurrentImage()
for non-static paintables and Paintable.getFlags() if the
image is not dynamic as the default implementation returns no flags and
that will make the implementation likely quite slow.
-
Constructor Summary
ConstructorsConstructorDescriptionPaintableInterface(MemorySegment address) Create a PaintableInterface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.voidoverrideGetCurrentImage(Arena arena, @Nullable Method method) Override virtual methodget_current_image.voidoverrideGetFlags(Arena arena, @Nullable Method method) Override virtual methodget_flags.voidoverrideGetIntrinsicAspectRatio(Arena arena, @Nullable Method method) Override virtual methodget_intrinsic_aspect_ratio.voidoverrideGetIntrinsicHeight(Arena arena, @Nullable Method method) Override virtual methodget_intrinsic_height.voidoverrideGetIntrinsicWidth(Arena arena, @Nullable Method method) Override virtual methodget_intrinsic_width.voidoverrideSnapshot(Arena arena, @Nullable Method method) Override virtual methodsnapshot.Methods inherited from class org.gnome.gobject.TypeInterface
addPrerequisite, getPlugin, instantiatablePrerequisite, peek, peekParent, prerequisites, readGInstanceType, readGType, writeGInstanceType, writeGTypeMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
PaintableInterface
Create a PaintableInterface proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideSnapshot
-
overrideGetCurrentImage
-
overrideGetFlags
-
overrideGetIntrinsicWidth
-
overrideGetIntrinsicHeight
-
overrideGetIntrinsicAspectRatio
-