Table of Contents

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

font Font
ppi float

Properties

Size

public float Size { get; }

Property Value

float

SizeInPoints

public float SizeInPoints { get; }

Property Value

float

Methods

AddStringToPath(ISvgRenderer, GraphicsPath, string, PointF)

public void AddStringToPath(ISvgRenderer renderer, GraphicsPath path, string text, PointF location)

Parameters

renderer ISvgRenderer
path GraphicsPath
text string
location PointF

Ascent(ISvgRenderer)

public float Ascent(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

Returns

float

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 ISvgRenderer
text string

Returns

IList<RectangleF>

MeasureString(ISvgRenderer, string)

public SizeF MeasureString(ISvgRenderer renderer, string text)

Parameters

renderer ISvgRenderer
text string

Returns

SizeF