mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-02 11:10:22 +01:00
pdf: fix typo in bbox check
http://lists.cairographics.org/archives/cairo/2013-March/024186.html
This commit is contained in:
parent
59ccc3d72e
commit
9e0748e223
1 changed files with 1 additions and 1 deletions
|
|
@ -2129,7 +2129,7 @@ _cairo_pdf_surface_add_padded_image_surface (cairo_pdf_surface_t *surfa
|
|||
h = image->height;
|
||||
if (_cairo_fixed_integer_ceil(box.p1.x) < 0 ||
|
||||
_cairo_fixed_integer_ceil(box.p1.y) < 0 ||
|
||||
_cairo_fixed_integer_floor(box.p2.y) > w ||
|
||||
_cairo_fixed_integer_floor(box.p2.x) > w ||
|
||||
_cairo_fixed_integer_floor(box.p2.y) > h)
|
||||
{
|
||||
pad_image = _cairo_image_surface_create_with_content (image->base.content,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue