diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2010-07-31 16:44:22 +0000 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2010-07-31 16:44:22 +0000 |
commit | 1504778a47c8cd588619e45ef99ec0396d421d65 (patch) | |
tree | dc113b2318a3ae3375ec85c91e2aaa654152cbc6 /fitz/res_path.c | |
parent | f61ef818906a381075c3cafca1f42c4a39cea2c8 (diff) | |
download | mupdf-1504778a47c8cd588619e45ef99ec0396d421d65.tar.xz |
Include all three bezier controlpoints when bounding curves in a path.
Diffstat (limited to 'fitz/res_path.c')
-rw-r--r-- | fitz/res_path.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fitz/res_path.c b/fitz/res_path.c index b7129bcc..0fc1882e 100644 --- a/fitz/res_path.c +++ b/fitz/res_path.c @@ -143,6 +143,9 @@ fz_boundpath(fz_path *path, fz_strokestate *stroke, fz_matrix ctm) p.x = path->els[i++].v; p.y = path->els[i++].v; r = boundexpand(r, fz_transformpoint(ctm, p)); + p.x = path->els[i++].v; + p.y = path->els[i++].v; + r = boundexpand(r, fz_transformpoint(ctm, p)); break; case FZ_MOVETO: case FZ_LINETO: |