(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