Class

GskBlendNode

Description [src]

final class Gsk.BlendNode : GObject.TypeInstance {
  /* No available fields */
}

A render node applying a blending function between its two child nodes.

Hierarchy

hierarchy this GskBlendNode ancestor_0 GskRenderNode ancestor_0--this

Ancestors

Constructors

gsk_blend_node_new

Creates a GskRenderNode that will use blend_mode to blend the top node onto the bottom node.

Instance methods

gsk_blend_node_get_blend_mode

Retrieves the blend mode used by node.

gsk_blend_node_get_bottom_child

Retrieves the bottom GskRenderNode child of the node.

gsk_blend_node_get_top_child

Retrieves the top GskRenderNode child of the node.

Methods inherited from GskRenderNode (7)
gsk_render_node_draw

Draw the contents of node to the given cairo context.

gsk_render_node_get_bounds

Retrieves the boundaries of the node.

gsk_render_node_get_node_type

Returns the type of the node.

gsk_render_node_ref

Acquires a reference on the given GskRenderNode.

gsk_render_node_serialize

Serializes the node for later deserialization via gsk_render_node_deserialize(). No guarantees are made about the format used other than that the same version of GTK will be able to deserialize the result of a call to gsk_render_node_serialize() and gsk_render_node_deserialize() will correctly reject files it cannot open that were created with previous versions of GTK.

gsk_render_node_unref

Releases a reference on the given GskRenderNode.

gsk_render_node_write_to_file

This function is equivalent to calling gsk_render_node_serialize() followed by g_file_set_contents().