Searched refs:rectPtr (Results 1 - 11 of 11) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkTrig.c143 * is entirely outside the rectangle given by rectPtr. 0 is
154 TkLineToArea(end1Ptr, end2Ptr, rectPtr)
159 double rectPtr[4]; /* Points to coords for rectangle, in the
170 inside1 = (end1Ptr[0] >= rectPtr[0]) && (end1Ptr[0] <= rectPtr[2])
171 && (end1Ptr[1] >= rectPtr[1]) && (end1Ptr[1] <= rectPtr[3]);
172 inside2 = (end2Ptr[0] >= rectPtr[0]) && (end2Ptr[0] <= rectPtr[2])
173 && (end2Ptr[1] >= rectPtr[
[all...]
H A DtkRectOval.c606 RectOvalItem *rectPtr = (RectOvalItem *) itemPtr;
614 x1 = rectPtr->bbox[0];
615 y1 = rectPtr->bbox[1];
616 x2 = rectPtr->bbox[2];
617 y2 = rectPtr->bbox[3];
618 if (rectPtr->outlineGC != None) {
619 inc = rectPtr->width/2.0;
635 if ((rectPtr->fillGC != None) || (rectPtr->outlineGC == None)) {
651 xDiff -= rectPtr
599 RectOvalItem *rectPtr = (RectOvalItem *) itemPtr; local
746 RectOvalItem *rectPtr = (RectOvalItem *) itemPtr; local
[all...]
H A DtkCanvImg.c66 Tk_Item *itemPtr, double *rectPtr));
535 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely
545 ImageToArea(canvas, itemPtr, rectPtr)
548 double *rectPtr; /* Pointer to array of four coordinates
554 if ((rectPtr[2] <= imgPtr->header.x1)
555 || (rectPtr[0] >= imgPtr->header.x2)
556 || (rectPtr[3] <= imgPtr->header.y1)
557 || (rectPtr[1] >= imgPtr->header.y2)) {
560 if ((rectPtr[0] <= imgPtr->header.x1)
561 && (rectPtr[
[all...]
H A DtkCanvBmap.c67 Tk_Item *itemPtr, double *rectPtr));
585 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely
596 BitmapToArea(canvas, itemPtr, rectPtr)
599 double *rectPtr; /* Pointer to array of four coordinates
605 if ((rectPtr[2] <= bmapPtr->header.x1)
606 || (rectPtr[0] >= bmapPtr->header.x2)
607 || (rectPtr[3] <= bmapPtr->header.y1)
608 || (rectPtr[1] >= bmapPtr->header.y2)) {
611 if ((rectPtr[0] <= bmapPtr->header.x1)
612 && (rectPtr[
[all...]
H A DtkCanvWind.c93 Tk_Item *itemPtr, double *rectPtr));
636 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely
646 WinItemToArea(canvas, itemPtr, rectPtr)
649 double *rectPtr; /* Pointer to array of four coordinates
655 if ((rectPtr[2] <= winItemPtr->header.x1)
656 || (rectPtr[0] >= winItemPtr->header.x2)
657 || (rectPtr[3] <= winItemPtr->header.y1)
658 || (rectPtr[1] >= winItemPtr->header.y2)) {
661 if ((rectPtr[0] <= winItemPtr->header.x1)
662 && (rectPtr[
[all...]
H A DtkCanvPoly.c91 Tk_Item *itemPtr, double *rectPtr));
741 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely
752 PolygonToArea(canvas, itemPtr, rectPtr)
755 double *rectPtr; /* Pointer to array of four coordinates
791 result = TkPolygonToArea(coordPtr, numPoints, rectPtr);
799 (double) polyPtr->width, CapRound, JoinRound, rectPtr);
813 rect2[0] = rectPtr[0] - halfWidth;
814 rect2[1] = rectPtr[1] - halfWidth;
815 rect2[2] = rectPtr[2] + halfWidth;
816 rect2[3] = rectPtr[
[all...]
H A DtkCanvArc.c117 Tk_Item *itemPtr, double *rectPtr));
899 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely
910 ArcToArea(canvas, itemPtr, rectPtr)
913 double *rectPtr; /* Pointer to array of four coordinates
950 tRect[0] = rectPtr[0] - center[0];
951 tRect[1] = rectPtr[1] - center[1];
952 tRect[2] = rectPtr[2] - center[0];
953 tRect[3] = rectPtr[3] - center[1];
1060 rectPtr) != -1) {
1064 PIE_OUTLINE2_PTS, rectPtr) !
[all...]
H A DtkCanvText.c154 Tk_Item *itemPtr, double *rectPtr));
1145 * given by rectPtr, 0 if it overlaps, and 1 if it is entirely
1155 TextToArea(canvas, itemPtr, rectPtr)
1158 double *rectPtr; /* Pointer to array of four coordinates
1177 if ((rectPtr[2] < linePtr->x1) || (rectPtr[0] > linePtr->x2)
1178 || (rectPtr[3] < linePtr->y1) || (rectPtr[1] > linePtr->y2)) {
1185 if ((linePtr->x1 < rectPtr[0]) || (linePtr->x2 > rectPtr[
[all...]
H A DtkInt.h642 int numPoints, double *rectPtr));
760 double end2Ptr[2], double rectPtr[4]));
777 double *rectPtr));
784 int numPoints, double *rectPtr));
821 int joinStyle, double *rectPtr));
H A DtkCanvLine.c97 Tk_Item *itemPtr, double *rectPtr));
1016 LineToArea(canvas, itemPtr, rectPtr)
1019 double *rectPtr;
1053 rectPtr);
1065 rectPtr) != result) {
1072 rectPtr) != result) {
H A Dtk.h619 Tk_Item *itemPtr, double *rectPtr));

Completed in 38 milliseconds