mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 17:10:28 +01:00
Fix fill_rectangles and show_glyphs in glitz backend
This commit is contained in:
parent
59c2730b1d
commit
bd168e15ca
2 changed files with 14 additions and 5 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2005-05-11 David Reveman <davidr@novell.com>
|
||||
|
||||
* src/cairo-glitz-surface.c (_cairo_glitz_surface_fill_rectangles):
|
||||
Set fill type repeat on source surface.
|
||||
(_cairo_glitz_surface_show_glyphs): Add missing cairo operator to
|
||||
glitz operator conversion.
|
||||
|
||||
2005-05-11 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairo-xlib-surface.c src/cairo-xlib.h: Remove leftover
|
||||
|
|
|
|||
|
|
@ -937,6 +937,8 @@ _cairo_glitz_surface_fill_rectangles (void *abstract_dst,
|
|||
(cairo_color_t *) color);
|
||||
if (!src)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
||||
glitz_surface_set_fill (src->surface, GLITZ_FILL_REPEAT);
|
||||
|
||||
while (n_rects--)
|
||||
{
|
||||
|
|
@ -2003,14 +2005,14 @@ _cairo_glitz_surface_show_glyphs (cairo_scaled_font_t *scaled_font,
|
|||
goto UNLOCK;
|
||||
}
|
||||
|
||||
glitz_composite (op,
|
||||
glitz_composite (_glitz_operator (op),
|
||||
src->surface,
|
||||
clone->surface,
|
||||
clone->surface,
|
||||
dst->surface,
|
||||
src_x + attributes.base.x_offset + x1,
|
||||
src_y + attributes.base.y_offset + y1,
|
||||
0, 0,
|
||||
x1, y1,
|
||||
0, 0,
|
||||
x1, y1,
|
||||
image_entry->size.width,
|
||||
image_entry->size.height);
|
||||
|
||||
|
|
@ -2038,7 +2040,7 @@ _cairo_glitz_surface_show_glyphs (cairo_scaled_font_t *scaled_font,
|
|||
|
||||
glitz_set_array (dst->surface, 0, 4, cached_glyphs * 4, 0, 0);
|
||||
|
||||
glitz_composite (op,
|
||||
glitz_composite (_glitz_operator (op),
|
||||
src->surface,
|
||||
cache->surface,
|
||||
dst->surface,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue