MGL_setPenSize

Sets the current pen size.

Declaration

void MGLAPI MGL_setPenSize(
int h,
int w)

Prototype In

mgraph.h

Parameters

h | Height of the pen in pixels
w | Width of the pen in pixels

Description

Sets the size of the current pen size in pixels. The default pen is 1 pixel by 1 pixel in dimensions, however you can change this to whatever value you like. When primitives are rasterized with a pen other than the default, the pixels in the pen always lie to the right and below the current pen position.

See Also

MGL_getPenSize

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com