NPAPI:AsyncDrawing: Difference between revisions

Jump to navigation Jump to search
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 {
   NPImageFormatARGB32PreAlpha = 0x1,
   NPImageFormatARGB32P  = 0x1,
   NPImageFormatRGB24          = 0x2,
   NPImageFormatARGB32    = 0x2,
   NPImageFormatRGB16_565      = 0x4,
   NPImageFormatRGB24    = 0x4
  NPImageFormatARGB32        = 0x8
  } NPImageFormat;
  } NPImageFormat;
   
   
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu