summaryrefslogtreecommitdiff
path: root/renderproto.txt
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2009-05-01 17:25:03 -0400
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-05-01 17:25:03 -0400
commit64f589368eb0c3070656de283b29b7b0b8ccc10b (patch)
treefce3b04cdeca271df26416459865b1503c54f085 /renderproto.txt
parent802e941e5fee14214687795f857b6dfd1e163af0 (diff)
Describe the four repeat options for pictures
Previously there was a description of three repeat options ("Transparent", "Nearest", "Normal") which did not actually exist in the implementation.
Diffstat (limited to 'renderproto.txt')
-rw-r--r--renderproto.txt17
1 files changed, 12 insertions, 5 deletions
diff --git a/renderproto.txt b/renderproto.txt
index af158b5..22a2194 100644
--- a/renderproto.txt
+++ b/renderproto.txt
@@ -349,21 +349,28 @@ alpha channel is used in the final image composition.
9. Source and Mask Transformations
-When fetching pixels from the source or mask pictures, Render provides three
+When fetching pixels from the source or mask pictures, Render provides four
options for pixel values which fall outside the drawable (this includes
-pixels within a window geometry obscured by other windows).
+pixels within a window geometry obscured by other windows).
- + Transparent. Missing values are replaced with transparent.
+ + None. Missing values are replaced with transparent.
- + Nearest. Replace missing pixels with the nearest available
+ + Pad. Replace missing pixels with the nearest available
pixel. Where multiple pixels are equidistant, select
those with smallest Y and then smallest X coordinates
- + Tile. Select the pixel which would appear were the
+ + Normal. Select the pixel which would appear were the
drawable tiled to enclose the missing coordinate. If
the tiling doesn't cover the coordinate, use the
selected Constant or Nearest mode.
+ * Reflect. Select the pixel which would appear were the
+ drawable tiled to enclose the missing coordinate in such a
+ way that tiles in even numbered columns are reflected in the Y
+ axis, and tiles in even numbered rows are reflected in the X
+ axis. Tiles that in both an even numbered row and an even
+ numbered column are reflected in both axes.
+
When GraphicsExposures are selected in the destination picture, a region
containing at least the union of all destination pixel values affected by
data replaced as above is delivered after each compositing operation. If