summaryrefslogtreecommitdiff
path: root/mi/mifpolycon.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-28 12:27:07 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-28 14:23:08 +0930
commit9b544fa40062b342ff3aa75f8f21d0bd4cec80ab (patch)
treec832c24f4d3d037bdaea0f69d8d9b9e93bf86fd2 /mi/mifpolycon.c
parent64677f6a167a5bee99e5dfb599a3c3a6fb5dffe7 (diff)
mi: ansify.
Diffstat (limited to 'mi/mifpolycon.c')
-rw-r--r--mi/mifpolycon.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/mi/mifpolycon.c b/mi/mifpolycon.c
index d19f031d7..4a3acfd2b 100644
--- a/mi/mifpolycon.c
+++ b/mi/mifpolycon.c
@@ -71,18 +71,20 @@ static int GetFPolyYBounds(SppPointPtr pts, int n, double yFtrans,
* interpolation involved because of the subpixel postioning.
*/
void
-miFillSppPoly(dst, pgc, count, ptsIn, xTrans, yTrans, xFtrans, yFtrans)
- DrawablePtr dst;
- GCPtr pgc;
- int count; /* number of points */
- SppPointPtr ptsIn; /* the points */
- int xTrans, yTrans; /* Translate each point by this */
- double xFtrans, yFtrans; /* translate before conversion
- by this amount. This provides
+miFillSppPoly(
+ DrawablePtr dst,
+ GCPtr pgc,
+ int count, /* number of points */
+ SppPointPtr ptsIn, /* the points */
+ int xTrans, int yTrans, /* Translate each point by this */
+ double xFtrans,
+ double yFtrans /* translate before conversion
+ by this amount. This provides
a mechanism to match rounding
errors with any shape that must
meet the polygon exactly.
*/
+ )
{
double xl = 0.0, xr = 0.0, /* x vals of left and right edges */
ml = 0.0, /* left edge slope */