mi: ansify.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user