Exemplo n.º 1
0
        protected WpfTextRenderer(SvgTextElement textElement, WpfTextRendering textRendering)
        {
            if (textElement == null)
            {
                throw new ArgumentNullException("textElement",
                    "The SVG text element is required, and cannot be null (or Nothing).");
            }
            if (textRendering == null)
            {
                throw new ArgumentNullException("textRendering",
                    "The text rendering object is required, and cannot be null (or Nothing).");
            }

            _textElement   = textElement;
            _textRendering = textRendering;
        }
Exemplo n.º 2
0
 public WpfVertTextRenderer(SvgTextElement textElement, WpfTextRendering textRendering)
     : base(textElement, textRendering)
 {
 }