Go to the source code of this file.
◆ 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.
- Parameters
-
| context | The graphics context. |
| rect | The bounding rectangle for the path. |
| cornerRadius | The radius of the rounded corners. |
◆ CPTCreateRoundedRectPath()
| CF_IMPLICIT_BRIDGING_ENABLED __nonnull CGPathRef CPTCreateRoundedRectPath |
( |
CGRect |
rect, |
|
|
CGFloat |
cornerRadius |
|
) |
| |
Creates a rectangular path with rounded corners.
- Parameters
-
| rect | The bounding rectangle for the path. |
| cornerRadius | The radius of the rounded corners. |
- Returns
- The new path. Caller is responsible for releasing this.