Supported Browsers Home   
MGL_getCurrentScanLine Previous   
MGL_getDisplayStart Next   
External Functions Up   

MGL_getDefaultPalette

Returns the default palette for the device.

Declaration

void MGLAPI MGL_getDefaultPalette(
    MGLDC *dc,
    palette_t *pal)

Prototype In

mgraph.h

Parameters

dc

Device context of interest

pal

Place to store the default palette values

 

Description

Copies the default palette for the specified device context into the passed palette structure.

Note:    The size of the default palette can be found with a call to MGL_getPaletteSize().

See Also

MGL_setPalette, MGL_getPalette

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