newsmemory-ios-sdk/Frameworks/RNSVG.xcframework/ios-arm64/Headers/RNSVGGlyphContext.h

48 lines
988 B
C
Raw Permalink Normal View History

2024-05-02 15:08:24 +00:00
#import <CoreText/CoreText.h>
2024-11-20 14:28:34 +00:00
#import <React/UIView+React.h>
2024-05-02 15:08:24 +00:00
#import "RNSVGFontData.h"
@class RNSVGText;
@class RNSVGGroup;
@class RNSVGGlyphContext;
@interface RNSVGGlyphContext : NSObject
- (CTFontRef)getGlyphFont;
2024-11-20 14:28:34 +00:00
- (instancetype)initWithWidth:(CGFloat)width height:(CGFloat)height;
2024-05-02 15:08:24 +00:00
- (RNSVGFontData *)getFont;
- (CGFloat)getFontSize;
- (CGFloat)getHeight;
- (CGFloat)getWidth;
- (CGFloat)nextDeltaX;
- (CGFloat)nextDeltaY;
- (CGFloat)nextRotation;
- (CGFloat)nextXWithDouble:(CGFloat)advance;
- (CGFloat)nextY;
- (void)popContext;
2024-11-20 14:28:34 +00:00
- (void)pushContext:(RNSVGText *)node
font:(NSDictionary *)font
x:(NSArray<RNSVGLength *> *)x
y:(NSArray<RNSVGLength *> *)y
deltaX:(NSArray<RNSVGLength *> *)deltaX
deltaY:(NSArray<RNSVGLength *> *)deltaY
rotate:(NSArray<RNSVGLength *> *)rotate;
2024-05-02 15:08:24 +00:00
2024-11-20 14:28:34 +00:00
- (void)pushContext:(RNSVGGroup *)node font:(NSDictionary *)font;
2024-05-02 15:08:24 +00:00
2024-11-20 14:28:34 +00:00
- (NSArray *)getFontContext;
2024-05-02 15:08:24 +00:00
@end