Class GdiFontDefn
- Namespace
- Svg
- Assembly
- Svg.dll
public class GdiFontDefn : IFontDefn, IDisposable
- Inheritance
-
GdiFontDefn
- Implements
- Inherited Members
Constructors
GdiFontDefn(Font, float)
public GdiFontDefn(Font font, float ppi)
Parameters
Properties
Size
public float Size { get; }
Property Value
SizeInPoints
public float SizeInPoints { get; }
Property Value
Methods
AddStringToPath(ISvgRenderer, GraphicsPath, string, PointF)
public void AddStringToPath(ISvgRenderer renderer, GraphicsPath path, string text, PointF location)
Parameters
renderer
ISvgRendererpath
GraphicsPathtext
stringlocation
PointF
Ascent(ISvgRenderer)
public float Ascent(ISvgRenderer renderer)
Parameters
renderer
ISvgRenderer
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
MeasureCharacters(ISvgRenderer, string)
public IList<RectangleF> MeasureCharacters(ISvgRenderer renderer, string text)
Parameters
renderer
ISvgRenderertext
string
Returns
MeasureString(ISvgRenderer, string)
public SizeF MeasureString(ISvgRenderer renderer, string text)
Parameters
renderer
ISvgRenderertext
string