Constructor
GskTextureNodenew
Declaration [src]
GskRenderNode*
gsk_texture_node_new (
GdkTexture* texture,
const graphene_rect_t* bounds
)
Description [src]
Creates a GskRenderNode that will render the given
texture into the area given by bounds.
Parameters
texture-
Type:
GdkTextureThe
GdkTextureThe data is owned by the caller of the function. bounds-
Type:
graphene_rect_tThe rectangle to render the texture into.
The data is owned by the caller of the function.
Return value
Type: GskTextureNode
A new GskRenderNode
| The caller of the function takes ownership of the data, and is responsible for freeing it. |