mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
23 lines
660 B
Objective-C
23 lines
660 B
Objective-C
#import "SVGTextPositioningElement.h"
|
|
#import "SVGTextPositioningElement_Mutable.h"
|
|
|
|
#import "SVGElement_ForParser.h" // because we do post-processing of the SVG x,y,dx,dy,rotate attributes
|
|
|
|
@implementation SVGTextPositioningElement
|
|
|
|
@synthesize x,y,dx,dy,rotate;
|
|
|
|
|
|
- (void)postProcessAttributesAddingErrorsTo:(SVGKParseResult *)parseResult
|
|
{
|
|
[super postProcessAttributesAddingErrorsTo:parseResult];
|
|
|
|
self.x = [self getAttributeAsSVGLength:@"x"];
|
|
self.y = [self getAttributeAsSVGLength:@"y"];
|
|
self.dx = [self getAttributeAsSVGLength:@"dx"];
|
|
self.dy = [self getAttributeAsSVGLength:@"dy"];
|
|
self.rotate = [self getAttributeAsSVGLength:@"rotate"];
|
|
}
|
|
|
|
@end
|