A class to encapsulate all SvgTest functionality. Used by SVG elements as a helper class
Inheritance: ISvgTests
Exemplo n.º 1
0
 internal SvgImageElement(string prefix, string localname, string ns, SvgDocument doc) : base(prefix, localname, ns, doc)
 {
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgTests        = new SvgTests(this);
     svgURIReference = new SvgURIReference(this);
     svgFitToViewBox = new SvgFitToViewBox(this);
 }
Exemplo n.º 2
0
 internal SvgUseElement(string prefix, string localname, string ns, SvgDocument doc) : base(prefix, localname, ns, doc)
 {
     svgURIReference = new SvgURIReference(this);
     svgURIReference.referencedNodeChangeHandler += new NodeChangeHandler(ReferencedNodeChange);
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgTests = new SvgTests(this);
 }
Exemplo n.º 3
0
 internal SvgSvgElement(string prefix, string localname, string ns, SvgDocument doc) : base(prefix, localname, ns, doc)
 {
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgFitToViewBox  = new SvgFitToViewBox(this);
     svgTests         = new SvgTests(this);
     currentTranslate = new SvgPoint(0, 0);
 }
Exemplo n.º 4
0
 public SvgSolidColorElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     _uriReference = new SvgUriReference(this);
     _externalResourcesRequired = new SvgExternalResourcesRequired(this);
     _svgTests = new SvgTests(this);
 }
Exemplo n.º 5
0
 public SvgUseElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     svgURIReference = new SvgUriReference(this);
     svgURIReference.NodeChanged += new NodeChangeHandler(ReferencedNodeChange);
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgTests = new SvgTests(this);
 }
Exemplo n.º 6
0
 public SvgPatternElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     _uriReference        = new SvgUriReference(this);
     _externalResRequired = new SvgExternalResourcesRequired(this);
     _fitToViewBox        = new SvgFitToViewBox(this);
     _svgTests            = new SvgTests(this);
 }
Exemplo n.º 7
0
 protected SvgAnimationElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     _svgTests     = new SvgTests(this);
     _eventTarget  = new EventTarget(this);
     _uriReference = new SvgUriReference(this);
     _externalResourcesRequired = new SvgExternalResourcesRequired(this);
 }
        public SvgFontElement(string prefix, string localname, string ns, SvgDocument doc)
            : base(prefix, localname, ns, doc)
        {
            _svgTests = new SvgTests(this);
            _externalResourcesRequired = new SvgExternalResourcesRequired(this);

            doc.RegisterFont(this);
        }
Exemplo n.º 9
0
 internal SvgSvgElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgFitToViewBox = new SvgFitToViewBox(this);
     svgTests = new SvgTests(this);
     currentTranslate = new SvgPoint(0, 0);
 }
Exemplo n.º 10
0
 public SvgPatternElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     svgURIReference              = new SvgUriReference(this);
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgFitToViewBox              = new SvgFitToViewBox(this);
     svgTests                     = new SvgTests(this);
 }
Exemplo n.º 11
0
        public SvgUseElement(string prefix, string localname, string ns, SvgDocument doc)
            : base(prefix, localname, ns, doc)
        {
            _uriReference              = new SvgUriReference(this);
//            _uriReference.NodeChanged += OnReferencedNodeChange;

            _externalResourcesRequired = new SvgExternalResourcesRequired(this);
            _svgTests                  = new SvgTests(this);
        }
Exemplo n.º 12
0
        public SvgSvgElement(string prefix, string localname, string ns, SvgDocument doc)
            : base(prefix, localname, ns, doc)
        {
            _currentScale = 1;
            _redrawTimers = new List <Timer>();

            _svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
            _svgFitToViewBox  = new SvgFitToViewBox(this);
            _svgTests         = new SvgTests(this);
            _currentTranslate = new SvgPoint(0, 0);
        }
Exemplo n.º 13
0
 internal SvgCircleElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgTests = new SvgTests(this);
 }
Exemplo n.º 14
0
 public SvgDefsElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
     svgTests = new SvgTests(this);
 }
Exemplo n.º 15
0
 public SvgEllipseElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     _externalResourcesRequired = new SvgExternalResourcesRequired(this);
     _svgTests = new SvgTests(this);
 }
Exemplo n.º 16
0
 public SvgPathElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     _svgTests = new SvgTests(this);
 }
Exemplo n.º 17
0
 internal SvgPathElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     svgTests = new SvgTests(this);
 }
Exemplo n.º 18
0
 protected SvgTextContentElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     svgTests = new SvgTests(this);
     svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
 }
Exemplo n.º 19
0
 protected SvgTextContentElement(string prefix, string localname, string ns, SvgDocument doc)
     : base(prefix, localname, ns, doc)
 {
     _svgTests = new SvgTests(this);
     _externalResourcesRequired = new SvgExternalResourcesRequired(this);
 }