• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/tcl-105/tk84/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
63 double center1[2]; /* Coordinates of center of arc outline at
65 double center2[2]; /* Coordinates of center of arc outline at
71 * display outline information for various styles of arcs:
118 (char *) NULL, Tk_Offset(ArcItem, outline.activeDash),
124 (char *) NULL, Tk_Offset(ArcItem, outline.activeColor),
127 (char *) NULL, Tk_Offset(ArcItem, outline.activeStipple),
133 "0.0", Tk_Offset(ArcItem, outline.activeWidth),
136 (char *) NULL, Tk_Offset(ArcItem, outline.dash),
139 "0", Tk_Offset(ArcItem, outline.offset), TK_CONFIG_DONT_SET_DEFAULT},
141 (char *) NULL, Tk_Offset(ArcItem, outline.disabledDash),
147 (char *) NULL, Tk_Offset(ArcItem, outline.disabledColor),
150 (char *) NULL, Tk_Offset(ArcItem, outline.disabledStipple),
156 "0.0", Tk_Offset(ArcItem, outline.disabledWidth),
165 {TK_CONFIG_COLOR, "-outline", (char *) NULL, (char *) NULL,
166 "black", Tk_Offset(ArcItem, outline.color), TK_CONFIG_NULL_OK},
168 "0,0", Tk_Offset(ArcItem, outline.tsoffset),
171 (char *) NULL, Tk_Offset(ArcItem, outline.stipple),
186 "1.0", Tk_Offset(ArcItem, outline.width), TK_CONFIG_DONT_SET_DEFAULT,
310 Tk_CreateOutline(&(arcPtr->outline));
432 * of a arc item, such as its outline and fill colors.
478 if (arcPtr->outline.activeWidth > arcPtr->outline.width ||
479 arcPtr->outline.activeDash.number != 0 ||
480 arcPtr->outline.activeColor != NULL ||
481 arcPtr->outline.activeStipple != None ||
489 tsoffset = &arcPtr->outline.tsoffset;
515 &(arcPtr->outline));
523 if (arcPtr->outline.gc != None) {
524 Tk_FreeGC(Tk_Display(tkwin), arcPtr->outline.gc);
526 arcPtr->outline.gc = newGC;
626 Tk_DeleteOutline(display, &(arcPtr->outline));
687 width = arcPtr->outline.width;
696 if (arcPtr->outline.activeWidth>width) {
697 width = arcPtr->outline.activeWidth;
700 if (arcPtr->outline.disabledWidth>0) {
701 width = arcPtr->outline.disabledWidth;
778 * Lastly, expand by the width of the arc (if the arc's outline is
782 if (arcPtr->outline.gc == None) {
832 lineWidth = arcPtr->outline.width;
836 dashnumber = arcPtr->outline.dash.number;
839 if (arcPtr->outline.activeWidth>lineWidth) {
840 lineWidth = arcPtr->outline.activeWidth;
842 if (arcPtr->outline.activeDash.number != 0) {
843 dashnumber = arcPtr->outline.activeDash.number;
849 if (arcPtr->outline.disabledWidth > 0) {
850 lineWidth = arcPtr->outline.disabledWidth;
852 if (arcPtr->outline.disabledDash.number != 0) {
853 dashnumber = arcPtr->outline.disabledDash.number;
879 * Display filled arc first (if wanted), then outline. If the extent
916 if (arcPtr->outline.gc != None) {
917 Tk_ChangeOutlineGC(canvas, itemPtr, &(arcPtr->outline));
920 XDrawArc(display, drawable, arcPtr->outline.gc, x1, y1,
925 * If the outline width is very thin, don't use polygons to draw
926 * the linear parts of the outline (this often results in nothing
928 * the outline is dashed, because then polygons don't work.
938 XDrawLine(display, drawable, arcPtr->outline.gc,
946 XDrawLine(display, drawable, arcPtr->outline.gc,
948 XDrawLine(display, drawable, arcPtr->outline.gc,
954 display, drawable, arcPtr->outline.gc, None);
957 display, drawable, arcPtr->outline.gc, None);
959 PIE_OUTLINE2_PTS, display, drawable, arcPtr->outline.gc,
964 Tk_ResetOutlineGC(canvas, itemPtr, &(arcPtr->outline));
984 * occupied by the outline.
1009 width = (double) arcPtr->outline.width;
1011 if (arcPtr->outline.activeWidth>width) {
1012 width = (double) arcPtr->outline.activeWidth;
1015 if (arcPtr->outline.disabledWidth>0) {
1016 width = (double) arcPtr->outline.disabledWidth;
1070 if ((arcPtr->fillGC != None) || (arcPtr->outline.gc == None)) {
1075 if (arcPtr->outline.gc == None) {
1190 width = (double) arcPtr->outline.width;
1192 if (arcPtr->outline.activeWidth>width) {
1193 width = (double) arcPtr->outline.activeWidth;
1196 if (arcPtr->outline.disabledWidth>0) {
1197 width = (double) arcPtr->outline.disabledWidth;
1201 if ((arcPtr->fillGC != None) || (arcPtr->outline.gc == None)) {
1206 if (arcPtr->outline.gc == None) {
1477 * the outline for an arc except what's in the curved part.
1506 * either a chord or pie-slice outline.
1576 width = arcPtr->outline.width;
1578 if (arcPtr->outline.activeWidth>arcPtr->outline.width) {
1579 width = arcPtr->outline.activeWidth;
1582 if (arcPtr->outline.disabledWidth>arcPtr->outline.width) {
1583 width = arcPtr->outline.disabledWidth;
1604 * For a chord outline, generate a six-sided polygon with three
1923 color = arcPtr->outline.color;
1924 stipple = arcPtr->outline.stipple;
1928 if (arcPtr->outline.activeColor!=NULL) {
1929 color = arcPtr->outline.activeColor;
1931 if (arcPtr->outline.activeStipple!=None) {
1932 stipple = arcPtr->outline.activeStipple;
1941 if (arcPtr->outline.disabledColor!=NULL) {
1942 color = arcPtr->outline.disabledColor;
1944 if (arcPtr->outline.disabledStipple!=None) {
1945 stipple = arcPtr->outline.disabledStipple;
1983 if (arcPtr->outline.gc != None) {
1992 * If there's an outline for the arc, draw it.
1995 if (arcPtr->outline.gc != None) {
2004 &(arcPtr->outline)) != TCL_OK) {