PeachDrawing.Text

PeachDrawing.Text.Typeface

Typeface.TryGetBitmap(ushort, double, EmbeddedBitmap) Method

The picture of a glyph from the strike best suited to a font size.

public bool TryGetBitmap(ushort glyph, double ppem, out PeachDrawing.Text.Outlines.EmbeddedBitmap bitmap);

Parameters

glyph System.UInt16

The glyph.

ppem System.Double

The size the glyph will be drawn at, in pixels per em.

bitmap EmbeddedBitmap

The picture.

Returns

System.Boolean
false when the glyph has no picture: it is drawn from outlines, or the face has no bitmap tables.