summaryrefslogtreecommitdiff
path: root/include/cdirgb.h
blob: 2e1299738bfba4ad9f163ab7d6d51fd762d1d40e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/** \file
 * \brief IMAGERGB driver
 *
 * See Copyright Notice in cd.h
 */

#ifndef __CD_IRGB_H
#define __CD_IRGB_H

#ifdef __cplusplus
extern "C" {
#endif

cdContext* cdContextImageRGB(void);
cdContext* cdContextDBufferRGB(void);

#define CD_IMAGERGB cdContextImageRGB()
#define CD_DBUFFERRGB cdContextDBufferRGB()

unsigned char* cdRedImage(cdCanvas* cnv);
unsigned char* cdGreenImage(cdCanvas* cnv);
unsigned char* cdBlueImage(cdCanvas* cnv);
unsigned char* cdAlphaImage(cdCanvas* cnv);


#ifdef __cplusplus
}
#endif

#endif /* ifndef __CD_IRGB_ */