Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTPlatformSpecificFunctions.h
Go to the documentation of this file.
1 #import "CPTDefinitions.h"
3 
5 
6 #if __cplusplus
7 extern "C" {
8 #endif
9 
12 void CPTPushCGContext(__nonnull CGContextRef context);
13 void CPTPopCGContext(void);
14 
16 
19 CPTNativeImage *__nonnull CPTQuickLookImage(CGRect rect, __nonnull CPTQuickLookImageBlock renderBlock);
20 
22 
23 #if __cplusplus
24 }
25 #endif
UIImage
CPTPushCGContext
void CPTPushCGContext(__nonnull CGContextRef context)
Definition: CPTPlatformSpecificFunctions.m:8
CPTPlatformSpecificDefines.h
CPTPopCGContext
void CPTPopCGContext(void)
Definition: CPTPlatformSpecificFunctions.m:13
CPTDefinitions.h
CPTQuickLookImage
CPTNativeImage *__nonnull CPTQuickLookImage(CGRect rect, __nonnull CPTQuickLookImageBlock renderBlock)
Definition: CPTPlatformSpecificFunctions.m:21
CPTQuickLookImageBlock
void(^ CPTQuickLookImageBlock)(__nonnull CGContextRef context, CGFloat scale, CGRect bounds)
Render a Quick Look image into the given context.
Definition: CPTDefinitions.h:286