mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-09 07:40:43 +01:00
[PS] Add note about possible need for fix.
This commit is contained in:
parent
aa3ebdbd01
commit
7185c00e15
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue