1 /** \file
2  * \brief IMAGERGB driver
3  *
4  * See Copyright Notice in cd.h
5  */
6 
7 module cd.irgb;
8 
9 import cd.cd: cdContext, cdCanvas;
10 
11 extern (C) @safe nothrow:
12 
13 cdContext* cdContextImageRGB();
14 cdContext* cdContextDBufferRGB();
15 
16 alias CD_IMAGERGB = cdContextImageRGB;
17 alias CD_DBUFFERRGB = cdContextDBufferRGB;
18 
19 /* DEPRECATED functions, use REDIMAGE, GREENIMAGE,
20    BLUEIMAGE, and ALPHAIMAGE attributes. */
21 ubyte* cdRedImage(cdCanvas* cnv);
22 ubyte* cdGreenImage(cdCanvas* cnv);
23 ubyte* cdBlueImage(cdCanvas* cnv);
24 ubyte* cdAlphaImage(cdCanvas* cnv);
25