Lines Matching refs:canvas
5 * used by the implementations of various canvas item types.
26 * Given a token for a canvas, this procedure returns the
27 * widget that represents the canvas.
39 Tk_CanvasTkwin(canvas)
40 Tk_Canvas canvas; /* Token for the canvas. */
42 TkCanvas *canvasPtr = (TkCanvas *) canvas;
52 * Given an (x,y) coordinate pair within a canvas, this procedure
70 Tk_CanvasDrawableCoords(canvas, x, y, drawableXPtr, drawableYPtr)
71 Tk_Canvas canvas; /* Token for the canvas. */
72 double x, y; /* Coordinates in canvas space. */
76 TkCanvas *canvasPtr = (TkCanvas *) canvas;
114 * Given an (x,y) coordinate pair within a canvas, this procedure
115 * returns the corresponding coordinates in the canvas's window.
120 * (x,y) appears in the canvas's window. These coordinates
131 Tk_CanvasWindowCoords(canvas, x, y, screenXPtr, screenYPtr)
132 Tk_Canvas canvas; /* Token for the canvas. */
133 double x, y; /* Coordinates in canvas space. */
137 TkCanvas *canvasPtr = (TkCanvas *) canvas;
175 * Given a string, returns a floating-point canvas coordinate
181 * canvas coordinate is stored at *doublePtr; otherwise
192 Tk_CanvasGetCoord(interp, canvas, string, doublePtr)
194 Tk_Canvas canvas; /* Canvas to which coordinate applies. */
199 TkCanvas *canvasPtr = (TkCanvas *) canvas;
216 * stipples previously drawn in the canvas.
228 Tk_CanvasSetStippleOrigin(canvas, gc)
229 Tk_Canvas canvas; /* Token for a canvas. */
232 * part of redisplaying the canvas. */
235 TkCanvas *canvasPtr = (TkCanvas *) canvas;
249 * a canvas widget. Items such as text items save the pointer
251 * canvas code.
255 * information for the canvas. Most of the fields should not
256 * be modified outside the generic canvas code; see the user
266 Tk_CanvasGetTextInfo(canvas)
267 Tk_Canvas canvas; /* Token for the canvas widget. */
269 return &((TkCanvas *) canvas)->textInfo;
279 * "-tags" options for canvas items.
295 Tk_Window tkwin; /* Window containing canvas widget. */
346 * option for canvas items.
364 Tk_Window tkwin; /* Window containing canvas widget. */