• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/tcl-105/tk/tk/generic/

Lines Matching refs:outline

30     Tk_Outline outline;		/* Outline structure */
40 * representing the portion of the outline
48 * outline too when style is "arc"). NULL
51 * outline too when style is "arc" and state
54 * outline too when style is "arc" and state
64 double center1[2]; /* Coordinates of center of arc outline at
66 double center2[2]; /* Coordinates of center of arc outline at
72 * outline information for various styles of arcs:
116 NULL, Tk_Offset(ArcItem, outline.activeDash),
121 NULL, Tk_Offset(ArcItem, outline.activeColor), TK_CONFIG_NULL_OK},
123 NULL, Tk_Offset(ArcItem, outline.activeStipple), TK_CONFIG_NULL_OK},
127 "0.0", Tk_Offset(ArcItem, outline.activeWidth),
130 NULL, Tk_Offset(ArcItem, outline.dash),
133 "0", Tk_Offset(ArcItem, outline.offset), TK_CONFIG_DONT_SET_DEFAULT},
135 NULL, Tk_Offset(ArcItem, outline.disabledDash),
140 NULL, Tk_Offset(ArcItem, outline.disabledColor), TK_CONFIG_NULL_OK},
142 NULL, Tk_Offset(ArcItem, outline.disabledStipple), TK_CONFIG_NULL_OK},
146 "0.0", Tk_Offset(ArcItem, outline.disabledWidth),
155 {TK_CONFIG_COLOR, "-outline", NULL, NULL,
156 "black", Tk_Offset(ArcItem, outline.color), TK_CONFIG_NULL_OK},
158 "0,0", Tk_Offset(ArcItem, outline.tsoffset),
161 NULL, Tk_Offset(ArcItem, outline.stipple), TK_CONFIG_NULL_OK},
174 "1.0", Tk_Offset(ArcItem, outline.width), TK_CONFIG_DONT_SET_DEFAULT,
291 Tk_CreateOutline(&(arcPtr->outline));
413 * such as its outline and fill colors.
459 if (arcPtr->outline.activeWidth > arcPtr->outline.width ||
460 arcPtr->outline.activeDash.number != 0 ||
461 arcPtr->outline.activeColor != NULL ||
462 arcPtr->outline.activeStipple != None ||
470 tsoffset = &arcPtr->outline.tsoffset;
495 mask = Tk_ConfigOutlineGC(&gcValues, canvas, itemPtr, &(arcPtr->outline));
503 if (arcPtr->outline.gc != None) {
504 Tk_FreeGC(Tk_Display(tkwin), arcPtr->outline.gc);
506 arcPtr->outline.gc = newGC;
605 Tk_DeleteOutline(display, &(arcPtr->outline));
664 width = arcPtr->outline.width;
673 if (arcPtr->outline.activeWidth>width) {
674 width = arcPtr->outline.activeWidth;
677 if (arcPtr->outline.disabledWidth>0) {
678 width = arcPtr->outline.disabledWidth;
755 * Lastly, expand by the width of the arc (if the arc's outline is being
759 if (arcPtr->outline.gc == None) {
807 lineWidth = arcPtr->outline.width;
811 dashnumber = arcPtr->outline.dash.number;
814 if (arcPtr->outline.activeWidth>lineWidth) {
815 lineWidth = arcPtr->outline.activeWidth;
817 if (arcPtr->outline.activeDash.number != 0) {
818 dashnumber = arcPtr->outline.activeDash.number;
824 if (arcPtr->outline.disabledWidth > 0) {
825 lineWidth = arcPtr->outline.disabledWidth;
827 if (arcPtr->outline.disabledDash.number != 0) {
828 dashnumber = arcPtr->outline.disabledDash.number;
854 * Display filled arc first (if wanted), then outline. If the extent is
893 if (arcPtr->outline.gc != None) {
894 Tk_ChangeOutlineGC(canvas, itemPtr, &(arcPtr->outline));
897 XDrawArc(display, drawable, arcPtr->outline.gc, x1, y1,
902 * If the outline width is very thin, don't use polygons to draw the
903 * linear parts of the outline (this often results in nothing being
905 * outline is dashed, because then polygons don't work.
915 XDrawLine(display, drawable, arcPtr->outline.gc,
923 XDrawLine(display, drawable, arcPtr->outline.gc,
925 XDrawLine(display, drawable, arcPtr->outline.gc,
931 display, drawable, arcPtr->outline.gc, None);
934 display, drawable, arcPtr->outline.gc, None);
937 arcPtr->outline.gc, None);
941 Tk_ResetOutlineGC(canvas, itemPtr, &(arcPtr->outline));
960 * the area occupied by the outline.
985 width = (double) arcPtr->outline.width;
987 if (arcPtr->outline.activeWidth>width) {
988 width = (double) arcPtr->outline.activeWidth;
991 if (arcPtr->outline.disabledWidth>0) {
992 width = (double) arcPtr->outline.disabledWidth;
1044 if ((arcPtr->fillGC != None) || (arcPtr->outline.gc == None)) {
1049 if (arcPtr->outline.gc == None) {
1161 width = (double) arcPtr->outline.width;
1163 if (arcPtr->outline.activeWidth>width) {
1164 width = (double) arcPtr->outline.activeWidth;
1167 if (arcPtr->outline.disabledWidth>0) {
1168 width = (double) arcPtr->outline.disabledWidth;
1172 if ((arcPtr->fillGC != None) || (arcPtr->outline.gc == None)) {
1177 if (arcPtr->outline.gc == None) {
1445 * This function creates a polygon describing everything in the outline
1473 * chord or pie-slice outline.
1541 width = arcPtr->outline.width;
1543 if (arcPtr->outline.activeWidth>arcPtr->outline.width) {
1544 width = arcPtr->outline.activeWidth;
1547 if (arcPtr->outline.disabledWidth>arcPtr->outline.width) {
1548 width = arcPtr->outline.disabledWidth;
1569 * For a chord outline, generate a six-sided polygon with three points for
1874 color = arcPtr->outline.color;
1875 stipple = arcPtr->outline.stipple;
1879 if (arcPtr->outline.activeColor!=NULL) {
1880 color = arcPtr->outline.activeColor;
1882 if (arcPtr->outline.activeStipple!=None) {
1883 stipple = arcPtr->outline.activeStipple;
1892 if (arcPtr->outline.disabledColor!=NULL) {
1893 color = arcPtr->outline.disabledColor;
1895 if (arcPtr->outline.disabledStipple!=None) {
1896 stipple = arcPtr->outline.disabledStipple;
1933 if (arcPtr->outline.gc != None) {
1942 * If there's an outline for the arc, draw it.
1945 if (arcPtr->outline.gc != None) {
1953 if (Tk_CanvasPsOutline(canvas, itemPtr, &(arcPtr->outline)) != TCL_OK){