Class: Gegl::Processor

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#bufferGegl::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.

Returns:

#chunksizeInteger

Returns chunksize.

Returns:

  • (Integer)

    chunksize

#chunksize=(chunksize) ⇒ Integer

Parameters:

  • chunksize (Integer)

Returns:

  • (Integer)

    chunksize

  • (Integer)

    chunksize

#level=(level) ⇒ nil

Parameters:

  • level (Integer)

Returns:

  • (nil)

#node=(node) ⇒ Gegl::Node

Returns node.

Parameters:

Returns:

#progressFloat

Returns progress.

Returns:

  • (Float)

    progress

#progress=(progress) ⇒ Float

Parameters:

  • progress (Float)

Returns:

  • (Float)

    progress

  • (Float)

    progress

#rectangleGObject

Returns rectangle.

Returns:

  • (GObject)

    rectangle

#rectangle=(rectangle) ⇒ GObject

Parameters:

  • rectangle (GObject)

Returns:

  • (GObject)

    rectangle

  • (GObject)

    rectangle

#scale=(scale) ⇒ nil

Parameters:

  • scale (Float)

Returns:

  • (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);

Parameters:

  • progress (Float)

    a location to store the (estimated) percentage complete.

Returns:

  • (Boolean)