summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-01-14 00:15:07 +0000
committerRobin Watts <robin.watts@artifex.com>2012-01-14 00:49:48 +0000
commit4edaee4fafa76a5ac5daf873167ba0cda8af4bc4 (patch)
tree1d49cb5a320e9a6634f347727fe240dd0c25949a /apps
parente5213366409d28029cfa137f2c19d6ab4a828c4a (diff)
downloadmupdf-4edaee4fafa76a5ac5daf873167ba0cda8af4bc4.tar.xz
Smarter path construction (avoid needless segments).
Automatically skip segments in a path that serve no purpose at construction time. * MOVE then MOVE -> the original MOVE is ignored. * LINETO the currentpoint -> ignored if previous segment was not a moveto. * CURVETO the currentpoint (with coincident coords) -> ignored if previous segment was not a moveto. * CLOSE then CLOSE -> second close ignored. It's worth noting here that in pdf a closepath leaves the current point at the point which it closes to - any new segments will begin a new subpath, but the current point is defined.
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions