/ast/src/lib/libtk/library/demos/ |
H A D | vscale.tcl | 38 set y2 [expr $height - 30] 39 if {$y2 < 21} { 40 set y2 21 42 $w coords poly 15 20 35 20 35 $y2 45 $y2 25 $height 5 $y2 15 $y2 15 20 43 $w coords line 15 20 35 20 35 $y2 45 $y2 25 $height 5 $y2 1 [all...] |
/ast/src/lib/libtk/generic/ |
H A D | tkCanvImg.c | 210 * x2, y2, ... */ 346 * The fields x1, y1, x2, and y2 are updated in the header 367 imgPtr->header.y1 = imgPtr->header.y2 = y; 416 imgPtr->header.y2 = y + height; 493 double x1, x2, y1, y2, xDiff, yDiff; 498 y2 = imgPtr->header.y2; 514 } else if (coordPtr[1] > y2) { 515 yDiff = coordPtr[1] - y2; 549 * (x1, y1, x2, y2) describin 486 double x1, x2, y1, y2, xDiff, yDiff; local [all...] |
H A D | tkRectOval.c | 26 * or oval (x1, y1, x2, y2). Item includes 27 * x1 and x2 but not y1 and y2. */ 181 itemPtr->typePtr->name, " x1 y1 x2 y2 ?options?\"", 249 * x2, y2, ... */ 427 * The fields x1, y1, x2, and y2 are updated in the header 489 rectOvalPtr->header.y2 = tmp + bloat; 522 short x1, y1, x2, y2; 533 &x2, &y2); 537 if (y2 <= y1) { 538 y2 516 short x1, y1, x2, y2; local 600 double xDiff, yDiff, x1, y1, x2, y2, inc, tmp; local 964 double y1, y2; local [all...] |
H A D | tkCanvBmap.c | 214 * x2, y2, ... */ 359 * The fields x1, y1, x2, and y2 are updated in the header 380 bmapPtr->header.y1 = bmapPtr->header.y2 = y; 430 bmapPtr->header.y2 = y + height; 486 bmapHeight = bmapPtr->header.y2 - y; 489 if ((y+height) < bmapPtr->header.y2) { 492 bmapHeight = bmapPtr->header.y2 - bmapPtr->header.y1; 543 double x1, x2, y1, y2, xDiff, yDiff; 548 y2 = bmapPtr->header.y2; 536 double x1, x2, y1, y2, xDiff, yDiff; local [all...] |
H A D | tkCanvArc.c | 24 double bbox[4]; /* Coordinates (x1, y1, x2, y2) of bounding 134 double y2, double rx, double ry, 214 itemPtr->typePtr->name, " x1 y1 x2 y2 ?options?\"", 296 * x2, y2, ... */ 505 * The fields x1, y1, x2, and y2 are updated in the header 547 arcPtr->header.y1 = arcPtr->header.y2 = arcPtr->center1[1]; 605 arcPtr->header.y2 += tmp; 638 short x1, y1, x2, y2; 649 &x2, &y2); 653 if (y2 < 632 short x1, y1, x2, y2; local 1606 double y1, y2, ang1, ang2; local [all...] |
H A D | tkCanvWind.c | 234 * x2, y2, ... */ 408 * The fields x1, y1, x2, and y2 are updated in the header 427 winItemPtr->header.y1 = winItemPtr->header.y2 = y; 494 winItemPtr->header.y2 = y + height; 546 height = winItemPtr->header.y2 - winItemPtr->header.y1; 594 double x1, x2, y1, y2, xDiff, yDiff; 599 y2 = winItemPtr->header.y2; 615 } else if (pointPtr[1] >= y2) { 616 yDiff = pointPtr[1] + 1 - y2; 587 double x1, x2, y1, y2, xDiff, yDiff; local [all...] |
H A D | tkCanvas.c | 420 int x1 = 0, y1 = 0, x2 = 0, y2 = 0; /* Initializations needed 435 || (itemPtr->y1 >= itemPtr->y2)) { 442 y2 = itemPtr->y2; 454 if (itemPtr->y2 > y2) { 455 y2 = itemPtr->y2; 461 sprintf(interp->result, "%d %d %d %d", x1, y1, x2, y2); 637 itemPtr->x1, itemPtr->y1, itemPtr->x2, itemPtr->y2); 418 int x1 = 0, y1 = 0, x2 = 0, y2 = 0; /* Initializations needed local 2449 int x1, y1, x2, y2; local 2625 int x1, y1, x2, y2; local 3084 int x1, y1, x2, y2; local [all...] |
H A D | tkCanvPs.c | 33 int x2, y2; /* x+width and y+height. */ member in struct:TkPostscriptInfo 211 psInfo.y2 = psInfo.y + psInfo.height; 320 || (itemPtr->y1 >= psInfo.y2) || (itemPtr->y2 < psInfo.y)) { 445 psInfo.x2, Tk_CanvasPsY((Tk_Canvas) canvasPtr, (double) psInfo.y2), 446 psInfo.x, Tk_CanvasPsY((Tk_Canvas) canvasPtr, (double) psInfo.y2)); 465 || (itemPtr->y1 >= psInfo.y2) || (itemPtr->y2 < psInfo.y)) { 1001 return psInfoPtr->y2 - y;
|
H A D | tkCanvText.c | 40 int x2, y2; /* Lower-left pixel that is part of text member in struct:TextLine 296 * x2, y2, ... */ 503 * The fields x1, y1, x2, and y2 are updated in the header 663 linePtr->y2 = linePtr->y + textPtr->fontPtr->descent - 1; 676 textPtr->header.y2 = topY + numLines*lineHeight; 1100 && (pointPtr[1] <= linePtr->y2)) { 1119 } else if (pointPtr[1] > linePtr->y2) { 1120 yDiff = pointPtr[1] - linePtr->y2; 1159 * (x1, y1, x2, y2) describing rectangular 1178 || (rectPtr[3] < linePtr->y1) || (rectPtr[1] > linePtr->y2)) { [all...] |
H A D | tkPlace.c | 717 double x1, y1, x2, y2; 785 y2 = y1 + (slavePtr->relHeight*masterHeight); 786 tmp = y2 + ((y2 > 0) ? 0.5 : -0.5); 711 double x1, y1, x2, y2; local
|
H A D | tkCanvPoly.c | 176 " x1 y1 x2 y2 x3 y3 ?x4 y4 ...? ?options?\"", (char *) NULL); 251 * x2, y2, ... */ 466 * The fields x1, y1, x2, and y2 are updated in the header 483 polyPtr->header.y1 = polyPtr->header.y2 = coordPtr[1]; 500 polyPtr->header.y2 += i; 527 * x1, y1, x2, y2, .... */ 756 * (x1, y1, x2, y2) describing rectangular
|
H A D | tkCanvLine.c | 233 itemPtr->typePtr->name, " x1 y1 x2 y2 ?x3 y3 ...? ?options?\"", 322 * x2, y2, ... */ 591 * The fields x1, y1, x2, and y2 are updated in the header 608 linePtr->header.y1 = linePtr->header.y2 = coordPtr[1]; 631 linePtr->header.y2 += width; 681 linePtr->header.y2 += 1;
|
H A D | tkTrig.c | 160 * order x1, y1, x2, y2. X1 must be no 161 * larger than x2, and y1 no larger than y2. */ 610 * order x1, y1, x2, y2. X1 and y1 must 680 * (x1, y1, x2, y2) defining oval's bounding 779 * x2, y2. X1 must be less than x2 and y1 780 * less than y2. */ 782 * order x1, y1, x2, y2. X1 and y1 must 916 if (tmp > itemPtr->y2) { 917 itemPtr->y2 = tmp;
|
H A D | tk.h | 579 int x1, y1, x2, y2; /* Bounding box for item, in integer 584 * and y2. */ 986 int y2)); 577 int x1, y1, x2, y2; /* Bounding box for item, in integer member in struct:Tk_Item
|
/ast/src/cmd/ksh93/tests/ |
H A D | comvario.sh | 241 read -C y2 249 [[ "${y2.myarray3[b].foo}" == "bar" ]] || err_exit "y2.myarray3[b].foo != bar" 251 [[ "$y2" != "" ]] || err_exit "y2 is empty" 253 (( ${#y2.myarray3[e].nested_cpv.myarray[@]} == 10 )) || err_exit "Expected 10 elements in y2.myarray3[e].nested_cpv, got ${#y2.myarray3[e].nested_cpv[@]}" 255 (( isnan(y2.myarray3[a_nan].my_nan) )) || err_exit "y2 [all...] |
H A D | types.sh | 50 y2=xyz 81 unset z y r s x z2 y2 www .sh.q
|