Home | History | Annotate | Download | only in Plugins

Lines Matching refs:currentContext

378             CGContextRef currentContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
379 if (currentContext && WKCGContextIsBitmapContext(currentContext)) {
384 void* offscreenData = CGBitmapContextGetData(currentContext);
390 offscreenBounds.right = CGBitmapContextGetWidth(currentContext);
391 offscreenBounds.bottom = CGBitmapContextGetHeight(currentContext);
394 getQDPixelFormatForBitmapContext(currentContext), &offscreenBounds, 0, 0, 0,
395 static_cast<char*>(offscreenData), CGBitmapContextGetBytesPerRow(currentContext));
410 // Generate a QD origin based on the current affine transform for currentContext.
411 CGAffineTransform offscreenMatrix = CGContextGetCTM(currentContext);
429 getNPRect(CGRectOffset(CGContextGetClipBoundingBox(currentContext), -origin.x, origin.y), window.clipRect);
439 if ([NSGraphicsContext currentContext] == [[self currentWindow] graphicsContext]) {
501 CGContextRef context = static_cast<CGContextRef>([[NSGraphicsContext currentContext] graphicsPort]);
520 if ([NSGraphicsContext currentContext] == [[self currentWindow] graphicsContext]) {
687 CGContextRef context = static_cast<CGContextRef>([[NSGraphicsContext currentContext] graphicsPort]);
1412 CGContextRef cgContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];