Color encoding This module contains color encoding macros. (../include/degfx/colors.h)
Part of the degfx library.
#define MXRGB(r, g, b)
Construct a pixel out of a r, g, b
#define MXRGBT(r, g, b, a)
Construct a pixel out of a r, g, b and transparency
#define MXT(c)
The transparency of a pixel
#define MXR(c)
Red component of a pixel
#define MXG(c)
Green component of a pixel
#define MXB(c)
Blue component of a pixel
#define MXTRANS(c, a)
Set pixel transparency
#define MXBLENDT(c1, c2, a1)
Blend two pixels with transparency
#define MXBLEND(c1, c2)
Blend two pixels using the transparency component of the first pixel.
#define MXCOLOR_alice
Macros for named colors
There are many different MXCOLOR_* macros for named colors. (../include/degfx/colors.h)
Generated by MXDOC 2.2 on Sun Feb 4 15:16:26 2007