mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 04:28:03 +02:00
src/cairo-win32-font.c
src/cairo-win32-surface.c Use surface->base.status instead of just surface on cairo_win32_surface_t *s
This commit is contained in:
parent
cff61fbf0d
commit
fe44b2406d
3 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2005-07-28 Stuart Parmenter <pavlov@pavlov.net>
|
||||
|
||||
* src/cairo-win32-font.c
|
||||
* src/cairo-win32-surface.c
|
||||
Use surface->base.status instead of just surface on
|
||||
cairo_win32_surface_t *s
|
||||
|
||||
2005-07-28 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Disable PS surface build if no freetype.
|
||||
|
|
|
|||
|
|
@ -1009,7 +1009,7 @@ _compute_a8_mask (cairo_win32_surface_t *mask_surface)
|
|||
|
||||
image8 = (cairo_image_surface_t *)cairo_image_surface_create (CAIRO_FORMAT_A8,
|
||||
image24->width, image24->height);
|
||||
if (image8->status)
|
||||
if (image8->base.status)
|
||||
return NULL;
|
||||
|
||||
for (i = 0; i < image24->height; i++) {
|
||||
|
|
@ -1082,7 +1082,7 @@ _cairo_win32_scaled_font_show_glyphs (void *abstract_font,
|
|||
RECT r;
|
||||
|
||||
tmp_surface = (cairo_win32_surface_t *)_cairo_win32_surface_create_dib (CAIRO_FORMAT_ARGB32, width, height);
|
||||
if (tmp_surface->status)
|
||||
if (tmp_surface->base.status)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
||||
r.left = 0;
|
||||
|
|
|
|||
|
|
@ -370,7 +370,7 @@ _cairo_win32_surface_get_subimage (cairo_win32_surface_t *surface,
|
|||
content,
|
||||
width,
|
||||
height);
|
||||
if (local->status)
|
||||
if (local->base.status)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
||||
if (!BitBlt (local->dc,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue