diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-02-15 03:53:20 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-02-15 03:53:20 +0000 |
commit | 4ae8a9ebce928dae98af531aa7083a1404974e5e (patch) | |
tree | 47e70670daab1192f66846884062c4356ec78b46 | |
parent | c613450b27660350a96224faeddca0b0f6db6f8a (diff) | |
download | netpbm-mirror-4ae8a9ebce928dae98af531aa7083a1404974e5e.tar.gz netpbm-mirror-4ae8a9ebce928dae98af531aa7083a1404974e5e.tar.xz netpbm-mirror-4ae8a9ebce928dae98af531aa7083a1404974e5e.zip |
fix typos in comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2893 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | lib/libppmd.c | 5 | ||||
-rw-r--r-- | lib/path.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/libppmd.c b/lib/libppmd.c index 262679ec..02c34015 100644 --- a/lib/libppmd.c +++ b/lib/libppmd.c @@ -981,7 +981,7 @@ typedef struct fillobj { /* The only reason we have a struct fillState separate from struct fillobj is that the drawproc interface is defined to - have drawing not modify the fillobj, i.e. it passed + have drawing not modify the fillobj, i.e. it passes const fillobj * to the drawing program. */ struct fillState * stateP; @@ -1116,14 +1116,13 @@ continueSegment(struct fillState * const stateP, - /* ppmd_fill_drawprocp() is a drawproc that turns an outline drawing function into a filled shape function. This is a somewhat off-label application of a drawproc: A drawproc is intended just to draw a point. So e.g. you might draw a circle with a fat brush by calling ppmd_circle with a drawproc that draws a point as a 10-pixel disk. - But ppmd_fill_drawproc() just draws a point the trivial way: as one pixel. + But ppmd_fill_drawprocp() just draws a point the trivial way: as one pixel. However, it tracks every point that is drawn in a form that a subsequent ppmd_fill() call can use to to fill in the shape drawn, assuming it turns out to be a closed shape. diff --git a/lib/path.c b/lib/path.c index 82fd874c..59deb0d2 100644 --- a/lib/path.c +++ b/lib/path.c @@ -58,7 +58,7 @@ /* NOTE NOTE NOTE In all the path logic below, we call the direction of increasing row - number "up" because we think of the raster as standard Cartesian + number "up" because we think of the raster as a standard Cartesian plane. So visualize the image as upside down in the first quadrant of the Cartesian plane -- the real top left corner of the image is at the origin. |