Gegl.Sampler¶
Fields¶
None
Methods¶
|
|
Details¶
- class Gegl.Sampler¶
- get(x, y, scale, output, repeat_mode)¶
- Parameters:
x (
float
) – x coordinate to sampley (
float
) – y coordinate to samplescale (
Gegl.BufferMatrix2
) – matrix representing extent of sampling area in source buffer.repeat_mode (
Gegl.AbyssPolicy
) – how requests outside the buffer extent are handled. Valid values: GEGL_ABYSS_NONE (abyss pixels are zeroed), GEGL_ABYSS_WHITE (abyss pixels are white), GEGL_ABYSS_BLACK (abyss pixels are black), GEGL_ABYSS_CLAMP (coordinates are clamped to the abyss rectangle), GEGL_ABYSS_LOOP (buffer contents are tiled if outside of the abyss rectangle).
Perform a sampling with the provided self.
- get_context_rect()¶
- Returns:
The context rectangle of the given self.
- Return type: