diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-02-23 16:21:28 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-02-23 17:26:43 -0500 |
commit | 7185c00e15aecf14d1957ba2e4f386ecb4e2a635 (patch) | |
tree | 3b11eb56692dd64bb2b16d26166a9c99537cc952 /src/cairo-ps-surface.c | |
parent | aa3ebdbd01eb27e205b44728f9f5d9332c5ad450 (diff) |
[PS] Add note about possible need for fix.
Diffstat (limited to 'src/cairo-ps-surface.c')
-rw-r--r-- | src/cairo-ps-surface.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index dcc74bae5..b55900c48 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -1740,6 +1740,11 @@ emit_surface_pattern (cairo_ps_surface_t *surface, */ switch (pattern->base.extend) { case CAIRO_EXTEND_NONE: + /* XXX We may need to update this to something like the code + * that is in PDF. The point is, xstep/ystep are in pattern + * space, not device space, so surface->width/height do not + * make much sense. But most of the time patterns scale up, + * not down, so this is less of a problem. */ xstep = MAX (image->width, surface->width); ystep = MAX (image->height, surface->height); break; |