XdFillTriangle(3X) — Kubota Pacfic Computer Inc. (X Direct Graphics)
NAME
XdFillTriangle, XdFillTriangleRGB, XdFillTriangleList, XdFillTriangleRGBList − triangle drawing functions
SYNOPSIS
XdFillTriangle − draw single triangle in current base color
XdFillTriangleRGB − draw single triangle using specified vertex colors
XdFillTriangleList − draw triangle list in current base color
XdFillTriangleRGBList − draw triangle list using specified vertex colors
XdFillTriangle(wh, points)
WindowHandle ∗wh;
XdPoint ∗points;
XdFillTriangleRGB(wh, points, colors)
WindowHandle ∗wh;
XdPoint ∗points;
XdColor ∗colors;
XdFillTriangleList(wh, points, npoints)
WindowHandle ∗wh;
XdPoint ∗points;
int npoints;
XdFillTriangleRGBList(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 XdFillTriangle to draw a single triangle on the screen in the current base color.
Use XdFillTriangleRGB to draw a single triangle on the screen with specified vertex colors.
Use XdFillTriangleList to draw a list of triangles on the screen in the current base color.
Use XdFillTriangleRGBList to draw a list of triangle on the screen with specified vertex colors.
September 02, 1992