TextureScaleNode
A render node for a GdkTexture
.
Since
4.10
Constructors
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.
Functions
Retrieves the GskScalingFilter
used when creating this GskRenderNode
.
Returns the type of the @node.
Gets an opaque rectangle inside the node that GTK can determine to be fully opaque.
Retrieves the GdkTexture
used when creating this GskRenderNode
.
Acquires a reference on the given GskRenderNode
.
Serializes the @node for later deserialization via gsk_render_node_deserialize(). No guarantees are made about the format used other than that the same version of GTK will be able to deserialize the result of a call to gsk_render_node_serialize() and gsk_render_node_deserialize() will correctly reject files it cannot open that were created with previous versions of GTK.
This function is equivalent to calling method@Gsk.RenderNode.serialize followed by func@GLib.file_set_contents.