/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/generic/ |
H A D | tkTrig.c | 191 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) 227 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) 228 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { 236 y += (rectPtr[2] - rectPtr[0])*m; 237 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) 238 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { 252 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) 253 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { 261 x += (rectPtr[3] - rectPtr[1])/m; 262 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) [all …]
|
H A D | tkRectOval.c | 607 x1 = rectPtr->bbox[0]; 608 y1 = rectPtr->bbox[1]; 609 x2 = rectPtr->bbox[2]; 610 y2 = rectPtr->bbox[3]; 611 if (rectPtr->outlineGC != None) { 612 inc = rectPtr->width/2.0; 628 if ((rectPtr->fillGC != None) || (rectPtr->outlineGC == None)) { 644 xDiff -= rectPtr->width; 749 halfWidth = rectPtr->width/2.0; 750 if (rectPtr->outlineGC == None) { [all …]
|
H A D | tkCanvImg.c | 66 Tk_Item *itemPtr, double *rectPtr)); 537 ImageToArea(canvas, itemPtr, rectPtr) in ImageToArea() argument 540 double *rectPtr; /* Pointer to array of four coordinates 546 if ((rectPtr[2] <= imgPtr->header.x1) 547 || (rectPtr[0] >= imgPtr->header.x2) 548 || (rectPtr[3] <= imgPtr->header.y1) 549 || (rectPtr[1] >= imgPtr->header.y2)) { 552 if ((rectPtr[0] <= imgPtr->header.x1) 553 && (rectPtr[1] <= imgPtr->header.y1) 554 && (rectPtr[2] >= imgPtr->header.x2) [all …]
|
H A D | tkCanvWind.c | 93 Tk_Item *itemPtr, double *rectPtr)); 638 WinItemToArea(canvas, itemPtr, rectPtr) in WinItemToArea() argument 641 double *rectPtr; /* Pointer to array of four coordinates 647 if ((rectPtr[2] <= winItemPtr->header.x1) 648 || (rectPtr[0] >= winItemPtr->header.x2) 649 || (rectPtr[3] <= winItemPtr->header.y1) 650 || (rectPtr[1] >= winItemPtr->header.y2)) { 653 if ((rectPtr[0] <= winItemPtr->header.x1) 654 && (rectPtr[1] <= winItemPtr->header.y1) 655 && (rectPtr[2] >= winItemPtr->header.x2) [all …]
|
/dports/shells/ksh93/ast-93u/src/lib/libtk/generic/ |
H A D | tkTrig.c | 191 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) 227 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) 228 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { 236 y += (rectPtr[2] - rectPtr[0])*m; 237 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) 238 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { 252 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) 253 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { 261 x += (rectPtr[3] - rectPtr[1])/m; 262 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) [all …]
|
H A D | tkRectOval.c | 607 x1 = rectPtr->bbox[0]; 608 y1 = rectPtr->bbox[1]; 609 x2 = rectPtr->bbox[2]; 610 y2 = rectPtr->bbox[3]; 611 if (rectPtr->outlineGC != None) { 612 inc = rectPtr->width/2.0; 628 if ((rectPtr->fillGC != None) || (rectPtr->outlineGC == None)) { 644 xDiff -= rectPtr->width; 749 halfWidth = rectPtr->width/2.0; 750 if (rectPtr->outlineGC == None) { [all …]
|
H A D | tkCanvImg.c | 66 Tk_Item *itemPtr, double *rectPtr)); 537 ImageToArea(canvas, itemPtr, rectPtr) in ImageToArea() argument 540 double *rectPtr; /* Pointer to array of four coordinates 546 if ((rectPtr[2] <= imgPtr->header.x1) 547 || (rectPtr[0] >= imgPtr->header.x2) 548 || (rectPtr[3] <= imgPtr->header.y1) 549 || (rectPtr[1] >= imgPtr->header.y2)) { 552 if ((rectPtr[0] <= imgPtr->header.x1) 553 && (rectPtr[1] <= imgPtr->header.y1) 554 && (rectPtr[2] >= imgPtr->header.x2) [all …]
|
H A D | tkCanvWind.c | 93 Tk_Item *itemPtr, double *rectPtr)); 638 WinItemToArea(canvas, itemPtr, rectPtr) in WinItemToArea() argument 641 double *rectPtr; /* Pointer to array of four coordinates 647 if ((rectPtr[2] <= winItemPtr->header.x1) 648 || (rectPtr[0] >= winItemPtr->header.x2) 649 || (rectPtr[3] <= winItemPtr->header.y1) 650 || (rectPtr[1] >= winItemPtr->header.y2)) { 653 if ((rectPtr[0] <= winItemPtr->header.x1) 654 && (rectPtr[1] <= winItemPtr->header.y1) 655 && (rectPtr[2] >= winItemPtr->header.x2) [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtk/generic/ |
H A D | tkTrig.c | 191 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) 227 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) 228 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { 236 y += (rectPtr[2] - rectPtr[0])*m; 237 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) 238 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { 252 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) 253 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { 261 x += (rectPtr[3] - rectPtr[1])/m; 262 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) [all …]
|
H A D | tkRectOval.c | 607 x1 = rectPtr->bbox[0]; 608 y1 = rectPtr->bbox[1]; 609 x2 = rectPtr->bbox[2]; 610 y2 = rectPtr->bbox[3]; 611 if (rectPtr->outlineGC != None) { 612 inc = rectPtr->width/2.0; 628 if ((rectPtr->fillGC != None) || (rectPtr->outlineGC == None)) { 644 xDiff -= rectPtr->width; 749 halfWidth = rectPtr->width/2.0; 750 if (rectPtr->outlineGC == None) { [all …]
|
H A D | tkCanvImg.c | 66 Tk_Item *itemPtr, double *rectPtr)); 537 ImageToArea(canvas, itemPtr, rectPtr) in ImageToArea() argument 540 double *rectPtr; /* Pointer to array of four coordinates 546 if ((rectPtr[2] <= imgPtr->header.x1) 547 || (rectPtr[0] >= imgPtr->header.x2) 548 || (rectPtr[3] <= imgPtr->header.y1) 549 || (rectPtr[1] >= imgPtr->header.y2)) { 552 if ((rectPtr[0] <= imgPtr->header.x1) 553 && (rectPtr[1] <= imgPtr->header.y1) 554 && (rectPtr[2] >= imgPtr->header.x2) [all …]
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/generic/ |
H A D | tkTrig.c | 192 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) 228 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) 229 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { 237 y += (rectPtr[2] - rectPtr[0])*m; 238 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) 239 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { 253 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) 254 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { 262 x += (rectPtr[3] - rectPtr[1])/m; 263 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) [all …]
|
H A D | tkRectOval.c | 864 width = rectPtr->outline.width; 870 if (rectPtr->outline.disabledWidth>0) { 880 x1 = rectPtr->bbox[0]; 881 y1 = rectPtr->bbox[1]; 882 x2 = rectPtr->bbox[2]; 883 y2 = rectPtr->bbox[3]; 884 if (rectPtr->outline.gc != None) { 901 if ((rectPtr->fillGC != None) || (rectPtr->outline.gc == None)) { 1036 width = rectPtr->outline.width; 1048 if (rectPtr->outline.gc == None) { [all …]
|
/dports/astro/tkgeomap/tkgeomap-2.11.6/tk/ |
H A D | tkTrig.c | 200 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) 236 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) 237 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { 245 y += (rectPtr[2] - rectPtr[0])*m; 246 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) 247 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { 261 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) 262 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { 270 x += (rectPtr[3] - rectPtr[1])/m; 271 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) [all …]
|
/dports/x11-toolkits/tk87/tk8.7a5/generic/ |
H A D | tkTrig.c | 183 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) in TkLineToArea() 221 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) in TkLineToArea() 222 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { in TkLineToArea() 230 y += (rectPtr[2] - rectPtr[0])*m; in TkLineToArea() 231 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) in TkLineToArea() 232 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { in TkLineToArea() 248 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) in TkLineToArea() 249 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { in TkLineToArea() 257 x += (rectPtr[3] - rectPtr[1])/m; in TkLineToArea() 258 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) in TkLineToArea() [all …]
|
H A D | tkRectOval.c | 983 width = rectPtr->outline.width; in RectToPoint() 989 if (rectPtr->outline.disabledWidth>0) { in RectToPoint() 999 x1 = rectPtr->bbox[0]; in RectToPoint() 1000 y1 = rectPtr->bbox[1]; in RectToPoint() 1001 x2 = rectPtr->bbox[2]; in RectToPoint() 1002 y2 = rectPtr->bbox[3]; in RectToPoint() 1003 if (rectPtr->outline.gc != NULL) { in RectToPoint() 1019 if ((rectPtr->fillGC != NULL) || (rectPtr->outline.gc == NULL)) { in RectToPoint() 1157 width = rectPtr->outline.width; in RectToArea() 1169 if (rectPtr->outline.gc == NULL) { in RectToArea() [all …]
|
/dports/x11-toolkits/tk86/tk8.6.12/generic/ |
H A D | tkTrig.c | 183 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) in TkLineToArea() 221 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) in TkLineToArea() 222 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { in TkLineToArea() 230 y += (rectPtr[2] - rectPtr[0])*m; in TkLineToArea() 231 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) in TkLineToArea() 232 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { in TkLineToArea() 248 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) in TkLineToArea() 249 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { in TkLineToArea() 257 x += (rectPtr[3] - rectPtr[1])/m; in TkLineToArea() 258 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) in TkLineToArea() [all …]
|
H A D | tkRectOval.c | 976 width = rectPtr->outline.width; in RectToPoint() 982 if (rectPtr->outline.disabledWidth>0) { in RectToPoint() 992 x1 = rectPtr->bbox[0]; in RectToPoint() 993 y1 = rectPtr->bbox[1]; in RectToPoint() 994 x2 = rectPtr->bbox[2]; in RectToPoint() 995 y2 = rectPtr->bbox[3]; in RectToPoint() 996 if (rectPtr->outline.gc != NULL) { in RectToPoint() 1012 if ((rectPtr->fillGC != NULL) || (rectPtr->outline.gc == NULL)) { in RectToPoint() 1152 width = rectPtr->outline.width; in RectToArea() 1164 if (rectPtr->outline.gc == NULL) { in RectToArea() [all …]
|
/dports/x11-toolkits/tk85/tk8.5.19/generic/ |
H A D | tkTrig.c | 187 if (((end1Ptr[1] >= rectPtr[1]) ^ (end2Ptr[1] >= rectPtr[1])) in TkLineToArea() 225 if ((rectPtr[0] >= low) && (rectPtr[0] <= high) in TkLineToArea() 226 && (y >= rectPtr[1]) && (y <= rectPtr[3])) { in TkLineToArea() 234 y += (rectPtr[2] - rectPtr[0])*m; in TkLineToArea() 235 if ((y >= rectPtr[1]) && (y <= rectPtr[3]) in TkLineToArea() 236 && (rectPtr[2] >= low) && (rectPtr[2] <= high)) { in TkLineToArea() 252 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) in TkLineToArea() 253 && (rectPtr[1] >= low) && (rectPtr[1] <= high)) { in TkLineToArea() 261 x += (rectPtr[3] - rectPtr[1])/m; in TkLineToArea() 262 if ((x >= rectPtr[0]) && (x <= rectPtr[2]) in TkLineToArea() [all …]
|
H A D | tkRectOval.c | 890 width = rectPtr->outline.width; in RectToPoint() 896 if (rectPtr->outline.disabledWidth>0) { in RectToPoint() 906 x1 = rectPtr->bbox[0]; in RectToPoint() 907 y1 = rectPtr->bbox[1]; in RectToPoint() 908 x2 = rectPtr->bbox[2]; in RectToPoint() 909 y2 = rectPtr->bbox[3]; in RectToPoint() 910 if (rectPtr->outline.gc != None) { in RectToPoint() 926 if ((rectPtr->fillGC != None) || (rectPtr->outline.gc == None)) { in RectToPoint() 1066 width = rectPtr->outline.width; in RectToArea() 1078 if (rectPtr->outline.gc == None) { in RectToArea() [all …]
|
/dports/x11-toolkits/blt/blt2.5/generic/ |
H A D | bltGrBar.c | 1007 left = rectPtr->x, top = rectPtr->y; 1008 right = (double)(rectPtr->x + rectPtr->width); 1542 rectPtr < endPtr; rectPtr++) { in DrawBarSegments() 1544 rectPtr->x, rectPtr->y, rectPtr->width, rectPtr->height, in DrawBarSegments() 1600 anchorPos.x = rectPtr->x + rectPtr->width; in DrawBarValues() 1799 for (endPtr = rectPtr + nRects; rectPtr < endPtr; rectPtr++) { 1805 (double)rectPtr->x, (double)rectPtr->y, 1823 (double)rectPtr->x, (double)rectPtr->y, 1829 (double)rectPtr->x, (double)rectPtr->y, 1830 (int)rectPtr->width, (int)rectPtr->height, [all …]
|
H A D | bltTile.c | 1056 XRectangle *rectPtr, *endPtr; in Blt_TileRectangles() local 1080 for (rectPtr = rectArr; rectPtr < endPtr; rectPtr++) { in Blt_TileRectangles() 1081 TileRegion(memDC, hDC, maskDC, clientPtr, (int)rectPtr->x, in Blt_TileRectangles() 1082 (int)rectPtr->y, (int)rectPtr->width, (int)rectPtr->height); in Blt_TileRectangles() 1086 for (rectPtr = rectArr; rectPtr < endPtr; rectPtr++) { in Blt_TileRectangles() 1087 TileRegion(memDC, hDC, NULL, clientPtr, (int)rectPtr->x, in Blt_TileRectangles() 1088 (int)rectPtr->y, (int)rectPtr->width, (int)rectPtr->height); in Blt_TileRectangles() 1226 XRectangle *rectPtr, *endPtr; in Blt_TileRectangles() local 1229 for (rectPtr = rectArr; rectPtr < endPtr; rectPtr++) { in Blt_TileRectangles() 1230 Blt_TileRectangle(tkwin, drawable, clientPtr, rectPtr->x, in Blt_TileRectangles() [all …]
|
H A D | bltWinDraw.c | 897 Rectangle(dc, (int)rectPtr->x, (int)rectPtr->y, in Blt_EmulateXDrawRectangles() 898 (int)(rectPtr->x + rectPtr->width + 1), in Blt_EmulateXDrawRectangles() 899 (int)(rectPtr->y + rectPtr->height + 1)); in Blt_EmulateXDrawRectangles() 1791 for (rectPtr = rectArr; rectPtr < endPtr; rectPtr++) { in Blt_EmulateXFillRectangles() 1793 bm.bmHeight, (int)rectPtr->x, (int)rectPtr->y, in Blt_EmulateXFillRectangles() 1794 (int)rectPtr->width, (int)rectPtr->height); in Blt_EmulateXFillRectangles() 1822 for (rectPtr = rectArr; rectPtr < endPtr; rectPtr++) { in Blt_EmulateXFillRectangles() 1830 BitBlt(hDC, rectPtr->x, rectPtr->y, rectPtr->width, rectPtr->height, in Blt_EmulateXFillRectangles() 1834 BitBlt(hDC, rectPtr->x, rectPtr->y, rectPtr->width, in Blt_EmulateXFillRectangles() 1852 for (rectPtr = rectArr; rectPtr < endPtr; rectPtr++) { in Blt_EmulateXFillRectangles() [all …]
|
/dports/graphics/mapserver/mapserver-7.6.4/mapscript/tcl/examples/ |
H A D | shpinfo.tcl | 30 set rectPtr [shp1 cget -bounds] 31 …jRef $rectPtr cget -minx],[mapscript::rectObjRef $rectPtr cget -miny]) ([mapscript::rectObjRef $re…
|
/dports/biology/ncbi-toolkit/ncbi/link/macmet/ |
H A D | MoreCarbonAccessors.h | 65 # define GetRegionBounds(rgnH, rectPtr) (*(rectPtr) = (*(RgnHandle)(rgnH))->rgnBBox) argument 66 # define GetPortBounds(grafPtr, rectPtr) (*(rectPtr) = (grafPtr)->portRect) argument
|