mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-01 13:50:32 +01:00
cairo-qt-surface: fix arguments of _cairo_surface_init()
This is broken since b1192beac7 (2015!)
This commit is contained in:
parent
1676935768
commit
bfa00bc3d7
1 changed files with 6 additions and 3 deletions
|
|
@ -1539,7 +1539,8 @@ cairo_qt_surface_create (QPainter *painter)
|
|||
_cairo_surface_init (&qs->base,
|
||||
&cairo_qt_surface_backend,
|
||||
NULL, /* device */
|
||||
CAIRO_CONTENT_COLOR_ALPHA);
|
||||
CAIRO_CONTENT_COLOR_ALPHA,
|
||||
FALSE); /* is_vector */
|
||||
|
||||
_cairo_surface_clipper_init (&qs->clipper,
|
||||
_cairo_qt_surface_clipper_intersect_clip_path);
|
||||
|
|
@ -1578,7 +1579,8 @@ cairo_qt_surface_create_with_qimage (cairo_format_t format,
|
|||
_cairo_surface_init (&qs->base,
|
||||
&cairo_qt_surface_backend,
|
||||
NULL, /* device */
|
||||
_cairo_content_from_format (format));
|
||||
_cairo_content_from_format (format),
|
||||
FALSE); /* is_vector */
|
||||
|
||||
_cairo_surface_clipper_init (&qs->clipper,
|
||||
_cairo_qt_surface_clipper_intersect_clip_path);
|
||||
|
|
@ -1639,7 +1641,8 @@ cairo_qt_surface_create_with_qpixmap (cairo_content_t content,
|
|||
_cairo_surface_init (&qs->base,
|
||||
&cairo_qt_surface_backend,
|
||||
NULL, /* device */
|
||||
content);
|
||||
content,
|
||||
FALSE); /* is_vector */
|
||||
|
||||
_cairo_surface_clipper_init (&qs->clipper,
|
||||
_cairo_qt_surface_clipper_intersect_clip_path);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue