Lines Matching refs:valueKey
100 ValueKey valueKey;
112 * Must zero valueKey at start to clear out pad bytes that may be
116 memset((VOID *) &valueKey, 0, sizeof(valueKey));
124 valueKey.values.function = valuePtr->function;
126 valueKey.values.function = GXcopy;
129 valueKey.values.plane_mask = valuePtr->plane_mask;
131 valueKey.values.plane_mask = (unsigned) ~0;
134 valueKey.values.foreground = valuePtr->foreground;
136 valueKey.values.foreground = 0;
139 valueKey.values.background = valuePtr->background;
141 valueKey.values.background = 1;
144 valueKey.values.line_width = valuePtr->line_width;
146 valueKey.values.line_width = 0;
149 valueKey.values.line_style = valuePtr->line_style;
151 valueKey.values.line_style = LineSolid;
154 valueKey.values.cap_style = valuePtr->cap_style;
156 valueKey.values.cap_style = CapButt;
159 valueKey.values.join_style = valuePtr->join_style;
161 valueKey.values.join_style = JoinMiter;
164 valueKey.values.fill_style = valuePtr->fill_style;
166 valueKey.values.fill_style = FillSolid;
169 valueKey.values.fill_rule = valuePtr->fill_rule;
171 valueKey.values.fill_rule = EvenOddRule;
174 valueKey.values.arc_mode = valuePtr->arc_mode;
176 valueKey.values.arc_mode = ArcPieSlice;
179 valueKey.values.tile = valuePtr->tile;
181 valueKey.values.tile = None;
184 valueKey.values.stipple = valuePtr->stipple;
186 valueKey.values.stipple = None;
189 valueKey.values.ts_x_origin = valuePtr->ts_x_origin;
191 valueKey.values.ts_x_origin = 0;
194 valueKey.values.ts_y_origin = valuePtr->ts_y_origin;
196 valueKey.values.ts_y_origin = 0;
199 valueKey.values.font = valuePtr->font;
201 valueKey.values.font = None;
204 valueKey.values.subwindow_mode = valuePtr->subwindow_mode;
206 valueKey.values.subwindow_mode = ClipByChildren;
209 valueKey.values.graphics_exposures = valuePtr->graphics_exposures;
211 valueKey.values.graphics_exposures = True;
214 valueKey.values.clip_x_origin = valuePtr->clip_x_origin;
216 valueKey.values.clip_x_origin = 0;
219 valueKey.values.clip_y_origin = valuePtr->clip_y_origin;
221 valueKey.values.clip_y_origin = 0;
224 valueKey.values.clip_mask = valuePtr->clip_mask;
226 valueKey.values.clip_mask = None;
229 valueKey.values.dash_offset = valuePtr->dash_offset;
231 valueKey.values.dash_offset = 0;
234 valueKey.values.dashes = valuePtr->dashes;
236 valueKey.values.dashes = 4;
238 valueKey.display = Tk_Display(tkwin);
239 valueKey.screenNum = Tk_ScreenNumber(tkwin);
240 valueKey.depth = Tk_Depth(tkwin);
241 valueHashPtr = Tcl_CreateHashEntry(&valueTable, (char *) &valueKey, &new);
264 } else if (valueKey.depth ==
265 DefaultDepth(valueKey.display, valueKey.screenNum)) {
266 d = RootWindow(valueKey.display, valueKey.screenNum);
268 d = Tk_GetPixmap(valueKey.display,
269 RootWindow(valueKey.display, valueKey.screenNum),
270 1, 1, valueKey.depth);
274 gcPtr->gc = XCreateGC(valueKey.display, d, valueMask, &valueKey.values);
275 gcPtr->display = valueKey.display;
278 idKey.display = valueKey.display;
287 Tk_FreePixmap(valueKey.display, freeDrawable);