mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 00:38:06 +02:00
Minor corrections
This commit is contained in:
parent
518ba13779
commit
3ca8a46caf
4 changed files with 3 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -36,5 +36,3 @@ stamp-h.in
|
|||
*-uninstalled.pc
|
||||
.vimrc
|
||||
gtk-doc.m4
|
||||
.kdev4/
|
||||
cairo.kdev4
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ static inline cairo_bool_t
|
|||
_cairo_box_is_pixel_aligned (const cairo_box_t *box)
|
||||
{
|
||||
#if CAIRO_FIXED_FRAC_BITS <= 8 && 0
|
||||
return ((uint32_t)(box->p1.x & CAIRO_FIXED_FRAC_MASK) << 24 |
|
||||
return ((cairo_fixed_unsigned_t)(box->p1.x & CAIRO_FIXED_FRAC_MASK) << 24 |
|
||||
(box->p1.y & CAIRO_FIXED_FRAC_MASK) << 16 |
|
||||
(box->p2.x & CAIRO_FIXED_FRAC_MASK) << 8 |
|
||||
(box->p2.y & CAIRO_FIXED_FRAC_MASK) << 0) == 0;
|
||||
|
|
|
|||
|
|
@ -891,7 +891,7 @@ composite_glyphs (void *_dst,
|
|||
for (i = 0; i < info->num_glyphs; i++) {
|
||||
unsigned long index = info->glyphs[i].index;
|
||||
const void *glyph;
|
||||
uint32_t xphase, yphase;
|
||||
unsigned long xphase, yphase;
|
||||
|
||||
xphase = PHASE(info->glyphs[i].x);
|
||||
yphase = PHASE(info->glyphs[i].y);
|
||||
|
|
|
|||
|
|
@ -1607,7 +1607,7 @@ composite_glyphs (void *surface,
|
|||
op = _render_operator (op),
|
||||
_cairo_xlib_surface_ensure_picture (dst);
|
||||
for (i = 0; i < num_glyphs; i++) {
|
||||
uint32_t xphase, yphase;
|
||||
unsigned long xphase, yphase;
|
||||
int this_x, this_y;
|
||||
int old_width;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue