Lines Matching refs:currentContext
384 … CGContextRef currentContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
385 if (currentContext && WKCGContextIsBitmapContext(currentContext)) {
390 void* offscreenData = CGBitmapContextGetData(currentContext);
396 offscreenBounds.right = CGBitmapContextGetWidth(currentContext);
397 offscreenBounds.bottom = CGBitmapContextGetHeight(currentContext);
400 getQDPixelFormatForBitmapContext(currentContext), &offscreenBounds, 0, 0, 0,
401 … static_cast<char*>(offscreenData), CGBitmapContextGetBytesPerRow(currentContext));
416 … // Generate a QD origin based on the current affine transform for currentContext.
417 CGAffineTransform offscreenMatrix = CGContextGetCTM(currentContext);
435 …getNPRect(CGRectOffset(CGContextGetClipBoundingBox(currentContext), -origin.x, origin.y), window.c…
445 if ([NSGraphicsContext currentContext] == [[self currentWindow] graphicsContext]) {
507 …CGContextRef context = static_cast<CGContextRef>([[NSGraphicsContext currentContext] graphicsPort]…
526 if ([NSGraphicsContext currentContext] == [[self currentWindow] graphicsContext]) {
699 …CGContextRef context = static_cast<CGContextRef>([[NSGraphicsContext currentContext] graphicsPort]…
1448 … CGContextRef cgContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];