MGL_maxx

Returns the current maximum x coordinate.

Declaration

int MGLAPI MGL_maxx(void)

Prototype In

mgraph.h

Return Value

Maximum x coordinate in current viewport.

Description

Returns the maximum x coordinate available in the currently active viewport. This value will change if you change the dimensions of the current viewport.

Use the MGL_sizex routine to determine the dimensions of the physical display area available to the application.

See Also

MGL_maxxDC, MGL_maxy, MGL_sizex, MGL_sizey

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