mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-21 14:25:14 +00:00
26 lines
958 B
Objective-C
26 lines
958 B
Objective-C
/*
|
|
|
|
Erica Sadun, http://ericasadun.com
|
|
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "Drawing-Gradient.h"
|
|
|
|
UIColor *ScaleColorBrightness(UIColor *color, CGFloat amount);
|
|
|
|
void DrawStrokedShadowedShape(UIBezierPath *path, UIColor *baseColor, CGRect dest);
|
|
void DrawStrokedShadowedText(NSString *string, NSString *fontFace, UIColor *baseColor, CGRect dest);
|
|
|
|
void DrawIndentedPath(UIBezierPath *path, UIColor *primary, CGRect rect);
|
|
void DrawIndentedText(NSString *string, NSString *fontFace, UIColor *primary, CGRect rect);
|
|
|
|
void DrawGradientOverTexture(UIBezierPath *path, UIImage *texture, Gradient *gradient, CGFloat alpha);
|
|
void DrawBottomGlow(UIBezierPath *path, UIColor *color, CGFloat percent);
|
|
void DrawIconTopLight(UIBezierPath *path, CGFloat p);
|
|
|
|
CGSize GetUIKitContextSize();
|
|
UIImage *GradientMaskedReflectionImage(UIImage *sourceImage);
|
|
void DrawGradientMaskedReflection(UIImage *image, CGRect rect);;
|
|
void ApplyMaskToContext(UIImage *mask);
|