Node
Object Hierarchy:
Description:
Namespace: Gegl
Package: gegl-0.3
Content:
Properties:
- public bool dont_cache { get; set construct; }
- public Operation gegl_operation { owned get; set construct; }
- public string name { owned get; set construct; }
- public string operation { owned get; set construct; }
- public bool passthrough { get; set construct; }
- public bool use_opencl { get; set construct; }
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 void link (Node sink)
Synthetic sugar for linking the "output" pad of this to the "input" pad of
sink
. - 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 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 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:
- public signal void computed (Rectangle object)
- public signal void invalidated (Rectangle object)
- public signal void progress (double progress)
Inherited Members:
All known members inherited from class GLib.Object