TextureNode#
- class TextureNode(*args, **kwargs)#
Superclasses: RenderNode
A render node for a GdkTexture.
Constructors#
- class TextureNode
- classmethod new(texture: Texture, bounds: Rect) TextureNode#
Creates a
GskRenderNodethat will render the giventextureinto the area given bybounds.Note that GSK applies linear filtering when textures are scaled and transformed. See
TextureScaleNodefor a way to influence filtering.- Parameters:
texture – the
GdkTexturebounds – the rectangle to render the texture into