It derives from <GskRenderNode>.
A render node for a <GdkTexture>, with control
over scaling.
Retrieves the <GskScalingFilter> used when
creating this <GskRenderNode>.
Passed: a <GskTextureScaleNode>.
a <GskRenderNode> of type
texture-scale-node
Returned: a <GskScalingFilter>.
Retrieves the <GdkTexture> used when creating
this <GskRenderNode>.
Passed: a <GskTextureScaleNode>.
a <GskRenderNode> of type
texture-scale-node
Returned: a <GdkTexture>.
the <GdkTexture>
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.
Passed: a <GdkTexture>.
the texture to scale
Passed: a <GrapheneRect>.
the size of the texture to scale to
Passed: a <GskScalingFilter>, or one of its
symbols.
how to scale the texture
Returned: a <GskTextureScaleNode>.
A new <GskRenderNode>