C# Class NOpenType.Tables.HorizontalMetrics

Inheritance: TableEntry
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
GetAdvanceWidth ( int index ) : ushort
GetHMatric ( int index, ushort &advWidth, short &lsb ) : void
GetLeftSideBearing ( int index ) : short
HorizontalMetrics ( UInt16 numOfHMatrics, UInt16 numGlyphs ) : System

Protected Methods

Method Description
ReadContentFrom ( BinaryReader input ) : void

Method Details

GetAdvanceWidth() public method

public GetAdvanceWidth ( int index ) : ushort
index int
return ushort

GetHMatric() public method

public GetHMatric ( int index, ushort &advWidth, short &lsb ) : void
index int
advWidth ushort
lsb short
return void

GetLeftSideBearing() public method

public GetLeftSideBearing ( int index ) : short
index int
return short

HorizontalMetrics() public method

public HorizontalMetrics ( UInt16 numOfHMatrics, UInt16 numGlyphs ) : System
numOfHMatrics System.UInt16
numGlyphs System.UInt16
return System

ReadContentFrom() protected method

protected ReadContentFrom ( BinaryReader input ) : void
input System.IO.BinaryReader
return void