Inheritance diagram for HPS.TextMetrics:

Public Types

enum  Options { Options.Default = 0, Options.Extended = 1, Options.PerGlyph = 2, Options.ExtendedPerGlyph = 3 }
 
enum  Units { Units.Fractional = 0 }
 

Public Member Functions

virtual void Dispose ()
 
TextMetrics (HPS.TextMetrics in_that)
 

Protected Member Functions

virtual void deleteCptr ()
 

Protected Attributes

bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The TextMetrics class is a concept class for TextMetrics related enum classes.

Member Enumeration Documentation

◆ Options

Enumerates the types of Text Metrics computations.

Enumerator
Default 

This option will return a result equivalent to ComputeTextExtent.

Extended 

Will return a result equivalent to ComputeTextExtent and includes max ascender and descender values.

PerGlyph 

Same as Default, but one pair of values per character.

ExtendedPerGlyph 

Same as PerGlyph, but will also inlcude ascender and descender values per character.

◆ Units

enum HPS.TextMetrics.Units
strong

Enumerates the space metrics are returned in.

Enumerator
Fractional 

Metrics are returned as a fraction of the window size (0 - 1).


The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.TextMetrics.cs