MGL_getPixelFormat

Returns the current packed pixel format information.

Declaration

void MGLAPI MGL_getPixelFormat(
    MGLDC *dc,
    pixel_format_t *pf)

Prototype In

mgraph.h

Parameters

dc

Device context of interest

pf

Place to store the pixel format information

 

Description

This function returns the current pixel format information for the specified device context. This information is used by MGL to encode the packed pixel information, and can be used by your application to work out how to pack values correctly for the RGB device contexts.

See Also

MGL_packColor, MGL_unpackColor

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