summaryrefslogtreecommitdiff
path: root/fitz/base_context.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-11-22 19:08:56 +0000
committerRobin Watts <robin.watts@artifex.com>2012-11-27 16:49:43 +0000
commit9bf73f2cd88abd305ebac405411cc3f260ff9da9 (patch)
treecc23c2139fc9f097e8cc1b761feaff3dafc3b634 /fitz/base_context.c
parent2961adbf90d5eb737bf6aceaa6bfd7ca9e1dbc97 (diff)
downloadmupdf-9bf73f2cd88abd305ebac405411cc3f260ff9da9.tar.xz
Update scan converter to cope better with rectangular paths.
Currently the scan converter advances one 'subpixel' scanline at a time; here we update it to work in multiple subpixel scanlines at a time. If we spot that the gel consists of entirely vertical edges, then we calculate the height for which those edges will remain unchanged. This allows us to deal quickly with rectangular paths. In the case of large vertical only edges, we can process multiple scanlines (not just subpixel scanlines) at once.
Diffstat (limited to 'fitz/base_context.c')
0 files changed, 0 insertions, 0 deletions