MGL_getPenSize

Returns the current pen size.

Declaration

void MGLAPI MGL_getPenSize(
    int *height,
    int *width)

Prototype In

mgraph.h

Parameters

height

Place to store the current pen height

width

Place to store the current pen width

 

Description

Return the size of the current pen 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_setPenSize

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