pntsize(3G) pntsize(3G)
pntsize, pntsizef - specifies size of points
void pntsize(n)
short n;
void pntsizef(n)
float n;
n is the size of the point. The size is measured in pixels and is one
by default.
pntsize and pntsizef specify the size of a point. Mathematical points
have no size, but to display a point, it must be assigned a size. The
center of the displayed point is as close as possible to the mathematical
point. If antialiased point drawing is not enabled, and multisample is
not enabled, or multisample buffers do not exist in the current
framebuffer configuration in the current drawmode, n indicates the number
of pixels drawn across the x and y axes, and is rounded to the nearest
integer. Otherwise, n indicates the point diameter in units of pixels,
and is rounded to the nearest supported value.
Rounding affects only the value of n that is actually used, not the value
that is retained.
pntsmooth
The maximum size of aliased points is 255.
IRIS-4D VGX model supports antialiased point sizes 1.0 and 2.0, and
aliased point sizes one through 255. IRIS-4D GT and GTX models support
antialiased point size 1.0, and aliased point sizes one and two. IRIS-4D
G models, Personal Iris, Iris Entry, Indy, XL, XS, XS24, XZ, Elan and
Extreme systems support only point size one.
In order to select or pick a large point in selecting or picking mode
respectively, the selecting region must intersect the displayed point
center. This center is the imaginary point of size 1 specified by the
same vertex as the displayed point. In case of a very large point, you
may want to consider drawing a filled circle instead.
PPPPaaaaggggeeee 1111 [ Back ]
|