diff options
author | kitfox | 2013-02-23 04:06:48 +0100 |
---|---|---|
committer | kitfox | 2013-02-23 04:06:48 +0100 |
commit | e26f6ed992af2789358f28a5c4f1a9d66e8ce938 (patch) | |
tree | 3ebdfd3253bd3b2bac15f60c2f6bda1772c0bcf2 /src | |
parent | Fixing URL parsing. (diff) | |
download | svg-salamander-core-e26f6ed992af2789358f28a5c4f1a9d66e8ce938.tar.gz svg-salamander-core-e26f6ed992af2789358f28a5c4f1a9d66e8ce938.tar.xz svg-salamander-core-e26f6ed992af2789358f28a5c4f1a9d66e8ce938.zip |
Clip paths now only applied in tag where it is requested.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@147 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/kitfox/svg/RenderableElement.java | 2 | ||||
-rw-r--r-- | src/main/java/com/kitfox/svg/SVGElement.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/kitfox/svg/RenderableElement.java b/src/main/java/com/kitfox/svg/RenderableElement.java index b27a291..0928454 100644 --- a/src/main/java/com/kitfox/svg/RenderableElement.java +++ b/src/main/java/com/kitfox/svg/RenderableElement.java @@ -127,7 +127,7 @@ abstract public class RenderableElement extends TransformableElement // StyleAttribute styleAttrib = getStyle("clip-path", false);
Shape clipPath = null;
int clipPathUnits = ClipPath.CP_USER_SPACE_ON_USE;
- if (getStyle(styleAttrib.setName("clip-path")))
+ if (getStyle(styleAttrib.setName("clip-path"), false))
{
URI uri = styleAttrib.getURIValue(getXMLBase());
if (uri != null)
diff --git a/src/main/java/com/kitfox/svg/SVGElement.java b/src/main/java/com/kitfox/svg/SVGElement.java index 2ec7ae3..e1bdb31 100644 --- a/src/main/java/com/kitfox/svg/SVGElement.java +++ b/src/main/java/com/kitfox/svg/SVGElement.java @@ -547,7 +547,7 @@ abstract public class SVGElement implements Serializable * @param attrib - Attribute to write style data to. Must have it's name
* set to the name of the style being queried.
* @param recursive - If true and this object does not contain the
- * named style attribute, checks attributes of parents abck to root until
+ * named style attribute, checks attributes of parents back to root until
* one found.
*/
public boolean getStyle(StyleAttribute attrib, boolean recursive) throws SVGException
|