Table of Contents

Method Measure

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

Measure(FontFace, Twips, Twips, int)

Measures one face's single-line box and packages it with an already-measured advance.

public static TextLineMetrics Measure(FontFace face, Twips emSize, Twips totalAdvance, int clusterCount)

Parameters

face FontFace

The face to measure. Must not be null.

emSize Twips

The em size in twips.

totalAdvance Twips

The horizontal advance already measured for the run.

clusterCount int

The number of clusters the advance covers.

Returns

TextLineMetrics

Line metrics in twips.