mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-12-02 17:16:22 +00:00
17 lines
626 B
Objective-C
17 lines
626 B
Objective-C
#import <CoreGraphics/CoreGraphicsExport.h>
|
|
#import <CoreGraphics/CGGeometry.h>
|
|
#import <CoreGraphics/CGColorSpace.h>
|
|
|
|
typedef struct CGGradient *CGGradientRef;
|
|
|
|
enum {
|
|
kCGGradientDrawsBeforeStartLocation = 0x01,
|
|
kCGGradientDrawsAfterEndLocation = 0x02
|
|
};
|
|
|
|
CGGradientRef CGGradientCreateWithColorComponents(CGColorSpaceRef colorSpace, const CGFloat components[], const CGFloat locations[], size_t count);
|
|
CGGradientRef CGGradientCreateWithColors(CGColorSpaceRef colorSpace, CFArrayRef colors, const CGFloat locations[]);
|
|
|
|
void CGGradientRelease(CGGradientRef self);
|
|
CGGradientRef CGGradientRetain(CGGradientRef self);
|