NPAPI:CoreAnimationDrawingModel: Difference between revisions

Line 43: Line 43:
When the plug-in has selected the drawing model, the browser will call NPP_GetValue with the
When the plug-in has selected the drawing model, the browser will call NPP_GetValue with the


NPPVpluginCoreAnimationLayer = 1003
NPPVpluginCoreAnimationLayer = 1003


NPPVariable. The value should be treated as a CALayer * pointer, which the plug-in should fill in with a layer. The plug-in should retain a reference to the layer. For example:
NPPVariable. The value should be treated as a CALayer * pointer, which the plug-in should fill in with a layer. The plug-in should retain a reference to the layer. For example:
12

edits