Supported Browsers Home   
MGL_sizex Previous   
MGL_srand Next   
External Functions Up   

MGL_sizey

Returns the total device y coordinate dimensions.

Declaration

int MGLAPI MGL_sizey(
    MGLDC *dc)

Prototype In

mgraph.h

Parameters

dc

Display device context

 

Return Value

Number of pixels in y direction for entire device - 1

Description

Returns the total number of pixels available along the y coordinate axis for the currently active device context. This is different than the MGL_maxy routine which returns the dimensions of the currently active viewport.

See Also

MGL_sizex, MGL_maxx

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