[gegl] buffer: add mention of buffer-filter api in gegl_buffer_get
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] buffer: add mention of buffer-filter api in gegl_buffer_get
- Date: Fri, 23 Mar 2018 14:02:04 +0000 (UTC)
commit d40dc1b2827427e5ecae278d61ed672de8fd5697
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Mar 23 15:01:28 2018 +0100
buffer: add mention of buffer-filter api in gegl_buffer_get
gegl/buffer/gegl-buffer.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer.h b/gegl/buffer/gegl-buffer.h
index b026e3e..6df6b9d 100644
--- a/gegl/buffer/gegl-buffer.h
+++ b/gegl/buffer/gegl-buffer.h
@@ -240,7 +240,11 @@ gboolean gegl_buffer_set_abyss (GeglBuffer *buffer,
* 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).
+ * GEGL_ABYSS_LOOP (buffer contents are tiled if outside of the abyss rectangle)
+ * this argument also takes a GEGL_BUFFER_FILTER value or'ed into it, allowing
+ * to specify trade-off of performance/quality, valid values are:
+ * GEGL_BUFFER_FILTER_NEAREST, GEGL_BUFFER_FILTER_BILINEAR,
+ * GEGL_BUFFER_FILTER_BOX and GEGL_BUFFER_FILTER_AUTO.
*
* Fetch a rectangular linear buffer of pixel data from the GeglBuffer, the
* data is converted to the desired BablFormat, if the BablFormat stored and
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]