GetBaselinePath() защищенный Метод

protected GetBaselinePath ( ISvgRenderer renderer ) : GraphicsPath
renderer ISvgRenderer
Результат System.Drawing.Drawing2D.GraphicsPath
Пример #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();
 }
Пример #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;
            }
Пример #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;
 }
Пример #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();
 }