(no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
gegl-developer-list mailing list
gegl-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gegl-developer-list

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux