Confirmed users
138
edits
No edit summary |
|||
Line 39: | Line 39: | ||
<pre> | <pre> | ||
/* | |||
/* These formats describe the format in the memory byte-order. This means if | |||
* a 32-bit value of a pixel is viewed on a little-endian system the layout will | |||
* be 0xAARRGGBB. Since the Alpha channel will be stored in the most significant | |||
* bits */ | |||
typedef enum { | typedef enum { | ||
/* 32-bit per pixel 8-bit per channel - premultiplied alpha */ | |||
NPImageFormatBGRA32 = 0x1, | |||
/* 32-bit per pixel 8-bit per channel - 1 unused channel */ | |||
NPImageFormatBGRX32 = 0x2 | |||
} NPImageFormat; | } NPImageFormat; | ||