Exemplo n.º 1
0
        public float Ascent(ISvgRenderer renderer)
        {
            float ascent         = _font.Descendants().OfType <SvgFontFace>().First().Ascent;
            float baselineOffset = this.SizeInPoints * (_emScale / _size) * ascent;

            return(SvgDocument.PointsPerInch / 72f * baselineOffset);
        }