GetOutline(Int32, GlyphOutline) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Writes a glyph's outline into outline, which is cleared first.

public abstract GlyphOutlineStatus GetOutline(int glyphId, GlyphOutline outline)

Parameters

glyphId
Int32

The glyph id.

outline
GlyphOutline

The buffer to fill; reuse one for many glyphs.

Returns

GlyphOutlineStatus
Whether the glyph has an outline, draws nothing, or cannot be drawn.