NPAPI:CoreGraphicsDrawing: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 39: Line 39:
If a plugin sets the drawing model to NPDrawingModelCoreGraphics, then the meanings of some of the NPAPI data structures change:
If a plugin sets the drawing model to NPDrawingModelCoreGraphics, then the meanings of some of the NPAPI data structures change:


- NPWindow's 'window' field becomes a NP_CGContext:
- NPWindow's 'window' field (under the Carbon event model) becomes a NP_CGContext:


  /* NP_CGContext is the type of the NPWindow's 'window' when the
  /* NP_CGContext is the type of the NPWindow's 'window' when the
70

edits

Navigation menu