Creates a new gtk.snapshot.Snapshot.
Appends a stroked border rectangle inside the given outline.
Creates a new gsk.cairo_node.CairoNode and appends it to the current render node of snapshot, without changing the current node.
Creates a new render node drawing the color into the given bounds and appends it to the current render node of snapshot.
A convenience method to fill a path with a color.
Appends an inset shadow into the box given by outline.
Appends node to the current render node of snapshot, without changing the current node.
Appends an outset shadow node around the box given by outline.
Creates a new render node drawing the texture into the given bounds and appends it to the current render node of snapshot.
A convenience method to stroke a path with a color.
Creates a new render node drawing the texture into the given bounds and appends it to the current render node of snapshot.
Removes the top element from the stack of render nodes and adds it to the nearest gsk.glshader_node.GLShaderNode below it.
Applies a perspective projection transform.
Removes the top element from the stack of render nodes, and appends it to the node underneath it.
Blends together two images with the given blend mode.
Blurs an image.
Clips an image to a rectangle.
Modifies the colors of an image by applying an affine transformation in RGB space.
Snapshots a cross-fade operation between two images with the given progress.
Fills the area given by path and fill_rule with an image and discards everything outside of it.
Push a gsk.glshader_node.GLShaderNode.
Until the first call to gtk.snapshot.Snapshot.pop, the mask image for the mask operation will be recorded.
Modifies the opacity of an image.
Creates a node that repeats the child node.
Clips an image to a rounded rectangle.
Strokes the given path with the attributes given by stroke and an image.
Creates a render node for the CSS background according to context, and appends it to the current node of snapshot, without changing the current node.
Creates a render node for the focus outline according to context, and appends it to the current node of snapshot, without changing the current node.
Creates a render node for the CSS border according to context, and appends it to the current node of snapshot, without changing the current node.
Draws a text caret using snapshot at the specified index of layout.
Creates a render node for rendering layout according to the style information in context, and appends it to the current node of snapshot, without changing the current node.
Restores snapshot to the state saved by a preceding call to gtk.snapshot.Snapshot.save and removes that state from the stack of saved states.
Rotates @snapshot's coordinate system by angle degrees in 2D space - or in 3D speak, rotates around the Z axis. The rotation happens around the origin point of (0, 0) in the snapshot's current coordinate system.
Rotates snapshot's coordinate system by angle degrees around axis.
Makes a copy of the current state of snapshot and saves it on an internal stack.
Scales snapshot's coordinate system in 2-dimensional space by the given factors.
Scales snapshot's coordinate system by the given factors.
Returns the render node that was constructed by snapshot.
Returns a paintable encapsulating the render node that was constructed by snapshot.
Transforms snapshot's coordinate system with the given transform.
Transforms snapshot's coordinate system with the given matrix.
Translates snapshot's coordinate system by point in 2-dimensional space.
Translates snapshot's coordinate system by point.
gtk.snapshot.Snapshot assists in creating gsk.render_node.RenderNodes for widgets.
It functions in a similar way to a cairo context, and maintains a stack of render nodes and their associated transformations.
The node at the top of the stack is the one that gtk_snapshot_append_…() functions operate on. Use the gtk_snapshot_push_…() functions and gtk.snapshot.Snapshot.pop to change the current node.
The typical way to obtain a gtk.snapshot.Snapshot object is as an argument to the vfunc@Gtk.Widget.snapshot vfunc. If you need to create your own gtk.snapshot.Snapshot, use gtk.snapshot.Snapshot.new_.