mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
30 lines
779 B
Objective-C
30 lines
779 B
Objective-C
/**
|
|
http://www.w3.org/TR/SVG/masking.html#InterfaceSVGClipPathElement
|
|
|
|
interface SVGClipPathElement : SVGElement,
|
|
SVGTests,
|
|
SVGLangSpace,
|
|
SVGExternalResourcesRequired,
|
|
SVGStylable,
|
|
SVGTransformable,
|
|
SVGUnitTypes {
|
|
*/
|
|
|
|
#import "SVGElement.h"
|
|
#import "SVGElement_ForParser.h"
|
|
|
|
#import "ConverterSVGToCALayer.h"
|
|
#import "SVGTransformable.h"
|
|
#import "SVGUnitTypes.h"
|
|
|
|
|
|
// Does NOT implement ConverterSVGToCALayer because <clipPath> elements are never rendered directly; they're only referenced via clip-path attributes in other elements
|
|
@interface SVGClipPathElement : SVGElement <SVGTransformable, SVGStylable>
|
|
|
|
@property(nonatomic, readonly) SVG_UNIT_TYPE clipPathUnits;
|
|
|
|
- (CALayer *) newLayer;
|
|
- (void)layoutLayer:(CALayer *)layer toMaskLayer:(CALayer *)maskThis;
|
|
|
|
@end
|