| Home
| Previous
| Next
| Up

MGL_maxColor

Returns the maximum available color value.

Declaration

color_t MGLAPI MGL_maxColor(
MGLDC *dc)

Prototype In

mgraph.h

Parameters

dc | Device context to check

Return Value

Maximum color value for current video mode.

Description

Returns the value of the largest available color value for the current video mode. This value will always be one less than the number of available colors in that particular video mode.

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