GetAuthorPathLength() protected method

protected GetAuthorPathLength ( ) : float
return float
Ejemplo n.º 1
0
 public TextDrawingState(ISvgRenderer renderer, SvgTextBase element)
 {
     this.Element      = element;
     this.Renderer     = renderer;
     this.Current      = PointF.Empty;
     _xAnchor          = 0;
     this.BaselinePath = element.GetBaselinePath(renderer);
     _authorPathLength = element.GetAuthorPathLength();
 }
Ejemplo n.º 2
0
            public TextDrawingState(TextDrawingState parent, SvgTextBase element)
            {
                this.Element      = element;
                this.Renderer     = parent.Renderer;
                this.Parent       = parent;
                this.Current      = parent.Current;
                this.BaselinePath = element.GetBaselinePath(parent.Renderer) ?? parent.BaselinePath;
                var currPathLength = element.GetAuthorPathLength();

                _authorPathLength = currPathLength == 0 ? parent._authorPathLength : currPathLength;
            }
Ejemplo n.º 3
0
 public TextDrawingState(TextDrawingState parent, SvgTextBase element)
 {
     this.Element = element;
     this.Renderer = parent.Renderer;
     this.Parent = parent;
     this.Current = parent.Current;
     this.BaselinePath = element.GetBaselinePath(parent.Renderer) ?? parent.BaselinePath;
     var currPathLength = element.GetAuthorPathLength();
     _authorPathLength = currPathLength == 0 ? parent._authorPathLength : currPathLength;
 }
Ejemplo n.º 4
0
 public TextDrawingState(ISvgRenderer renderer, SvgTextBase element)
 {
     this.Element = element;
     this.Renderer = renderer;
     this.Current = PointF.Empty;
     _xAnchor = 0;
     this.BaselinePath = element.GetBaselinePath(renderer);
     _authorPathLength = element.GetAuthorPathLength();
 }