Class ChainingContextualTable<T>
public abstract class ChainingContextualTable<T> : ContextualTable<T> where T : ContextualRule
Type Parameters
T
- Inheritance
-
ChainingContextualTable<T>
- Derived
- Inherited Members
Constructors
ChainingContextualTable(OpenTypeFontTableReader, int)
protected ChainingContextualTable(OpenTypeFontTableReader openReader, int lookupFlag)
Parameters
openReader
OpenTypeFontTableReaderlookupFlag
int
Methods
CheckIfBacktrackContextMatch(GlyphLine, T)
Checks if given glyph line at the given position matches given rule.
protected virtual bool CheckIfBacktrackContextMatch(GlyphLine line, T rule)
Parameters
line
GlyphLineglyph line to be checked
rule
Trule to be compared with a given line
Returns
- bool
true if given glyph line matches given rule
CheckIfLookaheadContextMatch(GlyphLine, T, int)
Checks if given glyph line at the given position matches given rule.
protected virtual bool CheckIfLookaheadContextMatch(GlyphLine line, T rule, int startIdx)
Parameters
line
GlyphLineglyph line to be checked
rule
Trule to be compared with a given line
startIdx
intglyph line position
Returns
- bool
true if given glyph line at the given position matches given rule
GetMatchingContextRule(GlyphLine)
public override T GetMatchingContextRule(GlyphLine line)
Parameters
line
GlyphLine
Returns
- T