Interface GlyphSubstitutionClass.Substitution
Assembly: FastReport.dll
Syntax
public interface Substitution
Methods
Apply(List<UInt16>, UInt16[], ref Int32)
Return true if was applied
Declaration
bool Apply(List<ushort> list, ushort[] chars, ref int index)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.UInt16> |
list |
|
System.UInt16[] |
chars |
|
System.Int32 |
index |
|
Returns
Type |
Description |
System.Boolean |
|
ApplyForce(List<UInt16>, UInt16[], ref Int32, Int32)
Apply this Substitution with specified coverageIndex, cant be called only after IsApply
Declaration
void ApplyForce(List<ushort> list, ushort[] chars, ref int index, int coverageIndex)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.UInt16> |
list |
|
System.UInt16[] |
chars |
|
System.Int32 |
index |
|
System.Int32 |
coverageIndex |
|
GetList(GlyphSubstitutionClass.LookupTypes[])
Declaration
IEnumerable<KeyValuePair<ushort[], ushort[]>> GetList(GlyphSubstitutionClass.LookupTypes[] types)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.UInt16[], System.UInt16[]>> |
|
IsApply(UInt16[], Int32)
Return coverageIndex for ApplyForce or if fail then return -1
Declaration
int IsApply(ushort[] chars, int index)
Parameters
Type |
Name |
Description |
System.UInt16[] |
chars |
|
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|