mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-24 02:44:37 +02:00
sch2fig/cairo.c (cr_init): use CAIRO_FORMAT_RGB24 instead of CAIRO_FORMAT_ARGB32
This commit is contained in:
parent
7615675485
commit
b3ffcab90c
@ -205,7 +205,7 @@ void *cr_init(const char *template, int n_vars, const char **vars)
|
|||||||
struct cairo_ctx *cc;
|
struct cairo_ctx *cc;
|
||||||
|
|
||||||
cc = alloc_type(struct cairo_ctx);
|
cc = alloc_type(struct cairo_ctx);
|
||||||
cc->s = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 2000, 1414);
|
cc->s = cairo_image_surface_create(CAIRO_FORMAT_RGB24, 2000, 1414);
|
||||||
cc->cr = cairo_create(cc->s);
|
cc->cr = cairo_create(cc->s);
|
||||||
|
|
||||||
set_color(cc->cr, COLOR_WHITE);
|
set_color(cc->cr, COLOR_WHITE);
|
||||||
|
Loading…
Reference in New Issue
Block a user