Class: Gsk::SubsurfaceNode
- Inherits:
-
RenderNode
- Object
- RenderNode
- Gsk::SubsurfaceNode
- Defined in:
- (unknown)
Overview
A render node that potentially diverts a part of the scene graph to a subsurface.
Class Method Summary collapse
-
.get_subsurface(node) ⇒ GObject
Gets the subsurface that was set on this node.
Instance Method Summary collapse
-
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.
-
#initialize(child, subsurface) ⇒ Gsk::SubsurfaceNode
constructor
Creates a
GskRenderNodethat will possibly divert the child node to a subsurface.
Methods inherited from RenderNode
deserialize, #draw, #get_bounds, #node_type, #ref, #serialize, #unref, #write_to_file
Constructor Details
#initialize(child, subsurface) ⇒ Gsk::SubsurfaceNode
Creates a GskRenderNode that will possibly divert the child
node to a subsurface.
Note: Since subsurfaces are currently private, these nodes cannot currently be created outside of GTK. See GtkGraphicsOffload.
Class Method Details
.get_subsurface(node) ⇒ GObject
Gets the subsurface that was set on this node
Instance Method Details
#child ⇒ Gsk::RenderNode
Gets the child node that is getting drawn by the given node.