~ubuntu-branches/ubuntu/precise/cairo/precise-proposed

« back to all changes in this revision

Viewing changes to src/cairo-path-bounds.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-01-03 16:47:46 UTC
  • mfrom: (28.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110103164746-2arbsh0o4defgd8u
Tags: 1.10.2-1ubuntu1
* Resynchronize on Debian, the remaining delta for ubuntu is:
* debian/patches/server_side_gradients.patch:
  - don't use server side gradients, most drivers don't handle those and are
    really slow, should workaround performances issues for ati and nouveau
* debian/patches/cairo-lp-680628.patch: 
  - git backport to fix pdf printing speed issues (LP #680628).
* debian/libcairo2.symbols:
  Fix build failure with -flto (adding optional symbol).

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
    else
132
132
    {
133
133
        /* All control points are within the current extents. */
 
134
        bounder->current_point = *d;
 
135
 
134
136
        return CAIRO_STATUS_SUCCESS;
135
137
    }
136
138
}
331
333
 
332
334
    if (! path->has_curve_to) {
333
335
        *box = path->extents;
334
 
        return path->extents.p1.x < path->extents.p2.x;
 
336
        /* empty extents should still have an origin and should not
 
337
         * be {0, 0, 0, 0} */
 
338
        return path->extents.p1.x <= path->extents.p2.x;
335
339
    }
336
340
 
337
341
    _cairo_path_bounder_init (&bounder);