RSS/Atom feed Twitter
Site is read-only, email is disabled

(no subject)

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

(no subject) 史龙 10 Sep 04:10
史龙
2013-09-10 04:10:46 UTC (about 11 years ago)

(no subject)

Hi All,

Example:

GeglNode *node1 = NULL; GeglNode *node2 = NULL;

node1 = gegl_node_new_from_xml (pXmlData, NULL);

node2 = gegl_node_new_child (node1, "operation", "gegl:convert-format", "format", "B'aG'aR'aA u8", NULL);

node3 = gegl_node_new_child (node1, "operation", "gegl:buffer-sink", "buffer", &buffer, NULL);

gegl_node_link_many (node1, node2, node2, NULL); GeglProcessor *processor = gegl_node_new_processor (node3, NULL); while (gegl_processor_work (processor, &progress)) {
if(callBack != NULL){
callBack(progress * 100); }
}

Excuse me!
How do I cancel "gegl_node_new_processor" and "gegl_processor_work" work

Thanks