Supported Browsers Home   
MGL_singleBuffer Previous   
MGL_sizey Next   
External Functions Up   

MGL_sizex

Returns the total device x coordinate dimensions.

Declaration

int MGLAPI MGL_sizex(
    MGLDC *dc)

Prototype In

mgraph.h

Parameters

dc

Display device context

 

Return Value

Number of pixels in x direction for entire device - 1

Description

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

See Also

MGL_sizey, MGL_maxx, MGL_maxy

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