Next: Available X Symbols, Previous: X Bitmaps and Pixmaps, Up: Low-level X Interface
Copy a region of window with top-left corner
(x,y)and dimensions(width,height)to the position(dest-x,dest-y)using gc.
Create a new GC for the specified window window. Attrs is an alist mapping attributes to values. Allowed attribute names are
foreground,background,line-width,line-style,cap-style,join-style,fill-style,fill-rule,arc-mode,tile,stipple,ts-x-origin,ts-y-origin,clip-mask,clip-x-origin,clip-y-originandfunction.
Sets attributes of the X Graphical Context. Attrs is an association list of attribute names and values. Allowed attribute names are
foreground,background,line-width,line-style,cap-style,join-style,fill-style,fill-rule,arc-mode,tile,stipple,ts-x-origin,ts-y-origin,clip-mask,clip-x-origin,clip-y-originandfunction.
Create a graphics context specialized for XOR-ing onto the root window. This is used for drawing outlines for window movement.
Draw a single circular or elliptical arc in window using the graphics context gc. The center of the circle or ellipse is the center of an imaginary rectangle at
(x,y). The major and minor axes are the(width,height)of that rectangle. The arc sweeps from angle1 to angle2; positive angles are rotated counter-clockwise from zero, and negative angles are rotated clockwise from zero.
Render the image object image in window at position
(x,y). If width and height are defined the image is first scaled to these dimensions; otherwise it is drawn using its natural dimensions.
Draw a line from
(x1,y1)to(x2,y2)in window using the graphics context gc.
Draw a rectangle with its top-left corner at
(x,y)and dimensions(width,height)in window using the graphics context gc.
Draw the specified string at
(x,y)in window using the graphics context gc. If font is specified use that font.
Draw a single filled circular or elliptical arc in window using the graphics context gc. The center of the circle or ellipse is the center of an imaginary rectangle at
(x,y). The major and minor axes are the(width,height)of that rectangle. The arc sweeps from angle1 to angle2; positive angles are rotated counter-clockwise from zero, and negative angles are rotated clockwise from zero.
Draw a single filled polygon in window using the graphics context gc. Points is a list of
(x,y)pairs that defines the polygon vertices.Draw-mode is a hint to the X server on how to draw the polygon; if supplied, it should be one of the symbols
convexornon-convex. The default mode is “Convex”.
Draw a filled rectangle with its top-left corner at
(x,y)and dimensions(width,height)in window using the graphics context gc.
Set the dash style of graphics context gc to the value of pixels-list. Pixels-list is a list of cons cells
((pixels-on . pixels-off) ...)indicating runs of on and off pixels in a dash segment. If offset is given, this should be an integer indicating the number of pixels to offset the dashes.
Return the X object ID (an integer) for the back buffer associated with window. If no such back buffer exists, the function will attempt to create one.
If the function is unable to find or create a back buffer (possibly because the X server does not support them), it returns the window's own ID.