|
|
|
|
MGL_packColorFastExt
Pack an RGB with Alpha tuple into an MGL color.
Declaration
color_t MGL_packColorFastExt(
pixel_format_t *pf,
uchar A,
uchar R,
uchar G,
uchar B)
Prototype In
mgraph.h
Parameters
pf |
Pixel format to get packing information from |
A |
Alpha component to pack (0 - 255) |
R |
Red color component to pack (0 - 255) |
G |
Green color component to pack (0 - 255) |
B |
Blue color component to pack (0 - 255) |
Return Value
MGL packed color value appropriate for the specified pixel format information.
Description
This function is the same as MGL_packColorExt, however it is implemented as a macro and hence is more efficient.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com