Package ch.bailu.gtk.gsk
Klasse CairoNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.CairoNode
- Alle implementierten Schnittstellen:
PointerInterface
A render node for a Cairo surface.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc -
Feldübersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a `GskRenderNode` that will render a cairo surface
into the area given by @bounds.CairoNode(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerCreates a Cairo context for drawing using the surface associated
to the render node.static intstatic longstatic TypeSystem.TypeSizeRetrieves the Cairo surface used by the render node.static longstatic TypeSystem.TypeSizeVon Klasse geerbte Methoden ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, getOpaqueRect, ref, serialize, unref, writeToFile, writeToFileVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
CairoNode
-
CairoNode
Creates a `GskRenderNode` that will render a cairo surface
into the area given by @bounds.
You can draw to the cairo surface using [method@Gsk.CairoNode.get_draw_context].- Parameter:
bounds- the rectangle to render to
-
-
Methodendetails
-
getClassHandler
-
getDrawContext
Creates a Cairo context for drawing using the surface associated
to the render node.
If no surface exists yet, a surface will be created optimized for
rendering to @renderer.- Gibt zurück:
- a Cairo context used for drawing; use cairo_destroy() when done drawing
-
getSurface
Retrieves the Cairo surface used by the render node.- Gibt zurück:
- a Cairo surface
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-