mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
36 lines
1007 B
C#
36 lines
1007 B
C#
//Apache2, 2016-present, WinterDev
|
|
|
|
|
|
namespace Typography.OpenFont.Tables
|
|
{
|
|
/// <summary>
|
|
/// replaceable glyph index list
|
|
/// </summary>
|
|
public interface IGlyphIndexList
|
|
{
|
|
int Count { get; }
|
|
ushort this[int index] { get; }
|
|
|
|
/// <summary>
|
|
/// remove:add_new 1:1
|
|
/// </summary>
|
|
/// <param name="index"></param>
|
|
/// <param name="newGlyphIndex"></param>
|
|
void Replace(int index, ushort newGlyphIndex);
|
|
/// <summary>
|
|
/// remove:add_new >=1:1
|
|
/// </summary>
|
|
/// <param name="index"></param>
|
|
/// <param name="removeLen"></param>
|
|
/// <param name="newGlyphIndex"></param>
|
|
void Replace(int index, int removeLen, ushort newGlyphIndex);
|
|
/// <summary>
|
|
/// remove: add_new 1:>=1
|
|
/// </summary>
|
|
/// <param name="index"></param>
|
|
/// <param name="newGlyphIndices"></param>
|
|
void Replace(int index, ushort[] newGlyphIndices);
|
|
}
|
|
|
|
}
|