Searched refs:numPoints (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkCanvPoly.c24 int numPoints; /* Number of points in polygon (always >= 3). member in struct:PolygonItem
185 polyPtr->numPoints = 0;
255 int i, numPoints;
258 for (i = 0; i < 2*polyPtr->numPoints; i++) {
273 numPoints = argc/2;
274 if (polyPtr->pointsAllocated <= numPoints) {
286 polyPtr->pointsAllocated = numPoints+1;
294 polyPtr->numPoints = numPoints;
302 polyPtr->numPoints
253 int i, numPoints; local
620 int numPoints; local
686 int numPoints; local
753 int numPoints, result; local
[all...]
H A DtkCanvLine.c26 int numPoints; /* Number of points in line (always >= 2). */ member in struct:LineItem
245 linePtr->numPoints = 0;
326 int i, numPoints;
332 numCoords = 2*linePtr->numPoints;
359 numPoints = argc/2;
360 if (linePtr->numPoints != numPoints) {
366 linePtr->numPoints = numPoints;
501 i = 2*(linePtr->numPoints
324 int i, numPoints; local
712 int i, numPoints; local
816 int numPoints, count; local
1016 int numPoints, result; local
1502 int numPoints; local
[all...]
H A DtkTrig.c295 TkThickPolyLineToArea(coordPtr, numPoints, width, capStyle, joinStyle, rectPtr)
298 int numPoints; /* Total number of points at *coordPtr. */
334 for (count = numPoints; count >= 2; count--, coordPtr += 2) {
342 if (((capStyle == CapRound) && (count == numPoints))
343 || ((joinStyle == JoinRound) && (count != numPoints))) {
359 if (count == numPoints) {
435 * and numPoints. Otherwise the return value is the
445 TkPolygonToPoint(polyPtr, numPoints, pointPtr)
449 int numPoints; /* Total number of points at *polyPtr. */
473 for (count = numPoints, pPt
[all...]
H A Dtk3d.c736 * of the trajectory given by pointPtr and numPoints (or
744 Tk_Draw3DPolygon(tkwin, drawable, border, pointPtr, numPoints,
752 int numPoints; /* Number of points at *pointPtr. */
781 Tk_Draw3DPolygon(tkwin, drawable, border, pointPtr, numPoints,
784 Tk_Draw3DPolygon(tkwin, drawable, border, pointPtr, numPoints,
795 p1Ptr = &pointPtr[numPoints-1];
798 numPoints--;
842 for (i = -2, p1Ptr = &pointPtr[numPoints-2], p2Ptr = p1Ptr+1;
843 i < numPoints; i++, p1Ptr = p2Ptr, p2Ptr++) {
844 if ((i == -1) || (i == numPoints
998 pointPtr, numPoints, Complex, CoordModeOrigin); local
[all...]
H A DtkInt.h642 int numPoints, double *rectPtr));
704 double *coordPtr, int numPoints, Display *display,
764 double *pointPtr, int numPoints, int numSteps,
768 int numPoints));
784 int numPoints, double *rectPtr));
786 int numPoints, double *pointPtr));
820 int numPoints, double width, int capStyle,
H A DtkCanvArc.c925 int numPoints, filled;
972 numPoints = 0;
979 numPoints = 2;
985 numPoints++;
996 numPoints++;
1006 numPoints++;
1016 numPoints++;
1026 numPoints++;
1037 for (pointPtr = points+2; numPoints > 1; pointPtr += 2, numPoints
917 int numPoints, filled; local
[all...]
H A DtkCanvPs.c1023 Tk_CanvasPsPath(interp, canvas, coordPtr, numPoints)
1029 * 2*numPoints coordinates giving
1031 int numPoints; /* Number of points at *coordPtr. */
1042 for (numPoints--, coordPtr += 2; numPoints > 0;
1043 numPoints--, coordPtr += 2) {
H A Dtk.h999 Tk_Canvas canvas, double *coordPtr, int numPoints));
1094 XPoint *pointPtr, int numPoints, int borderWidth,
1104 XPoint *pointPtr, int numPoints, int borderWidth,

Completed in 34 milliseconds