Function

Gimpcontext_get_pattern

Declaration [src]

GimpPattern*
gimp_context_get_pattern (
  void
)

Description [src]

Get the currently active pattern.

Returns the active pattern in the current context. All clone and bucket-fill operations with patterns will use this pattern to control the application of paint to the image.

Available since:2.2

Return value

Returns: GimpPattern
 

The active pattern.

 The caller of the function takes ownership of the data, and is responsible for freeing it.