Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
No edit summary |
|||
| Line 77: | Line 77: | ||
The <code>handle</code> pointer of the <code>NPAsyncSurface</code> will point to an <code>NPImageData</code> structure. | The <code>handle</code> pointer of the <code>NPAsyncSurface</code> will point to an <code>NPImageData</code> structure. | ||
/* "P" suffix means pre-multiplied alpha. */ | |||
typedef enum { | typedef enum { | ||
NPImageFormatARGB32P = 0x1, | |||
NPImageFormatARGB32 = 0x2, | |||
NPImageFormatRGB24 = 0x4 | |||
} NPImageFormat; | } NPImageFormat; | ||