Font Unit Metrics « 2D Graphics « C# / C Sharp






1.Get font cell ascent, descent, LineSpacing and EmHeightGet font cell ascent, descent, LineSpacing and EmHeight
2.Calculate font unit metrics from the font familyCalculate font unit metrics from the font family
3.Calculate GraphicsUnit metrics from the fontCalculate GraphicsUnit metrics from the font
4.Draw a line for the ascent, descent, baseline, textOriginDraw a line for the ascent, descent, baseline, textOrigin
5.Derive surrounding Rectangle from StringDerive surrounding Rectangle from String
6.Measure Font height and draw surrounding RectangleMeasure Font height and draw surrounding Rectangle