summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-surface-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-11 14:59:58 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-11 14:59:58 +0100
commit33be73dfb76c26e3bb0ab59b2f570d00d9c7be62 (patch)
tree3278fbe136ce6f2d66fa7f904be73c1aff5b4073 /src/cairo-xlib-surface-private.h
parent6960162c5eae30e2d48992023be35e3dbf502a03 (diff)
downloadcairo-33be73dfb76c26e3bb0ab59b2f570d00d9c7be62.tar.gz
[xlib] Fix big-line.
Project lines that exceed the 16.16 limits onto the XFixedLine, as we know that top/bottom must fit within the confines of the surface and so will be less than 16 bits. Sadly this is a run-on patch that also does: 1. Make FillTiled the default for new GCs. 2. Stores extend mode as opposed to repeat, and thereby cleaning up some inconsistent code. 3. Remove the special casing for unbounded trapezoids, as it is redundant with the polygon clipping. 4. Tidy the logic for deciding when to use the core protocol (_categorize_composite_operation)
Diffstat (limited to 'src/cairo-xlib-surface-private.h')
-rw-r--r--src/cairo-xlib-surface-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-surface-private.h b/src/cairo-xlib-surface-private.h
index f82156963..92107e7f9 100644
--- a/src/cairo-xlib-surface-private.h
+++ b/src/cairo-xlib-surface-private.h
@@ -94,7 +94,7 @@ struct _cairo_xlib_surface {
XRenderPictFormat *xrender_format;
cairo_filter_t filter;
- int repeat;
+ cairo_extend_t extend;
XTransform xtransform;
uint32_t a_mask;