зеркало из https://github.com/mozilla/pjs.git
Bug 285475 - fix cairo calculation of stroke extents on lines with caps.
This commit is contained in:
Родитель
54f917b32e
Коммит
8fb938cf84
|
@ -17,3 +17,5 @@ PATCHES:
|
|||
quartz.diff - update cairo quartz/atsui backend for 0.4.0, reenable.
|
||||
|
||||
xlib.diff - include X11/xlib.h in cairo-xlib.h - needed for Solaris.
|
||||
|
||||
stroke-extent.diff - fix calculation of stroke extents.
|
||||
|
|
|
@ -1700,6 +1700,8 @@ _cairo_gstate_stroke_extents (cairo_gstate_t *gstate,
|
|||
cairo_status_t status;
|
||||
cairo_traps_t traps;
|
||||
cairo_box_t extents;
|
||||
|
||||
_cairo_pen_init (&gstate->pen_regular, gstate->line_width / 2.0, gstate);
|
||||
|
||||
_cairo_traps_init (&traps);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче