Package ch.bailu.gtk.gsk
Klasse TextureScaleNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.TextureScaleNode
- Alle implementierten Schnittstellen:
PointerInterface
A render node for a `GdkTexture`, with control over scaling.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTextureScaleNode
(Texture texture, Rect bounds, int filter) Creates a node that scales the texture to the size given by the
bounds using the filter and then places it at the bounds' position.TextureScaleNode
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
int
Retrieves the `GskScalingFilter` used when creating this `GskRenderNode`.static int
static long
static TypeSystem.TypeSize
Retrieves the `GdkTexture` used when creating this `GskRenderNode`.static long
static TypeSystem.TypeSize
Von Klasse geerbte Methoden ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, getOpaqueRect, ref, serialize, unref, writeToFile, writeToFile
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
TextureScaleNode
-
TextureScaleNode
Creates a node that scales the texture to the size given by the
bounds using the filter and then places it at the bounds' position.
Note that further scaling and other transformations which are
applied to the node will apply linear filtering to the resulting
texture, as usual.
This node is intended for tight control over scaling applied
to a texture, such as in image editors and requires the
application to be aware of the whole render tree as further
transforms may be applied that conflict with the desired effect
of this node.- Parameter:
texture
- the texture to scalebounds
- the size of the texture to scale tofilter
- how to scale the texture
-
-
Methodendetails
-
getClassHandler
-
getFilter
public int getFilter()Retrieves the `GskScalingFilter` used when creating this `GskRenderNode`.- Gibt zurück:
- the `GskScalingFilter`
-
getTexture
Retrieves the `GdkTexture` used when creating this `GskRenderNode`.- Gibt zurück:
- the `GdkTexture`
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-