This documentation is for the old version. Go to the latest Graphics Mill docs

Font.GetC Method

Returns C spacing from ABC metric for given character.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Function GetC ( _
	symbol As Char _
) As Single
C#
public float GetC(
	char symbol
)

Parameters

symbol

Type: System.Char

Character to retrieve C spacing for.

Return Value

Value containing C spacing from ABC metrics for given character.

Remarks

ABC metric is defined for TrueType fonts in the following way:
  • A spacing the distance to add to the current position before drawing the character glyph.
  • B spacing the width of the drawn portion of the character glyph.
  • C spacing the distance to add to the current position to provide white space to the right of the character glyph.
The total width of a character is the summation of the A, B, and C spaces. Either the A or the C space can be negative to indicate underhangs or overhangs.

ABC metric makes no sense for non-TrueType fonts.

See Also

Reference