NPAPI:AsyncDrawing: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 39: Line 39:


<pre>
<pre>
   /* "P" suffix means pre-multiplied alpha. */
 
   /* 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 {
     NPImageFormatARGB32P    = 0x1,
     /* 32-bit per pixel 8-bit per channel - premultiplied alpha */
     NPImageFormatARGB32    = 0x2,
    NPImageFormatBGRA32    = 0x1,
     NPImageFormatXRGB32     = 0x4
     /* 32-bit per pixel 8-bit per channel - 1 unused channel */
     NPImageFormatBGRX32     = 0x2
   } NPImageFormat;
   } NPImageFormat;
   
   
Confirmed users
138

edits

Navigation menu