Gsk.TextureScaleNode – gtk4 Reference Manual
Packages
gtk4
Gsk
TextureScaleNode
TextureScaleNode
get_filter
get_texture
TextureScaleNode
Object Hierarchy:
Description:
[
CCode
( cname =
"GskRenderNode"
, type_id =
"gsk_texture_scale_node_get_type ()"
) ]
[
Version
( since =
"4.10"
) ]
public
class
TextureScaleNode
:
RenderNode
Namespace:
Gsk
Package:
gtk4
Content:
Creation methods:
public
TextureScaleNode
(
Texture
texture,
Rect
bounds,
ScalingFilter
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.
Methods:
public
ScalingFilter
get_filter
()
Retrieves the `GskScalingFilter` used when creating this `GskRenderNode`.
public
unowned
Texture
get_texture
()
Retrieves the `GdkTexture` used when creating this `GskRenderNode`.
Inherited Members:
All known members inherited from class Gsk.RenderNode
@ref
deserialize
draw
get_bounds
get_children
get_node_type
get_opaque_rect
serialize
unref
write_to_file