XdDrawLine(3X) — Kubota Pacfic Computer Inc. (X Direct Graphics)
NAME
XdDrawLine, XdDrawLineRGB, XdDrawLineList, XdDrawLineRGBList − line drawing functions
SYNOPSIS
XdDrawLine −draw a single line in the current base color
XdDrawLineRGB − draw a single line using specified vertex colors
XdDrawLineList − draw a list of lines in the current base color
XdDrawLineRGBList − draw a list of lines in specified vertex colors
XdDrawLine(wh, points)
WindowHandle ∗wh;
XdPoint ∗points;
XdDrawLineRGB(wh, points, colors)
WindowHandle ∗wh;
XdPoint ∗points;
XdColor ∗colors;
XdDrawLineList(wh, points, npoints)
WindowHandle ∗wh;
XdPoint ∗points;
int npoints;
XdDrawLineRGBList(wh, points, colors, npoints)
WindowHandle ∗wh;
XdPoint ∗points;
XdColor ∗colors;
int npoints;
wh Specifies the window to draw into
points Specifies the vertices of the triangle
colors Specifies the colors of the vertices
npoints Specifies the number of triangles in the list
GEOMETRIC OUTPUT
Use XdDrawLine to draw a single line on the screen in the current base color.
Use XdDrawLineRGB to draw a single line on the screen with specified vertex colors.
Use XdDrawLineList to draw a list of lines on the screen in the current base color.
Use XdDrawLineRGBList to draw a list of lines on the screen with specified vertex colors.
September 02, 1992