- public unowned Node add_child (Node child)
Make the GeglNode this, take a
reference on child.
- public void blit_buffer (Buffer? buffer, Rectangle? roi, int level, AbyssPolicy abyss_policy)
Render a rectangular region from a node to the given buffer.
- public bool connect (string a_pad_name, Node b, string b_pad_name)
Makes a connection between the pads of two nodes, one pad should be a
source pad the other a sink pad, order does not matter.
- public bool connect_from (string input_pad_name, Node source, string output_pad_name)
Makes a connection between the pads of two nodes.
- public bool connect_to (string output_pad_name, Node sink, string input_pad_name)
Makes a connection between the pads of two nodes.
- public unowned Node create_child (string operation)
Creates a new processing node that performs the specified operation.
- public unowned Node detect (int x, int y)
Performs hit detection by returning the node providing data at a given
coordinate pair.
- public bool disconnect (string input_pad)
Disconnects node connected to input_pad
of
this (if any).
- public unowned ParamSpec find_property (string property_name)
- public SList<unowned Node> get_children ()
- public int get_consumers (string output_pad, out Node[] nodes, out string[] pads)
Retrieve which pads on which nodes are connected to a named
output_pad, and the number of connections.
- public unowned Operation? get_gegl_operation ()
- public unowned Node get_input_proxy (string pad_name)
Proxies are used to route between nodes of a subgraph contained within
a node.
- public unowned string get_operation ()
- public unowned Node get_output_proxy (string pad_name)
Proxies are used to route between nodes of a subgraph contained within
a node.
- public unowned Node get_parent ()
Returns a GeglNode that keeps a reference on a child.
- public bool get_passthrough ()
- public unowned Node get_producer (string input_pad_name, string? output_pad_name)
- public bool has_pad (string pad_name)
Returns TRUE if the node has a pad with the specified name
- public Rectangle introspectable_get_bounding_box ()
Returns the position and dimensions of a rectangle spanning the area
defined by a node.
- public Value? introspectable_get_property (string property_name)
- public bool is_graph ()
- public void link (Node sink)
This is equivalent to gegl_node_connect (source, "output", sink,
"input");
- public void link_many (...)
Synthetic sugar for linking a chain of nodes with "output"->
"input".
- public string[] list_input_pads ()
If the node has any input pads this function returns a null terminated
array of pad names, otherwise it returns NULL.
- public string[] list_output_pads ()
If the node has any output pads this function returns a null
terminated array of pad names, otherwise it returns NULL.
- public unowned Node new_child (...)
Creates a new processing node that performs the specified operation
with a NULL terminated list of key/value pairs for initial parameter values configuring the operation.
- public Processor new_processor (Rectangle rectangle)
- public void process ()
Render a composition.
- public unowned Node remove_child (Node child)
Removes a child from a GeglNode.
- public void set_enum_as_string (string key, string value)
- public void set_passthrough (bool passthrough)
- public void set_property (string property_name, Value value)
This is mainly included for language bindings.
- public void set_time (double time)
Sets the right value in animated properties of this node and all its
dependendcies to be the specified time position.
- public string to_xml (string path_root)
Returns a freshly allocated \0 terminated string containing a XML
serialization of the composition produced by a node (and thus also the nodes contributing data to the specified node).
- public string to_xml_full (Node? tail, string path_root)
Returns a freshly allocated \0 terminated string containing a XML
serialization of a segment of a graph from this to tail
nodes.