Update of /cvsroot/svgdomcsharp/SharpVectorGraphics/src/SharpVectorObjectModel/SharpVectors/dom/svg/Clipping Masking and Compositing
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12283/src/SharpVectorObjectModel/SharpVectors/dom/svg/Clipping Masking and Compositing
Modified Files:
SvgClipPathElement.cs SvgMaskElement.cs
Log Message:
Library wide changes for scripting support and automated re-rendering
Index: SvgMaskElement.cs
===================================================================
RCS file: /cvsroot/svgdomcsharp/SharpVectorGraphics/src/SharpVectorObjectModel/SharpVectors/dom/svg/Clipping Masking and Compositing/SvgMaskElement.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- SvgMaskElement.cs 6 Mar 2005 08:07:04 -0000 1.1
+++ SvgMaskElement.cs 19 Nov 2005 03:13:23 -0000 1.2
@@ -26,7 +26,7 @@
SvgUnitType mask = SvgUnitType.ObjectBoundingBox;
if(GetAttribute("maskUnits") == "userSpaceOnUse")
mask = SvgUnitType.UserSpaceOnUse;
- maskUnits = new SvgAnimatedEnumeration(mask);
+ maskUnits = new SvgAnimatedEnumeration((ushort)mask);
}
return maskUnits;
}
@@ -42,7 +42,7 @@
SvgUnitType maskContent = SvgUnitType.UserSpaceOnUse;
if(GetAttribute("maskContentUnits") == "objectBoundingBox")
maskContent = SvgUnitType.ObjectBoundingBox;
- maskContentUnits = new SvgAnimatedEnumeration(maskContent);
+ maskContentUnits = new SvgAnimatedEnumeration((ushort)maskContent);
}
return maskContentUnits;
}
Index: SvgClipPathElement.cs
===================================================================
RCS file: /cvsroot/svgdomcsharp/SharpVectorGraphics/src/SharpVectorObjectModel/SharpVectors/dom/svg/Clipping Masking and Compositing/SvgClipPathElement.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- SvgClipPathElement.cs 6 Mar 2005 08:07:04 -0000 1.1
+++ SvgClipPathElement.cs 19 Nov 2005 03:13:23 -0000 1.2
@@ -30,7 +30,7 @@
{
clipPath = SvgUnitType.ObjectBoundingBox;
}
- clipPathUnits = new SvgAnimatedEnumeration(clipPath);
+ clipPathUnits = new SvgAnimatedEnumeration((ushort)clipPath);
}
return clipPathUnits;
}
|