Node
Object Hierarchy:
Gegl.Node
Gegl.Node
Gegl.Node
GLib.Object
GLib.Object
GLib.Object->Gegl.Node
Description:
[ CCode ( type_id = "gegl_node_get_type ()" ) ]public class Node : Object
Content:
Properties:
Creation methods:
public Node ()
Create a new graph that can contain further processing nodes.
public Node.from_file (string path)
The Node returned contains the graph
described by the tree of stacks in the XML document.
public Node.from_serialized (string chaindata, string path_root)
public Node.from_xml (string xmldata, string path_root)
The Node returned contains the graph
described by the tree of stacks in the XML document.
Methods:
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_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)
Synthetic sugar for linking the "output" pad of
this to the "input" pad of sink
.
public void link_many (...)
Synthetic sugar for linking a chain of nodes with "input"->
"output".
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_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.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref