NAME
XDrawPoint — draw a point.
SYNOPSIS
XDrawPoint(display, drawable, gc, x, y) Display ∗display; Drawable drawable; GC gc; int x, y;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
drawableSpecifies the drawable.
gcSpecifies the graphics context.
x
ySpecify the x and y coordinates of the point, relative to the origin of the drawable.
DESCRIPTION
XDrawPoint() draws a single point into the specified drawable. XDrawPoint() uses these graphics context components: function, plane_mask, foreground, subwindow_mode, clip_x_origin, clip_y_origin, and clip_mask. Use XDrawPoints() to draw multiple points.
For more information, see Volume One, Chapter 6, Drawing Graphics and Text, and Chapter 5, The Graphics Context.
ERRORS
BadDrawable
BadGC
BadMatch
SEE ALSO
XClearArea(), XClearWindow(), XCopyArea(), XCopyPlane(), XDraw, XDrawArc(), XDrawArcs(), XDrawFilled(), XDrawLine(), XDrawLines(), XDrawPoints(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArc(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectangles().
Xlib Reference Manual