forked from SVGKit/SVGKit
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIXED: SVG <image> tags now render correctly with correct transforms,…
… if the image data is embedded in the SVG (external images MIGHT OR MIGHT NOT work - we have no test data)
- Loading branch information
Showing
9 changed files
with
54 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* http://www.w3.org/TR/SVG/types.html#InterfaceSVGFitToViewBox | ||
interface SVGFitToViewBox { | ||
readonly attribute SVGAnimatedRect viewBox; | ||
readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio; | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import <QuartzCore/QuartzCore.h> | ||
|
||
@protocol SVGFitToViewBox <NSObject> | ||
|
||
@property (nonatomic) /* SVGAnimatedRect */ CGRect viewBox; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
Source/DOM classes/Unported or Partial DOM/SVGImageElement.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters