Gsk.TextureNode¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gsk.TextureNode¶
- Bases:
- Abstract:
No
A render node for a
GdkTexture.- classmethod new(texture, bounds)¶
- Parameters:
texture (
Gdk.Texture) – theGdkTexturebounds (
Graphene.Rect) – the rectangle to render the texture into
- Returns:
A new
GskRenderNode- Return type:
Creates a
GskRenderNodethat will render the given texture into the area given by bounds.Note that GSK applies linear filtering when textures are scaled and transformed. See [class`Gsk`.TextureScaleNode] for a way to influence filtering.
- get_texture()¶
- Returns:
the
GdkTexture- Return type:
Retrieves the
GdkTextureused when creating thisGskRenderNode.