Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTPathExtensions.h
Go to the documentation of this file.
1 
3 #if __cplusplus
4 extern "C" {
5 #endif
6 
7 CF_IMPLICIT_BRIDGING_ENABLED
8 
9 __nonnull CGPathRef CPTCreateRoundedRectPath(CGRect rect, CGFloat cornerRadius);
10 
11 CF_IMPLICIT_BRIDGING_DISABLED
12 
13 void CPTAddRoundedRectPath(__nonnull CGContextRef context, CGRect rect, CGFloat cornerRadius);
14 
15 #if __cplusplus
16 }
17 #endif
CPTCreateRoundedRectPath
CF_IMPLICIT_BRIDGING_ENABLED __nonnull CGPathRef CPTCreateRoundedRectPath(CGRect rect, CGFloat cornerRadius)
Creates a rectangular path with rounded corners.
Definition: CPTPathExtensions.m:11
CPTAddRoundedRectPath
CF_IMPLICIT_BRIDGING_DISABLED void CPTAddRoundedRectPath(__nonnull CGContextRef context, CGRect rect, CGFloat cornerRadius)
Adds a rectangular path with rounded corners to a graphics context.
Definition: CPTPathExtensions.m:55
CGPathRef
typedef CGPathRef