summaryrefslogtreecommitdiff
path: root/mi/mifillarc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/mifillarc.c')
-rw-r--r--mi/mifillarc.c57
1 files changed, 30 insertions, 27 deletions
diff --git a/mi/mifillarc.c b/mi/mifillarc.c
index 5889f1c06..a93b9e3a2 100644
--- a/mi/mifillarc.c
+++ b/mi/mifillarc.c
@@ -1,3 +1,4 @@
+/* $XFree86: xc/programs/Xserver/mi/mifillarc.c,v 3.7 2001/12/14 20:00:22 dawes Exp $ */
/************************************************************
Copyright 1989, 1998 The Open Group
@@ -137,11 +138,12 @@ miFillArcDSetup(arc, info)
}
static void
-miGetArcEdge(arc, edge, k, top, left)
- register xArc *arc;
- register miSliceEdgePtr edge;
- int k;
- Bool top, left;
+miGetArcEdge(
+ register xArc *arc,
+ register miSliceEdgePtr edge,
+ int k,
+ Bool top,
+ Bool left )
{
register int xady, y;
@@ -266,13 +268,14 @@ miEllipseAngleToSlope (angle, width, height, dxp, dyp, d_dxp, d_dyp)
}
static void
-miGetPieEdge(arc, angle, edge, top, left)
- register xArc *arc;
- register int angle;
- register miSliceEdgePtr edge;
- Bool top, left;
+miGetPieEdge(
+ register xArc *arc,
+ register int angle,
+ register miSliceEdgePtr edge,
+ Bool top,
+ Bool left )
{
- register int k, signdx, signdy;
+ register int k;
int dx, dy;
miEllipseAngleToSlope (angle, arc->width, arc->height, &dx, &dy, 0, 0);
@@ -540,10 +543,10 @@ miFillArcSliceSetup(arc, slice, pGC)
}
static void
-miFillEllipseI(pDraw, pGC, arc)
- DrawablePtr pDraw;
- GCPtr pGC;
- xArc *arc;
+miFillEllipseI(
+ DrawablePtr pDraw,
+ GCPtr pGC,
+ xArc *arc )
{
register int x, y, e;
int yk, xk, ym, xm, dx, dy, xorg, yorg;
@@ -583,10 +586,10 @@ miFillEllipseI(pDraw, pGC, arc)
}
static void
-miFillEllipseD(pDraw, pGC, arc)
- DrawablePtr pDraw;
- GCPtr pGC;
- xArc *arc;
+miFillEllipseD(
+ DrawablePtr pDraw,
+ GCPtr pGC,
+ xArc *arc )
{
register int x, y;
int xorg, yorg, dx, dy, slw;
@@ -648,10 +651,10 @@ miFillEllipseD(pDraw, pGC, arc)
}
static void
-miFillArcSliceI(pDraw, pGC, arc)
- DrawablePtr pDraw;
- GCPtr pGC;
- xArc *arc;
+miFillArcSliceI(
+ DrawablePtr pDraw,
+ GCPtr pGC,
+ xArc *arc )
{
int yk, xk, ym, xm, dx, dy, xorg, yorg, slw;
register int x, y, e;
@@ -711,10 +714,10 @@ miFillArcSliceI(pDraw, pGC, arc)
}
static void
-miFillArcSliceD(pDraw, pGC, arc)
- DrawablePtr pDraw;
- GCPtr pGC;
- xArc *arc;
+miFillArcSliceD(
+ DrawablePtr pDraw,
+ GCPtr pGC,
+ xArc *arc )
{
register int x, y;
int dx, dy, xorg, yorg, slw;