NPAPI:DrawImage: Difference between revisions

Line 43: Line 43:
     * alpha is used. (That is, 50% transparent red is 0x80800000,
     * alpha is used. (That is, 50% transparent red is 0x80800000,
     * not 0x80ff0000.) */
     * not 0x80ff0000.) */
     NPImageFormatARGB32    = 0x1,
     NPImageFormatARGB32pre  = 0x1,
     /* each pixel is a 32-bit quantity, with
     /* each pixel is a 32-bit quantity, with
     * the upper 8 bits unused. Red, Green, and Blue are stored
     * the upper 8 bits unused. Red, Green, and Blue are stored
Line 49: Line 49:
     NPImageFormatRGB24      = 0x2,  /* x8r8g8b8 */
     NPImageFormatRGB24      = 0x2,  /* x8r8g8b8 */
     NPImageFormatRGB16_565  = 0x4  /* r5g6b5  */
     NPImageFormatRGB16_565  = 0x4  /* r5g6b5  */
    NPImageFormatARGB32    = 0x8,
     /* can be extended */
     /* can be extended */
   } NPImageFormat;
   } NPImageFormat;
Confirmed users
180

edits