NPAPI:CoreGraphicsDrawing: Difference between revisions

Jump to navigation Jump to search
Line 71: Line 71:
     // Check if the browser supports the CoreGraphics drawing model
     // Check if the browser supports the CoreGraphics drawing model
     NPBool supportsCoreGraphics = FALSE;
     NPBool supportsCoreGraphics = FALSE;
     if (browser->getvalue(instance, NPNVsupportsCoreGraphicsBool, &supportsCoreGraphics) != NPERR_NO_ERROR || !supportsCoreGraphics)
     if (browser->getvalue(instance, NPNVsupportsCoreGraphicsBool, &supportsCoreGraphics) != NPERR_NO_ERROR ||
    !supportsCoreGraphics)
         return NPERR_INCOMPATIBLE_VERSION_ERROR;
         return NPERR_INCOMPATIBLE_VERSION_ERROR;
     // Set the drawing model
     // Set the drawing model
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu