Class: Gegl::Processor
- Inherits:
-
Object
- Object
- Gegl::Processor
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#buffer ⇒ Gegl::Buffer
Returns the (cache) buffer the processor is rendering into, another way of getting to the same pixel data is calling gegl_node_blit with flags indicating that we want caching and accept dirty data.
-
#chunksize ⇒ Integer
Chunksize.
- #chunksize=(chunksize) ⇒ Integer
- #level=(level) ⇒ nil
-
#node=(node) ⇒ Gegl::Node
Node.
-
#progress ⇒ Float
Progress.
- #progress=(progress) ⇒ Float
-
#rectangle ⇒ GObject
Rectangle.
- #rectangle=(rectangle) ⇒ GObject
- #scale=(scale) ⇒ nil
-
#work(progress) ⇒ Boolean
Do an iteration of work for the processor.
Instance Method Details
#buffer ⇒ Gegl::Buffer
Returns the (cache) buffer the processor is rendering into, another way of getting to the same pixel data is calling gegl_node_blit with flags indicating that we want caching and accept dirty data.
#chunksize ⇒ Integer
Returns chunksize.
#chunksize=(chunksize) ⇒ Integer
#level=(level) ⇒ nil
#node=(node) ⇒ Gegl::Node
Returns node.
#progress ⇒ Float
Returns progress.
#progress=(progress) ⇒ Float
#rectangle ⇒ GObject
Returns rectangle.
#rectangle=(rectangle) ⇒ GObject
#scale=(scale) ⇒ nil
#work(progress) ⇒ Boolean
Do an iteration of work for the processor.
Returns TRUE if there is more work to be done.
GeglProcessor *processor = gegl_node_new_processor (node, &roi); double progress;
while (gegl_processor_work (processor, &progress)) g_warning ("%f%% complete", progress); g_object_unref (processor);