diff options
author | Bryce Harrington <b.harrington@samsung.com> | 2014-02-27 18:47:01 -0800 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-11-27 12:07:15 -0800 |
commit | 9adb3d325f8663cabccc2a36498d42bd3ab88438 (patch) | |
tree | a99f1f772db0eb88162703ae4059b9ca2fde2368 | |
parent | 85bd4554a513c2743014f4f72212587c80c03f19 (diff) |
path: Don't use fast path if there is projective transformation
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
-rw-r--r-- | src/cairo-path-fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c index 4bbf496f0..f4517a222 100644 --- a/src/cairo-path-fixed.c +++ b/src/cairo-path-fixed.c @@ -1053,7 +1053,7 @@ _cairo_path_fixed_transform (cairo_path_fixed_t *path, cairo_path_buf_t *buf; unsigned int i; - if (matrix->yx == 0.0 && matrix->xy == 0.0) { + if (matrix->yx == 0.0 && matrix->xy == 0.0 && matrix->px == 0.0 && matrix->py == 0.0) { /* Fast path for the common case of scale+transform */ _cairo_path_fixed_offset_and_scale (path, _cairo_fixed_from_double (matrix->x0), |