#include <ICompositeFont.h>
CharacterRange. Used in CharRangeCollection.
- See Also
- SetCharRanges
Get Unicode value that first character maps to in component font.
- Returns
- UTF32TextChar destination character in component font.
Get Unicode value of first character in composite font.
- Returns
- UTF32TextChar first character in composite font.
Get Unicode value of last character in composite font.
- Returns
- UTF32TextChar last character in composite font.
Get Unicode value that input character maps to in composite font.
- Returns
- UTF32TextChar character in composite font.
| int32 CharacterRange::GetScript | ( | | ) | const |
| inline |
| bool16 CharacterRange::operator== | ( | const CharacterRange & | charRange | ) | const |
| inline |
| void CharacterRange::ReadWrite | ( | IPMStream * | s | ) | |
| inline |
Read or Write values.
- Parameters
| s | stream to read/write to. |
Reset destination of range.
- Parameters
| destChar | new Unicode value for what first character maps to in component font. |
Reset beginning of range. Call updates destchar to remapped value of new firstChar.
- Parameters
| firstChar | new Unicode value for first character in composite font. |
- Returns
- bool16 kFalse if firstchar is greater than lastchar.
Reset end of range.
- Parameters
| lastChar | new Unicode value for last character in composite font. |
- Returns
- bool16 kFalse if lastchar is less than firstchar.
Set range with unicode values.
- Parameters
| firstChar | Unicode value of first character in composite font. |
| lastChar | Unicode value of last character in composite font. |
| destChar | Unicode value that first character maps to in component font. In most cases destChar == firstChar. If you want to map a component font to a different area in the composite font you will want to use this value. |
| script | OBSOLETE. |