Table of Contents

Class Functions

Namespace
HarfBuzz
Assembly
HarfBuzz-0.0.dll
public static class Functions
Inheritance
Functions
Inherited Members

Methods

AatLayoutFeatureTypeGetNameId(face_t, aat_layout_feature_type_t)

[Version("2.2.0")]
public static ot_name_id_t AatLayoutFeatureTypeGetNameId(face_t face, aat_layout_feature_type_t featureType)

Parameters

face face_t
featureType aat_layout_feature_type_t

Returns

ot_name_id_t

AatLayoutHasPositioning(face_t)

[Version("2.3.0")]
public static bool_t AatLayoutHasPositioning(face_t face)

Parameters

face face_t

Returns

bool_t

AatLayoutHasSubstitution(face_t)

[Version("2.3.0")]
public static bool_t AatLayoutHasSubstitution(face_t face)

Parameters

face face_t

Returns

bool_t

AatLayoutHasTracking(face_t)

[Version("2.3.0")]
public static bool_t AatLayoutHasTracking(face_t face)

Parameters

face face_t

Returns

bool_t

BlobCopyWritableOrFail(blob_t)

[Version("1.8.0")]
public static blob_t BlobCopyWritableOrFail(blob_t blob)

Parameters

blob blob_t

Returns

blob_t

BlobCreateFromFile(string)

[Version("1.7.7")]
public static blob_t BlobCreateFromFile(string fileName)

Parameters

fileName string

Returns

blob_t

BlobCreateFromFileOrFail(string)

[Version("2.8.2")]
public static blob_t BlobCreateFromFileOrFail(string fileName)

Parameters

fileName string

Returns

blob_t

BlobCreateSubBlob(blob_t, uint, uint)

[Version("0.9.2")]
public static blob_t BlobCreateSubBlob(blob_t parent, uint offset, uint length)

Parameters

parent blob_t
offset uint
length uint

Returns

blob_t

BlobDestroy(blob_t)

[Version("0.9.2")]
public static void BlobDestroy(blob_t blob)

Parameters

blob blob_t

BlobGetData(blob_t, out uint)

[Version("0.9.2")]
public static string[]? BlobGetData(blob_t blob, out uint length)

Parameters

blob blob_t
length uint

Returns

string[]

BlobGetDataWritable(blob_t, out uint)

[Version("0.9.2")]
public static string[] BlobGetDataWritable(blob_t blob, out uint length)

Parameters

blob blob_t
length uint

Returns

string[]

BlobGetEmpty()

[Version("0.9.2")]
public static blob_t BlobGetEmpty()

Returns

blob_t

BlobGetLength(blob_t)

[Version("0.9.2")]
public static uint BlobGetLength(blob_t blob)

Parameters

blob blob_t

Returns

uint

BlobGetUserData(blob_t, user_data_key_t)

[Version("0.9.2")]
public static IntPtr BlobGetUserData(blob_t blob, user_data_key_t key)

Parameters

blob blob_t
key user_data_key_t

Returns

IntPtr

BlobIsImmutable(blob_t)

[Version("0.9.2")]
public static bool_t BlobIsImmutable(blob_t blob)

Parameters

blob blob_t

Returns

bool_t

BlobMakeImmutable(blob_t)

[Version("0.9.2")]
public static void BlobMakeImmutable(blob_t blob)

Parameters

blob blob_t

BlobReference(blob_t)

[Version("0.9.2")]
public static blob_t BlobReference(blob_t blob)

Parameters

blob blob_t

Returns

blob_t

BufferAdd(buffer_t, codepoint_t, uint)

[Version("0.9.7")]
public static void BufferAdd(buffer_t buffer, codepoint_t codepoint, uint cluster)

Parameters

buffer buffer_t
codepoint codepoint_t
cluster uint

BufferAddLatin1(buffer_t, Span<byte>, uint, int)

[Version("0.9.39")]
public static void BufferAddLatin1(buffer_t buffer, Span<byte> text, uint itemOffset, int itemLength)

Parameters

buffer buffer_t
text Span<byte>
itemOffset uint
itemLength int

BufferAddUtf16(buffer_t, Span<ushort>, uint, int)

[Version("0.9.2")]
public static void BufferAddUtf16(buffer_t buffer, Span<ushort> text, uint itemOffset, int itemLength)

Parameters

buffer buffer_t
text Span<ushort>
itemOffset uint
itemLength int

BufferAddUtf32(buffer_t, Span<uint>, uint, int)

[Version("0.9.2")]
public static void BufferAddUtf32(buffer_t buffer, Span<uint> text, uint itemOffset, int itemLength)

Parameters

buffer buffer_t
text Span<uint>
itemOffset uint
itemLength int

BufferAddUtf8(buffer_t, Span<byte>, uint, int)

[Version("0.9.2")]
public static void BufferAddUtf8(buffer_t buffer, Span<byte> text, uint itemOffset, int itemLength)

Parameters

buffer buffer_t
text Span<byte>
itemOffset uint
itemLength int

BufferAllocationSuccessful(buffer_t)

[Version("0.9.2")]
public static bool_t BufferAllocationSuccessful(buffer_t buffer)

Parameters

buffer buffer_t

Returns

bool_t

BufferAppend(buffer_t, buffer_t, uint, uint)

[Version("1.5.0")]
public static void BufferAppend(buffer_t buffer, buffer_t source, uint start, uint end)

Parameters

buffer buffer_t
source buffer_t
start uint
end uint

BufferClearContents(buffer_t)

[Version("0.9.11")]
public static void BufferClearContents(buffer_t buffer)

Parameters

buffer buffer_t

BufferCreate()

[Version("0.9.2")]
public static buffer_t BufferCreate()

Returns

buffer_t

BufferCreateSimilar(buffer_t)

[Version("3.3.0")]
public static buffer_t BufferCreateSimilar(buffer_t src)

Parameters

src buffer_t

Returns

buffer_t

BufferDeserializeGlyphs(buffer_t, string[], int, out string, font_t?, buffer_serialize_format_t)

[Version("0.9.7")]
public static bool_t BufferDeserializeGlyphs(buffer_t buffer, string[] buf, int bufLen, out string endPtr, font_t? font, buffer_serialize_format_t format)

Parameters

buffer buffer_t
buf string[]
bufLen int
endPtr string
font font_t
format buffer_serialize_format_t

Returns

bool_t

BufferDeserializeUnicode(buffer_t, string[], int, out string, buffer_serialize_format_t)

[Version("2.7.3")]
public static bool_t BufferDeserializeUnicode(buffer_t buffer, string[] buf, int bufLen, out string endPtr, buffer_serialize_format_t format)

Parameters

buffer buffer_t
buf string[]
bufLen int
endPtr string
format buffer_serialize_format_t

Returns

bool_t

BufferDestroy(buffer_t)

[Version("0.9.2")]
public static void BufferDestroy(buffer_t buffer)

Parameters

buffer buffer_t

BufferDiff(buffer_t, buffer_t, codepoint_t, uint)

[Version("1.5.0")]
public static buffer_diff_flags_t BufferDiff(buffer_t buffer, buffer_t reference, codepoint_t dottedcircleGlyph, uint positionFuzz)

Parameters

buffer buffer_t
reference buffer_t
dottedcircleGlyph codepoint_t
positionFuzz uint

Returns

buffer_diff_flags_t

BufferGetClusterLevel(buffer_t)

[Version("0.9.42")]
public static buffer_cluster_level_t BufferGetClusterLevel(buffer_t buffer)

Parameters

buffer buffer_t

Returns

buffer_cluster_level_t

BufferGetContentType(buffer_t)

[Version("0.9.5")]
public static buffer_content_type_t BufferGetContentType(buffer_t buffer)

Parameters

buffer buffer_t

Returns

buffer_content_type_t

BufferGetDirection(buffer_t)

[Version("0.9.2")]
public static direction_t BufferGetDirection(buffer_t buffer)

Parameters

buffer buffer_t

Returns

direction_t

BufferGetEmpty()

[Version("0.9.2")]
public static buffer_t BufferGetEmpty()

Returns

buffer_t

BufferGetFlags(buffer_t)

[Version("0.9.7")]
public static buffer_flags_t BufferGetFlags(buffer_t buffer)

Parameters

buffer buffer_t

Returns

buffer_flags_t

BufferGetInvisibleGlyph(buffer_t)

[Version("2.0.0")]
public static codepoint_t BufferGetInvisibleGlyph(buffer_t buffer)

Parameters

buffer buffer_t

Returns

codepoint_t

BufferGetLanguage(buffer_t)

[Version("0.9.2")]
public static language_t BufferGetLanguage(buffer_t buffer)

Parameters

buffer buffer_t

Returns

language_t

BufferGetLength(buffer_t)

[Version("0.9.2")]
public static uint BufferGetLength(buffer_t buffer)

Parameters

buffer buffer_t

Returns

uint

BufferGetNotFoundGlyph(buffer_t)

[Version("3.1.0")]
public static codepoint_t BufferGetNotFoundGlyph(buffer_t buffer)

Parameters

buffer buffer_t

Returns

codepoint_t

BufferGetReplacementCodepoint(buffer_t)

[Version("0.9.31")]
public static codepoint_t BufferGetReplacementCodepoint(buffer_t buffer)

Parameters

buffer buffer_t

Returns

codepoint_t

BufferGetScript(buffer_t)

[Version("0.9.2")]
public static script_t BufferGetScript(buffer_t buffer)

Parameters

buffer buffer_t

Returns

script_t

BufferGetUnicodeFuncs(buffer_t)

[Version("0.9.2")]
public static unicode_funcs_t BufferGetUnicodeFuncs(buffer_t buffer)

Parameters

buffer buffer_t

Returns

unicode_funcs_t

BufferGetUserData(buffer_t, user_data_key_t)

[Version("0.9.2")]
public static IntPtr BufferGetUserData(buffer_t buffer, user_data_key_t key)

Parameters

buffer buffer_t
key user_data_key_t

Returns

IntPtr

BufferGuessSegmentProperties(buffer_t)

[Version("0.9.7")]
public static void BufferGuessSegmentProperties(buffer_t buffer)

Parameters

buffer buffer_t

BufferHasPositions(buffer_t)

[Version("2.7.3")]
public static bool_t BufferHasPositions(buffer_t buffer)

Parameters

buffer buffer_t

Returns

bool_t

BufferNormalizeGlyphs(buffer_t)

[Version("0.9.2")]
public static void BufferNormalizeGlyphs(buffer_t buffer)

Parameters

buffer buffer_t

BufferPreAllocate(buffer_t, uint)

[Version("0.9.2")]
public static bool_t BufferPreAllocate(buffer_t buffer, uint size)

Parameters

buffer buffer_t
size uint

Returns

bool_t

BufferReference(buffer_t)

[Version("0.9.2")]
public static buffer_t BufferReference(buffer_t buffer)

Parameters

buffer buffer_t

Returns

buffer_t

BufferReset(buffer_t)

[Version("0.9.2")]
public static void BufferReset(buffer_t buffer)

Parameters

buffer buffer_t

BufferReverse(buffer_t)

[Version("0.9.2")]
public static void BufferReverse(buffer_t buffer)

Parameters

buffer buffer_t

BufferReverseClusters(buffer_t)

[Version("0.9.2")]
public static void BufferReverseClusters(buffer_t buffer)

Parameters

buffer buffer_t

BufferReverseRange(buffer_t, uint, uint)

[Version("0.9.41")]
public static void BufferReverseRange(buffer_t buffer, uint start, uint end)

Parameters

buffer buffer_t
start uint
end uint

BufferSerializeFormatFromString(Span<byte>)

[Version("0.9.7")]
public static buffer_serialize_format_t BufferSerializeFormatFromString(Span<byte> str)

Parameters

str Span<byte>

Returns

buffer_serialize_format_t

BufferSerializeFormatToString(buffer_serialize_format_t)

[Version("0.9.7")]
public static string BufferSerializeFormatToString(buffer_serialize_format_t format)

Parameters

format buffer_serialize_format_t

Returns

string

BufferSerializeListFormats()

[Version("0.9.7")]
public static string[] BufferSerializeListFormats()

Returns

string[]

BufferSetClusterLevel(buffer_t, buffer_cluster_level_t)

[Version("0.9.42")]
public static void BufferSetClusterLevel(buffer_t buffer, buffer_cluster_level_t clusterLevel)

Parameters

buffer buffer_t
clusterLevel buffer_cluster_level_t

BufferSetContentType(buffer_t, buffer_content_type_t)

[Version("0.9.5")]
public static void BufferSetContentType(buffer_t buffer, buffer_content_type_t contentType)

Parameters

buffer buffer_t
contentType buffer_content_type_t

BufferSetDirection(buffer_t, direction_t)

[Version("0.9.2")]
public static void BufferSetDirection(buffer_t buffer, direction_t direction)

Parameters

buffer buffer_t
direction direction_t

BufferSetFlags(buffer_t, buffer_flags_t)

[Version("0.9.7")]
public static void BufferSetFlags(buffer_t buffer, buffer_flags_t flags)

Parameters

buffer buffer_t
flags buffer_flags_t

BufferSetInvisibleGlyph(buffer_t, codepoint_t)

[Version("2.0.0")]
public static void BufferSetInvisibleGlyph(buffer_t buffer, codepoint_t invisible)

Parameters

buffer buffer_t
invisible codepoint_t

BufferSetLanguage(buffer_t, language_t)

[Version("0.9.2")]
public static void BufferSetLanguage(buffer_t buffer, language_t language)

Parameters

buffer buffer_t
language language_t

BufferSetLength(buffer_t, uint)

[Version("0.9.2")]
public static bool_t BufferSetLength(buffer_t buffer, uint length)

Parameters

buffer buffer_t
length uint

Returns

bool_t

BufferSetNotFoundGlyph(buffer_t, codepoint_t)

[Version("3.1.0")]
public static void BufferSetNotFoundGlyph(buffer_t buffer, codepoint_t notFound)

Parameters

buffer buffer_t
notFound codepoint_t

BufferSetReplacementCodepoint(buffer_t, codepoint_t)

[Version("0.9.31")]
public static void BufferSetReplacementCodepoint(buffer_t buffer, codepoint_t replacement)

Parameters

buffer buffer_t
replacement codepoint_t

BufferSetScript(buffer_t, script_t)

[Version("0.9.2")]
public static void BufferSetScript(buffer_t buffer, script_t script)

Parameters

buffer buffer_t
script script_t

BufferSetSegmentProperties(buffer_t, segment_properties_t)

[Version("0.9.7")]
public static void BufferSetSegmentProperties(buffer_t buffer, segment_properties_t props)

Parameters

buffer buffer_t
props segment_properties_t

BufferSetUnicodeFuncs(buffer_t, unicode_funcs_t)

[Version("0.9.2")]
public static void BufferSetUnicodeFuncs(buffer_t buffer, unicode_funcs_t unicodeFuncs)

Parameters

buffer buffer_t
unicodeFuncs unicode_funcs_t

ColorGetAlpha(color_t)

[Version("2.1.0")]
public static byte ColorGetAlpha(color_t color)

Parameters

color color_t

Returns

byte

ColorGetBlue(color_t)

[Version("2.1.0")]
public static byte ColorGetBlue(color_t color)

Parameters

color color_t

Returns

byte

ColorGetGreen(color_t)

[Version("2.1.0")]
public static byte ColorGetGreen(color_t color)

Parameters

color color_t

Returns

byte

ColorGetRed(color_t)

[Version("2.1.0")]
public static byte ColorGetRed(color_t color)

Parameters

color color_t

Returns

byte

ColorLineGetExtend(color_line_t)

[Version("7.0.0")]
public static paint_extend_t ColorLineGetExtend(color_line_t colorLine)

Parameters

colorLine color_line_t

Returns

paint_extend_t

DirectionFromString(Span<byte>)

[Version("0.9.2")]
public static direction_t DirectionFromString(Span<byte> str)

Parameters

str Span<byte>

Returns

direction_t

DirectionToString(direction_t)

[Version("0.9.2")]
public static string DirectionToString(direction_t direction)

Parameters

direction direction_t

Returns

string

DrawClosePath(draw_funcs_t, IntPtr, draw_state_t)

[Version("4.0.0")]
public static void DrawClosePath(draw_funcs_t dfuncs, IntPtr drawData, draw_state_t st)

Parameters

dfuncs draw_funcs_t
drawData IntPtr
st draw_state_t

DrawCubicTo(draw_funcs_t, IntPtr, draw_state_t, float, float, float, float, float, float)

[Version("4.0.0")]
public static void DrawCubicTo(draw_funcs_t dfuncs, IntPtr drawData, draw_state_t st, float control1X, float control1Y, float control2X, float control2Y, float toX, float toY)

Parameters

dfuncs draw_funcs_t
drawData IntPtr
st draw_state_t
control1X float
control1Y float
control2X float
control2Y float
toX float
toY float

DrawFuncsCreate()

[Version("4.0.0")]
public static draw_funcs_t DrawFuncsCreate()

Returns

draw_funcs_t

DrawFuncsDestroy(draw_funcs_t)

[Version("4.0.0")]
public static void DrawFuncsDestroy(draw_funcs_t dfuncs)

Parameters

dfuncs draw_funcs_t

DrawFuncsGetEmpty()

[Version("7.0.0")]
public static draw_funcs_t DrawFuncsGetEmpty()

Returns

draw_funcs_t

DrawFuncsGetUserData(draw_funcs_t, user_data_key_t)

[Version("7.0.0")]
public static IntPtr DrawFuncsGetUserData(draw_funcs_t dfuncs, user_data_key_t key)

Parameters

dfuncs draw_funcs_t
key user_data_key_t

Returns

IntPtr

DrawFuncsIsImmutable(draw_funcs_t)

[Version("4.0.0")]
public static bool_t DrawFuncsIsImmutable(draw_funcs_t dfuncs)

Parameters

dfuncs draw_funcs_t

Returns

bool_t

DrawFuncsMakeImmutable(draw_funcs_t)

[Version("4.0.0")]
public static void DrawFuncsMakeImmutable(draw_funcs_t dfuncs)

Parameters

dfuncs draw_funcs_t

DrawFuncsReference(draw_funcs_t)

[Version("4.0.0")]
public static draw_funcs_t DrawFuncsReference(draw_funcs_t dfuncs)

Parameters

dfuncs draw_funcs_t

Returns

draw_funcs_t

DrawLineTo(draw_funcs_t, IntPtr, draw_state_t, float, float)

[Version("4.0.0")]
public static void DrawLineTo(draw_funcs_t dfuncs, IntPtr drawData, draw_state_t st, float toX, float toY)

Parameters

dfuncs draw_funcs_t
drawData IntPtr
st draw_state_t
toX float
toY float

DrawMoveTo(draw_funcs_t, IntPtr, draw_state_t, float, float)

[Version("4.0.0")]
public static void DrawMoveTo(draw_funcs_t dfuncs, IntPtr drawData, draw_state_t st, float toX, float toY)

Parameters

dfuncs draw_funcs_t
drawData IntPtr
st draw_state_t
toX float
toY float

DrawQuadraticTo(draw_funcs_t, IntPtr, draw_state_t, float, float, float, float)

[Version("4.0.0")]
public static void DrawQuadraticTo(draw_funcs_t dfuncs, IntPtr drawData, draw_state_t st, float controlX, float controlY, float toX, float toY)

Parameters

dfuncs draw_funcs_t
drawData IntPtr
st draw_state_t
controlX float
controlY float
toX float
toY float

FaceBuilderAddTable(face_t, tag_t, blob_t)

[Version("1.9.0")]
public static bool_t FaceBuilderAddTable(face_t face, tag_t tag, blob_t blob)

Parameters

face face_t
tag tag_t
blob blob_t

Returns

bool_t

FaceBuilderCreate()

[Version("1.9.0")]
public static face_t FaceBuilderCreate()

Returns

face_t

FaceCount(blob_t)

[Version("1.7.7")]
public static uint FaceCount(blob_t blob)

Parameters

blob blob_t

Returns

uint

FaceCreate(blob_t, uint)

[Version("0.9.2")]
public static face_t FaceCreate(blob_t blob, uint index)

Parameters

blob blob_t
index uint

Returns

face_t

FaceDestroy(face_t)

[Version("0.9.2")]
public static void FaceDestroy(face_t face)

Parameters

face face_t

FaceGetEmpty()

[Version("0.9.2")]
public static face_t FaceGetEmpty()

Returns

face_t

FaceGetGlyphCount(face_t)

[Version("0.9.7")]
public static uint FaceGetGlyphCount(face_t face)

Parameters

face face_t

Returns

uint

FaceGetIndex(face_t)

[Version("0.9.2")]
public static uint FaceGetIndex(face_t face)

Parameters

face face_t

Returns

uint

FaceGetUpem(face_t)

[Version("0.9.2")]
public static uint FaceGetUpem(face_t face)

Parameters

face face_t

Returns

uint

FaceGetUserData(face_t, user_data_key_t)

[Version("0.9.2")]
public static IntPtr FaceGetUserData(face_t face, user_data_key_t key)

Parameters

face face_t
key user_data_key_t

Returns

IntPtr

FaceIsImmutable(face_t)

[Version("0.9.2")]
public static bool_t FaceIsImmutable(face_t face)

Parameters

face face_t

Returns

bool_t

FaceMakeImmutable(face_t)

[Version("0.9.2")]
public static void FaceMakeImmutable(face_t face)

Parameters

face face_t

FaceReference(face_t)

[Version("0.9.2")]
public static face_t FaceReference(face_t face)

Parameters

face face_t

Returns

face_t

FaceReferenceBlob(face_t)

[Version("0.9.2")]
public static blob_t FaceReferenceBlob(face_t face)

Parameters

face face_t

Returns

blob_t

FaceReferenceTable(face_t, tag_t)

[Version("0.9.2")]
public static blob_t FaceReferenceTable(face_t face, tag_t tag)

Parameters

face face_t
tag tag_t

Returns

blob_t

FaceSetGlyphCount(face_t, uint)

[Version("0.9.7")]
public static void FaceSetGlyphCount(face_t face, uint glyphCount)

Parameters

face face_t
glyphCount uint

FaceSetIndex(face_t, uint)

[Version("0.9.2")]
public static void FaceSetIndex(face_t face, uint index)

Parameters

face face_t
index uint

FaceSetUpem(face_t, uint)

[Version("0.9.2")]
public static void FaceSetUpem(face_t face, uint upem)

Parameters

face face_t
upem uint

FontAddGlyphOriginForDirection(font_t, codepoint_t, direction_t, ref position_t, ref position_t)

[Version("0.9.2")]
public static void FontAddGlyphOriginForDirection(font_t font, codepoint_t glyph, direction_t direction, ref position_t x, ref position_t y)

Parameters

font font_t
glyph codepoint_t
direction direction_t
x position_t
y position_t

FontChanged(font_t)

[Version("4.4.0")]
public static void FontChanged(font_t font)

Parameters

font font_t

FontCreate(face_t)

[Version("0.9.2")]
public static font_t FontCreate(face_t face)

Parameters

face face_t

Returns

font_t

FontCreateSubFont(font_t)

[Version("0.9.2")]
public static font_t FontCreateSubFont(font_t parent)

Parameters

parent font_t

Returns

font_t

FontDestroy(font_t)

[Version("0.9.2")]
public static void FontDestroy(font_t font)

Parameters

font font_t

FontDrawGlyph(font_t, codepoint_t, draw_funcs_t, IntPtr)

[Version("7.0.0")]
public static void FontDrawGlyph(font_t font, codepoint_t glyph, draw_funcs_t dfuncs, IntPtr drawData)

Parameters

font font_t
glyph codepoint_t
dfuncs draw_funcs_t
drawData IntPtr

FontFuncsCreate()

[Version("0.9.2")]
public static font_funcs_t FontFuncsCreate()

Returns

font_funcs_t

FontFuncsDestroy(font_funcs_t)

[Version("0.9.2")]
public static void FontFuncsDestroy(font_funcs_t ffuncs)

Parameters

ffuncs font_funcs_t

FontFuncsGetEmpty()

[Version("0.9.2")]
public static font_funcs_t FontFuncsGetEmpty()

Returns

font_funcs_t

FontFuncsGetUserData(font_funcs_t, user_data_key_t)

[Version("0.9.2")]
public static IntPtr FontFuncsGetUserData(font_funcs_t ffuncs, user_data_key_t key)

Parameters

ffuncs font_funcs_t
key user_data_key_t

Returns

IntPtr

FontFuncsIsImmutable(font_funcs_t)

[Version("0.9.2")]
public static bool_t FontFuncsIsImmutable(font_funcs_t ffuncs)

Parameters

ffuncs font_funcs_t

Returns

bool_t

FontFuncsMakeImmutable(font_funcs_t)

[Version("0.9.2")]
public static void FontFuncsMakeImmutable(font_funcs_t ffuncs)

Parameters

ffuncs font_funcs_t

FontFuncsReference(font_funcs_t)

[Version("0.9.2")]
public static font_funcs_t FontFuncsReference(font_funcs_t ffuncs)

Parameters

ffuncs font_funcs_t

Returns

font_funcs_t

FontGetEmpty()

[Version("0.9.2")]
public static font_t FontGetEmpty()

Returns

font_t

FontGetExtentsForDirection(font_t, direction_t, out font_extents_t)

[Version("1.1.3")]
public static void FontGetExtentsForDirection(font_t font, direction_t direction, out font_extents_t extents)

Parameters

font font_t
direction direction_t
extents font_extents_t

FontGetFace(font_t)

[Version("0.9.2")]
public static face_t FontGetFace(font_t font)

Parameters

font font_t

Returns

face_t

FontGetGlyph(font_t, codepoint_t, codepoint_t, out codepoint_t)

[Version("0.9.2")]
public static bool_t FontGetGlyph(font_t font, codepoint_t unicode, codepoint_t variationSelector, out codepoint_t glyph)

Parameters

font font_t
unicode codepoint_t
variationSelector codepoint_t
glyph codepoint_t

Returns

bool_t

FontGetGlyphAdvanceForDirection(font_t, codepoint_t, direction_t, out position_t, out position_t)

[Version("0.9.2")]
public static void FontGetGlyphAdvanceForDirection(font_t font, codepoint_t glyph, direction_t direction, out position_t x, out position_t y)

Parameters

font font_t
glyph codepoint_t
direction direction_t
x position_t
y position_t

FontGetGlyphAdvancesForDirection(font_t, direction_t, uint, ref codepoint_t, uint, out position_t, out uint)

[Version("1.8.6")]
public static void FontGetGlyphAdvancesForDirection(font_t font, direction_t direction, uint count, ref codepoint_t firstGlyph, uint glyphStride, out position_t firstAdvance, out uint advanceStride)

Parameters

font font_t
direction direction_t
count uint
firstGlyph codepoint_t
glyphStride uint
firstAdvance position_t
advanceStride uint

FontGetGlyphContourPoint(font_t, codepoint_t, uint, out position_t, out position_t)

[Version("0.9.2")]
public static bool_t FontGetGlyphContourPoint(font_t font, codepoint_t glyph, uint pointIndex, out position_t x, out position_t y)

Parameters

font font_t
glyph codepoint_t
pointIndex uint
x position_t
y position_t

Returns

bool_t

FontGetGlyphContourPointForOrigin(font_t, codepoint_t, uint, direction_t, out position_t, out position_t)

[Version("0.9.2")]
public static bool_t FontGetGlyphContourPointForOrigin(font_t font, codepoint_t glyph, uint pointIndex, direction_t direction, out position_t x, out position_t y)

Parameters

font font_t
glyph codepoint_t
pointIndex uint
direction direction_t
x position_t
y position_t

Returns

bool_t

FontGetGlyphExtents(font_t, codepoint_t, out glyph_extents_t)

[Version("0.9.2")]
public static bool_t FontGetGlyphExtents(font_t font, codepoint_t glyph, out glyph_extents_t extents)

Parameters

font font_t
glyph codepoint_t
extents glyph_extents_t

Returns

bool_t

FontGetGlyphExtentsForOrigin(font_t, codepoint_t, direction_t, out glyph_extents_t)

[Version("0.9.2")]
public static bool_t FontGetGlyphExtentsForOrigin(font_t font, codepoint_t glyph, direction_t direction, out glyph_extents_t extents)

Parameters

font font_t
glyph codepoint_t
direction direction_t
extents glyph_extents_t

Returns

bool_t

FontGetGlyphFromName(font_t, string[], int, out codepoint_t)

[Version("0.9.2")]
public static bool_t FontGetGlyphFromName(font_t font, string[] name, int len, out codepoint_t glyph)

Parameters

font font_t
name string[]
len int
glyph codepoint_t

Returns

bool_t

FontGetGlyphHAdvance(font_t, codepoint_t)

[Version("0.9.2")]
public static position_t FontGetGlyphHAdvance(font_t font, codepoint_t glyph)

Parameters

font font_t
glyph codepoint_t

Returns

position_t

FontGetGlyphHAdvances(font_t, uint, ref codepoint_t, uint, out position_t, uint)

[Version("1.8.6")]
public static void FontGetGlyphHAdvances(font_t font, uint count, ref codepoint_t firstGlyph, uint glyphStride, out position_t firstAdvance, uint advanceStride)

Parameters

font font_t
count uint
firstGlyph codepoint_t
glyphStride uint
firstAdvance position_t
advanceStride uint

FontGetGlyphHKerning(font_t, codepoint_t, codepoint_t)

[Version("0.9.2")]
public static position_t FontGetGlyphHKerning(font_t font, codepoint_t leftGlyph, codepoint_t rightGlyph)

Parameters

font font_t
leftGlyph codepoint_t
rightGlyph codepoint_t

Returns

position_t

FontGetGlyphHOrigin(font_t, codepoint_t, out position_t, out position_t)

[Version("0.9.2")]
public static bool_t FontGetGlyphHOrigin(font_t font, codepoint_t glyph, out position_t x, out position_t y)

Parameters

font font_t
glyph codepoint_t
x position_t
y position_t

Returns

bool_t

FontGetGlyphKerningForDirection(font_t, codepoint_t, codepoint_t, direction_t, out position_t, out position_t)

[Version("0.9.2")]
public static void FontGetGlyphKerningForDirection(font_t font, codepoint_t firstGlyph, codepoint_t secondGlyph, direction_t direction, out position_t x, out position_t y)

Parameters

font font_t
firstGlyph codepoint_t
secondGlyph codepoint_t
direction direction_t
x position_t
y position_t

FontGetGlyphOriginForDirection(font_t, codepoint_t, direction_t, out position_t, out position_t)

[Version("0.9.2")]
public static void FontGetGlyphOriginForDirection(font_t font, codepoint_t glyph, direction_t direction, out position_t x, out position_t y)

Parameters

font font_t
glyph codepoint_t
direction direction_t
x position_t
y position_t

FontGetGlyphShape(font_t, codepoint_t, draw_funcs_t, IntPtr)

[Version("4.0.0")]
public static void FontGetGlyphShape(font_t font, codepoint_t glyph, draw_funcs_t dfuncs, IntPtr drawData)

Parameters

font font_t
glyph codepoint_t
dfuncs draw_funcs_t
drawData IntPtr

FontGetGlyphVAdvance(font_t, codepoint_t)

[Version("0.9.2")]
public static position_t FontGetGlyphVAdvance(font_t font, codepoint_t glyph)

Parameters

font font_t
glyph codepoint_t

Returns

position_t

FontGetGlyphVAdvances(font_t, uint, ref codepoint_t, uint, out position_t, out uint)

[Version("1.8.6")]
public static void FontGetGlyphVAdvances(font_t font, uint count, ref codepoint_t firstGlyph, uint glyphStride, out position_t firstAdvance, out uint advanceStride)

Parameters

font font_t
count uint
firstGlyph codepoint_t
glyphStride uint
firstAdvance position_t
advanceStride uint

FontGetGlyphVKerning(font_t, codepoint_t, codepoint_t)

[Version("0.9.2")]
public static position_t FontGetGlyphVKerning(font_t font, codepoint_t topGlyph, codepoint_t bottomGlyph)

Parameters

font font_t
topGlyph codepoint_t
bottomGlyph codepoint_t

Returns

position_t

FontGetGlyphVOrigin(font_t, codepoint_t, out position_t, out position_t)

[Version("0.9.2")]
public static bool_t FontGetGlyphVOrigin(font_t font, codepoint_t glyph, out position_t x, out position_t y)

Parameters

font font_t
glyph codepoint_t
x position_t
y position_t

Returns

bool_t

FontGetHExtents(font_t, out font_extents_t)

[Version("1.1.3")]
public static bool_t FontGetHExtents(font_t font, out font_extents_t extents)

Parameters

font font_t
extents font_extents_t

Returns

bool_t

FontGetNominalGlyph(font_t, codepoint_t, out codepoint_t)

[Version("1.2.3")]
public static bool_t FontGetNominalGlyph(font_t font, codepoint_t unicode, out codepoint_t glyph)

Parameters

font font_t
unicode codepoint_t
glyph codepoint_t

Returns

bool_t

FontGetNominalGlyphs(font_t, uint, ref codepoint_t, uint, out codepoint_t, uint)

[Version("2.6.3")]
public static uint FontGetNominalGlyphs(font_t font, uint count, ref codepoint_t firstUnicode, uint unicodeStride, out codepoint_t firstGlyph, uint glyphStride)

Parameters

font font_t
count uint
firstUnicode codepoint_t
unicodeStride uint
firstGlyph codepoint_t
glyphStride uint

Returns

uint

FontGetParent(font_t)

[Version("0.9.2")]
public static font_t FontGetParent(font_t font)

Parameters

font font_t

Returns

font_t

FontGetPpem(font_t, out uint, out uint)

[Version("0.9.2")]
public static void FontGetPpem(font_t font, out uint xPpem, out uint yPpem)

Parameters

font font_t
xPpem uint
yPpem uint

FontGetPtem(font_t)

[Version("1.6.0")]
public static float FontGetPtem(font_t font)

Parameters

font font_t

Returns

float

FontGetScale(font_t, out int, out int)

[Version("0.9.2")]
public static void FontGetScale(font_t font, out int xScale, out int yScale)

Parameters

font font_t
xScale int
yScale int

FontGetSerial(font_t)

[Version("4.4.0")]
public static uint FontGetSerial(font_t font)

Parameters

font font_t

Returns

uint

FontGetSyntheticBold(font_t, out float, out float, out bool_t)

[Version("7.0.0")]
public static void FontGetSyntheticBold(font_t font, out float xEmbolden, out float yEmbolden, out bool_t inPlace)

Parameters

font font_t
xEmbolden float
yEmbolden float
inPlace bool_t

FontGetSyntheticSlant(font_t)

[Version("3.3.0")]
public static float FontGetSyntheticSlant(font_t font)

Parameters

font font_t

Returns

float

FontGetUserData(font_t, user_data_key_t)

[Version("0.9.2")]
public static IntPtr FontGetUserData(font_t font, user_data_key_t key)

Parameters

font font_t
key user_data_key_t

Returns

IntPtr

FontGetVExtents(font_t, out font_extents_t)

[Version("1.1.3")]
public static bool_t FontGetVExtents(font_t font, out font_extents_t extents)

Parameters

font font_t
extents font_extents_t

Returns

bool_t

FontGetVarCoordsDesign(font_t, out uint)

[Version("3.3.0")]
public static IntPtr FontGetVarCoordsDesign(font_t font, out uint length)

Parameters

font font_t
length uint

Returns

IntPtr

FontGetVarCoordsNormalized(font_t, out uint)

[Version("1.4.2")]
public static IntPtr FontGetVarCoordsNormalized(font_t font, out uint length)

Parameters

font font_t
length uint

Returns

IntPtr

FontGetVarNamedInstance(font_t)

[Version("7.0.0")]
public static uint FontGetVarNamedInstance(font_t font)

Parameters

font font_t

Returns

uint

FontGetVariationGlyph(font_t, codepoint_t, codepoint_t, out codepoint_t)

[Version("1.2.3")]
public static bool_t FontGetVariationGlyph(font_t font, codepoint_t unicode, codepoint_t variationSelector, out codepoint_t glyph)

Parameters

font font_t
unicode codepoint_t
variationSelector codepoint_t
glyph codepoint_t

Returns

bool_t

FontGlyphFromString(font_t, Span<byte>, out codepoint_t)

[Version("0.9.2")]
public static bool_t FontGlyphFromString(font_t font, Span<byte> s, out codepoint_t glyph)

Parameters

font font_t
s Span<byte>
glyph codepoint_t

Returns

bool_t

FontIsImmutable(font_t)

[Version("0.9.2")]
public static bool_t FontIsImmutable(font_t font)

Parameters

font font_t

Returns

bool_t

FontMakeImmutable(font_t)

[Version("0.9.2")]
public static void FontMakeImmutable(font_t font)

Parameters

font font_t

FontPaintGlyph(font_t, codepoint_t, paint_funcs_t, IntPtr, uint, color_t)

[Version("7.0.0")]
public static void FontPaintGlyph(font_t font, codepoint_t glyph, paint_funcs_t pfuncs, IntPtr paintData, uint paletteIndex, color_t foreground)

Parameters

font font_t
glyph codepoint_t
pfuncs paint_funcs_t
paintData IntPtr
paletteIndex uint
foreground color_t

FontReference(font_t)

[Version("0.9.2")]
public static font_t FontReference(font_t font)

Parameters

font font_t

Returns

font_t

FontSetFace(font_t, face_t)

[Version("1.4.3")]
public static void FontSetFace(font_t font, face_t face)

Parameters

font font_t
face face_t

FontSetParent(font_t, font_t)

[Version("1.0.5")]
public static void FontSetParent(font_t font, font_t parent)

Parameters

font font_t
parent font_t

FontSetPpem(font_t, uint, uint)

[Version("0.9.2")]
public static void FontSetPpem(font_t font, uint xPpem, uint yPpem)

Parameters

font font_t
xPpem uint
yPpem uint

FontSetPtem(font_t, float)

[Version("1.6.0")]
public static void FontSetPtem(font_t font, float ptem)

Parameters

font font_t
ptem float

FontSetScale(font_t, int, int)

[Version("0.9.2")]
public static void FontSetScale(font_t font, int xScale, int yScale)

Parameters

font font_t
xScale int
yScale int

FontSetSyntheticBold(font_t, float, float, bool_t)

[Version("7.0.0")]
public static void FontSetSyntheticBold(font_t font, float xEmbolden, float yEmbolden, bool_t inPlace)

Parameters

font font_t
xEmbolden float
yEmbolden float
inPlace bool_t

FontSetSyntheticSlant(font_t, float)

[Version("3.3.0")]
public static void FontSetSyntheticSlant(font_t font, float slant)

Parameters

font font_t
slant float

FontSetVarCoordsDesign(font_t, Span<float>)

[Version("1.4.2")]
public static void FontSetVarCoordsDesign(font_t font, Span<float> coords)

Parameters

font font_t
coords Span<float>

FontSetVarCoordsNormalized(font_t, Span<int>)

[Version("1.4.2")]
public static void FontSetVarCoordsNormalized(font_t font, Span<int> coords)

Parameters

font font_t
coords Span<int>

FontSetVarNamedInstance(font_t, uint)

[Version("2.6.0")]
public static void FontSetVarNamedInstance(font_t font, uint instanceIndex)

Parameters

font font_t
instanceIndex uint

FontSetVariation(font_t, tag_t, float)

[Version("7.1.0")]
public static void FontSetVariation(font_t font, tag_t tag, float value)

Parameters

font font_t
tag tag_t
value float

FontSetVariations(font_t, variation_t[])

[Version("1.4.2")]
public static void FontSetVariations(font_t font, variation_t[] variations)

Parameters

font font_t
variations variation_t[]

FontSubtractGlyphOriginForDirection(font_t, codepoint_t, direction_t, ref position_t, ref position_t)

[Version("0.9.2")]
public static void FontSubtractGlyphOriginForDirection(font_t font, codepoint_t glyph, direction_t direction, ref position_t x, ref position_t y)

Parameters

font font_t
glyph codepoint_t
direction direction_t
x position_t
y position_t

FtFaceCreateCached(Face)

[Version("0.9.2")]
public static face_t FtFaceCreateCached(Face ftFace)

Parameters

ftFace Face

Returns

face_t

FtFaceCreateReferenced(Face)

[Version("0.9.38")]
public static face_t FtFaceCreateReferenced(Face ftFace)

Parameters

ftFace Face

Returns

face_t

FtFontChanged(font_t)

[Version("1.0.5")]
public static void FtFontChanged(font_t font)

Parameters

font font_t

FtFontCreateReferenced(Face)

[Version("0.9.38")]
public static font_t FtFontCreateReferenced(Face ftFace)

Parameters

ftFace Face

Returns

font_t

FtFontGetFace(font_t)

[Version("0.9.2")]
public static Face? FtFontGetFace(font_t font)

Parameters

font font_t

Returns

Face

FtFontGetLoadFlags(font_t)

[Version("1.0.5")]
public static int FtFontGetLoadFlags(font_t font)

Parameters

font font_t

Returns

int

FtFontLockFace(font_t)

[Version("2.6.5")]
public static Face? FtFontLockFace(font_t font)

Parameters

font font_t

Returns

Face

FtFontSetFuncs(font_t)

[Version("1.0.5")]
public static void FtFontSetFuncs(font_t font)

Parameters

font font_t

FtFontSetLoadFlags(font_t, int)

[Version("1.0.5")]
public static void FtFontSetLoadFlags(font_t font, int loadFlags)

Parameters

font font_t
loadFlags int

FtFontUnlockFace(font_t)

[Version("2.6.5")]
public static void FtFontUnlockFace(font_t font)

Parameters

font font_t

FtHbFontChanged(font_t)

[Version("4.4.0")]
public static bool_t FtHbFontChanged(font_t font)

Parameters

font font_t

Returns

bool_t

GlibBlobCreate(Bytes)

[Version("0.9.38")]
public static blob_t GlibBlobCreate(Bytes gbytes)

Parameters

gbytes Bytes

Returns

blob_t

GlibGetUnicodeFuncs()

[Version("0.9.38")]
public static unicode_funcs_t GlibGetUnicodeFuncs()

Returns

unicode_funcs_t

GlibScriptFromScript(script_t)

[Version("0.9.38")]
public static UnicodeScript GlibScriptFromScript(script_t script)

Parameters

script script_t

Returns

UnicodeScript

GlibScriptToScript(UnicodeScript)

[Version("0.9.38")]
public static script_t GlibScriptToScript(UnicodeScript script)

Parameters

script UnicodeScript

Returns

script_t

GlyphInfoGetGlyphFlags(glyph_info_t)

[Version("1.5.0")]
public static glyph_flags_t GlyphInfoGetGlyphFlags(glyph_info_t info)

Parameters

info glyph_info_t

Returns

glyph_flags_t

LanguageFromString(Span<byte>)

[Version("0.9.2")]
public static language_t LanguageFromString(Span<byte> str)

Parameters

str Span<byte>

Returns

language_t

LanguageGetDefault()

[Version("0.9.2")]
public static language_t LanguageGetDefault()

Returns

language_t

LanguageMatches(language_t, language_t)

[Version("5.0.0")]
public static bool_t LanguageMatches(language_t language, language_t specific)

Parameters

language language_t
specific language_t

Returns

bool_t

LanguageToString(language_t)

[Version("0.9.2")]
public static string LanguageToString(language_t language)

Parameters

language language_t

Returns

string

MapAllocationSuccessful(map_t)

[Version("1.7.7")]
public static bool_t MapAllocationSuccessful(map_t map)

Parameters

map map_t

Returns

bool_t

MapClear(map_t)

[Version("1.7.7")]
public static void MapClear(map_t map)

Parameters

map map_t

MapCopy(map_t)

[Version("4.4.0")]
public static map_t MapCopy(map_t map)

Parameters

map map_t

Returns

map_t

MapCreate()

[Version("1.7.7")]
public static map_t MapCreate()

Returns

map_t

MapDel(map_t, codepoint_t)

[Version("1.7.7")]
public static void MapDel(map_t map, codepoint_t key)

Parameters

map map_t
key codepoint_t

MapDestroy(map_t)

[Version("1.7.7")]
public static void MapDestroy(map_t map)

Parameters

map map_t

MapGet(map_t, codepoint_t)

[Version("1.7.7")]
public static codepoint_t MapGet(map_t map, codepoint_t key)

Parameters

map map_t
key codepoint_t

Returns

codepoint_t

MapGetEmpty()

[Version("1.7.7")]
public static map_t MapGetEmpty()

Returns

map_t

MapGetPopulation(map_t)

[Version("1.7.7")]
public static uint MapGetPopulation(map_t map)

Parameters

map map_t

Returns

uint

MapGetUserData(map_t, user_data_key_t)

[Version("1.7.7")]
public static IntPtr MapGetUserData(map_t map, user_data_key_t key)

Parameters

map map_t
key user_data_key_t

Returns

IntPtr

MapHas(map_t, codepoint_t)

[Version("1.7.7")]
public static bool_t MapHas(map_t map, codepoint_t key)

Parameters

map map_t
key codepoint_t

Returns

bool_t

MapHash(map_t)

[Version("4.4.0")]
public static uint MapHash(map_t map)

Parameters

map map_t

Returns

uint

MapIsEmpty(map_t)

[Version("1.7.7")]
public static bool_t MapIsEmpty(map_t map)

Parameters

map map_t

Returns

bool_t

MapIsEqual(map_t, map_t)

[Version("4.3.0")]
public static bool_t MapIsEqual(map_t map, map_t other)

Parameters

map map_t
other map_t

Returns

bool_t

MapKeys(map_t, set_t)

[Version("7.0.0")]
public static void MapKeys(map_t map, set_t keys)

Parameters

map map_t
keys set_t

MapNext(map_t, ref int, out codepoint_t, out codepoint_t)

[Version("7.0.0")]
public static bool_t MapNext(map_t map, ref int idx, out codepoint_t key, out codepoint_t value)

Parameters

map map_t
idx int
key codepoint_t
value codepoint_t

Returns

bool_t

MapReference(map_t)

[Version("1.7.7")]
public static map_t MapReference(map_t map)

Parameters

map map_t

Returns

map_t

MapSet(map_t, codepoint_t, codepoint_t)

[Version("1.7.7")]
public static void MapSet(map_t map, codepoint_t key, codepoint_t value)

Parameters

map map_t
key codepoint_t
value codepoint_t

MapUpdate(map_t, map_t)

[Version("7.0.0")]
public static void MapUpdate(map_t map, map_t other)

Parameters

map map_t
other map_t

MapValues(map_t, set_t)

[Version("7.0.0")]
public static void MapValues(map_t map, set_t values)

Parameters

map map_t
values set_t

OtColorGlyphHasPaint(face_t, codepoint_t)

[Version("7.0.0")]
public static bool_t OtColorGlyphHasPaint(face_t face, codepoint_t glyph)

Parameters

face face_t
glyph codepoint_t

Returns

bool_t

OtColorGlyphReferencePng(font_t, codepoint_t)

[Version("2.1.0")]
public static blob_t OtColorGlyphReferencePng(font_t font, codepoint_t glyph)

Parameters

font font_t
glyph codepoint_t

Returns

blob_t

OtColorGlyphReferenceSvg(face_t, codepoint_t)

[Version("2.1.0")]
public static blob_t OtColorGlyphReferenceSvg(face_t face, codepoint_t glyph)

Parameters

face face_t
glyph codepoint_t

Returns

blob_t

OtColorHasLayers(face_t)

[Version("2.1.0")]
public static bool_t OtColorHasLayers(face_t face)

Parameters

face face_t

Returns

bool_t

OtColorHasPaint(face_t)

[Version("7.0.0")]
public static bool_t OtColorHasPaint(face_t face)

Parameters

face face_t

Returns

bool_t

OtColorHasPalettes(face_t)

[Version("2.1.0")]
public static bool_t OtColorHasPalettes(face_t face)

Parameters

face face_t

Returns

bool_t

OtColorHasPng(face_t)

[Version("2.1.0")]
public static bool_t OtColorHasPng(face_t face)

Parameters

face face_t

Returns

bool_t

OtColorHasSvg(face_t)

[Version("2.1.0")]
public static bool_t OtColorHasSvg(face_t face)

Parameters

face face_t

Returns

bool_t

OtColorPaletteColorGetNameId(face_t, uint)

[Version("2.1.0")]
public static ot_name_id_t OtColorPaletteColorGetNameId(face_t face, uint colorIndex)

Parameters

face face_t
colorIndex uint

Returns

ot_name_id_t

OtColorPaletteGetCount(face_t)

[Version("2.1.0")]
public static uint OtColorPaletteGetCount(face_t face)

Parameters

face face_t

Returns

uint

OtColorPaletteGetFlags(face_t, uint)

[Version("2.1.0")]
public static ot_color_palette_flags_t OtColorPaletteGetFlags(face_t face, uint paletteIndex)

Parameters

face face_t
paletteIndex uint

Returns

ot_color_palette_flags_t

OtColorPaletteGetNameId(face_t, uint)

[Version("2.1.0")]
public static ot_name_id_t OtColorPaletteGetNameId(face_t face, uint paletteIndex)

Parameters

face face_t
paletteIndex uint

Returns

ot_name_id_t

OtFontSetFuncs(font_t)

[Version("0.9.28")]
public static void OtFontSetFuncs(font_t font)

Parameters

font font_t

OtLayoutFeatureGetNameIds(face_t, tag_t, uint, out ot_name_id_t, out ot_name_id_t, out ot_name_id_t, out uint, out ot_name_id_t)

[Version("2.0.0")]
public static bool_t OtLayoutFeatureGetNameIds(face_t face, tag_t tableTag, uint featureIndex, out ot_name_id_t labelId, out ot_name_id_t tooltipId, out ot_name_id_t sampleId, out uint numNamedParameters, out ot_name_id_t firstParamId)

Parameters

face face_t
tableTag tag_t
featureIndex uint
labelId ot_name_id_t
tooltipId ot_name_id_t
sampleId ot_name_id_t
numNamedParameters uint
firstParamId ot_name_id_t

Returns

bool_t

OtLayoutGetBaseline(font_t, ot_layout_baseline_tag_t, direction_t, tag_t, tag_t, out position_t)

[Version("2.6.0")]
public static bool_t OtLayoutGetBaseline(font_t font, ot_layout_baseline_tag_t baselineTag, direction_t direction, tag_t scriptTag, tag_t languageTag, out position_t coord)

Parameters

font font_t
baselineTag ot_layout_baseline_tag_t
direction direction_t
scriptTag tag_t
languageTag tag_t
coord position_t

Returns

bool_t

OtLayoutGetBaseline2(font_t, ot_layout_baseline_tag_t, direction_t, script_t, language_t?, out position_t)

[Version("8.0.0")]
public static bool_t OtLayoutGetBaseline2(font_t font, ot_layout_baseline_tag_t baselineTag, direction_t direction, script_t script, language_t? language, out position_t coord)

Parameters

font font_t
baselineTag ot_layout_baseline_tag_t
direction direction_t
script script_t
language language_t
coord position_t

Returns

bool_t

OtLayoutGetBaselineWithFallback(font_t, ot_layout_baseline_tag_t, direction_t, tag_t, tag_t, out position_t)

[Version("4.0.0")]
public static void OtLayoutGetBaselineWithFallback(font_t font, ot_layout_baseline_tag_t baselineTag, direction_t direction, tag_t scriptTag, tag_t languageTag, out position_t coord)

Parameters

font font_t
baselineTag ot_layout_baseline_tag_t
direction direction_t
scriptTag tag_t
languageTag tag_t
coord position_t

OtLayoutGetBaselineWithFallback2(font_t, ot_layout_baseline_tag_t, direction_t, script_t, language_t?, out position_t)

[Version("8.0.0")]
public static void OtLayoutGetBaselineWithFallback2(font_t font, ot_layout_baseline_tag_t baselineTag, direction_t direction, script_t script, language_t? language, out position_t coord)

Parameters

font font_t
baselineTag ot_layout_baseline_tag_t
direction direction_t
script script_t
language language_t
coord position_t

OtLayoutGetGlyphClass(face_t, codepoint_t)

[Version("0.9.7")]
public static ot_layout_glyph_class_t OtLayoutGetGlyphClass(face_t face, codepoint_t glyph)

Parameters

face face_t
glyph codepoint_t

Returns

ot_layout_glyph_class_t

OtLayoutGetHorizontalBaselineTagForScript(script_t)

[Version("4.0.0")]
public static ot_layout_baseline_tag_t OtLayoutGetHorizontalBaselineTagForScript(script_t script)

Parameters

script script_t

Returns

ot_layout_baseline_tag_t

OtLayoutGetSizeParams(face_t, out uint, out uint, out ot_name_id_t, out uint, out uint)

[Version("0.9.10")]
public static bool_t OtLayoutGetSizeParams(face_t face, out uint designSize, out uint subfamilyId, out ot_name_id_t subfamilyNameId, out uint rangeStart, out uint rangeEnd)

Parameters

face face_t
designSize uint
subfamilyId uint
subfamilyNameId ot_name_id_t
rangeStart uint
rangeEnd uint

Returns

bool_t

OtLayoutHasGlyphClasses(face_t)

public static bool_t OtLayoutHasGlyphClasses(face_t face)

Parameters

face face_t

Returns

bool_t

OtLayoutHasPositioning(face_t)

public static bool_t OtLayoutHasPositioning(face_t face)

Parameters

face face_t

Returns

bool_t

OtLayoutHasSubstitution(face_t)

[Version("0.6.0")]
public static bool_t OtLayoutHasSubstitution(face_t face)

Parameters

face face_t

Returns

bool_t

OtLayoutLanguageFindFeature(face_t, tag_t, uint, uint, tag_t, out uint)

[Version("0.6.0")]
public static bool_t OtLayoutLanguageFindFeature(face_t face, tag_t tableTag, uint scriptIndex, uint languageIndex, tag_t featureTag, out uint featureIndex)

Parameters

face face_t
tableTag tag_t
scriptIndex uint
languageIndex uint
featureTag tag_t
featureIndex uint

Returns

bool_t

OtLayoutLanguageGetRequiredFeature(face_t, tag_t, uint, uint, out uint, out tag_t)

[Version("0.9.30")]
public static bool_t OtLayoutLanguageGetRequiredFeature(face_t face, tag_t tableTag, uint scriptIndex, uint languageIndex, out uint featureIndex, out tag_t featureTag)

Parameters

face face_t
tableTag tag_t
scriptIndex uint
languageIndex uint
featureIndex uint
featureTag tag_t

Returns

bool_t

OtLayoutLanguageGetRequiredFeatureIndex(face_t, tag_t, uint, uint, out uint)

[Version("0.6.0")]
public static bool_t OtLayoutLanguageGetRequiredFeatureIndex(face_t face, tag_t tableTag, uint scriptIndex, uint languageIndex, out uint featureIndex)

Parameters

face face_t
tableTag tag_t
scriptIndex uint
languageIndex uint
featureIndex uint

Returns

bool_t

OtLayoutLookupGetOpticalBound(font_t, uint, direction_t, codepoint_t)

[Version("5.3.0")]
public static position_t OtLayoutLookupGetOpticalBound(font_t font, uint lookupIndex, direction_t direction, codepoint_t glyph)

Parameters

font font_t
lookupIndex uint
direction direction_t
glyph codepoint_t

Returns

position_t

OtLayoutLookupWouldSubstitute(face_t, uint, ref codepoint_t, uint, bool_t)

[Version("0.9.7")]
public static bool_t OtLayoutLookupWouldSubstitute(face_t face, uint lookupIndex, ref codepoint_t glyphs, uint glyphsLength, bool_t zeroContext)

Parameters

face face_t
lookupIndex uint
glyphs codepoint_t
glyphsLength uint
zeroContext bool_t

Returns

bool_t

OtLayoutScriptFindLanguage(face_t, tag_t, uint, tag_t, ref uint)

[Version("0.6.0")]
public static bool_t OtLayoutScriptFindLanguage(face_t face, tag_t tableTag, uint scriptIndex, tag_t languageTag, ref uint languageIndex)

Parameters

face face_t
tableTag tag_t
scriptIndex uint
languageTag tag_t
languageIndex uint

Returns

bool_t

OtLayoutScriptSelectLanguage(face_t, tag_t, uint, uint, ref tag_t, out uint)

[Version("2.0.0")]
public static bool_t OtLayoutScriptSelectLanguage(face_t face, tag_t tableTag, uint scriptIndex, uint languageCount, ref tag_t languageTags, out uint languageIndex)

Parameters

face face_t
tableTag tag_t
scriptIndex uint
languageCount uint
languageTags tag_t
languageIndex uint

Returns

bool_t

OtLayoutScriptSelectLanguage2(face_t, tag_t, uint, uint, ref tag_t, out uint, out tag_t)

[Version("7.0.0")]
public static bool_t OtLayoutScriptSelectLanguage2(face_t face, tag_t tableTag, uint scriptIndex, uint languageCount, ref tag_t languageTags, out uint languageIndex, out tag_t chosenLanguage)

Parameters

face face_t
tableTag tag_t
scriptIndex uint
languageCount uint
languageTags tag_t
languageIndex uint
chosenLanguage tag_t

Returns

bool_t

OtLayoutTableChooseScript(face_t, tag_t, ref tag_t, out uint, out tag_t)

public static bool_t OtLayoutTableChooseScript(face_t face, tag_t tableTag, ref tag_t scriptTags, out uint scriptIndex, out tag_t chosenScript)

Parameters

face face_t
tableTag tag_t
scriptTags tag_t
scriptIndex uint
chosenScript tag_t

Returns

bool_t

OtLayoutTableFindFeatureVariations(face_t, tag_t, ref int, uint, out uint)

[Version("1.4.0")]
public static bool_t OtLayoutTableFindFeatureVariations(face_t face, tag_t tableTag, ref int coords, uint numCoords, out uint variationsIndex)

Parameters

face face_t
tableTag tag_t
coords int
numCoords uint
variationsIndex uint

Returns

bool_t

OtLayoutTableFindScript(face_t, tag_t, tag_t, out uint)

public static bool_t OtLayoutTableFindScript(face_t face, tag_t tableTag, tag_t scriptTag, out uint scriptIndex)

Parameters

face face_t
tableTag tag_t
scriptTag tag_t
scriptIndex uint

Returns

bool_t

OtLayoutTableGetLookupCount(face_t, tag_t)

[Version("0.9.22")]
public static uint OtLayoutTableGetLookupCount(face_t face, tag_t tableTag)

Parameters

face face_t
tableTag tag_t

Returns

uint

OtLayoutTableSelectScript(face_t, tag_t, uint, ref tag_t, out uint, out tag_t)

[Version("2.0.0")]
public static bool_t OtLayoutTableSelectScript(face_t face, tag_t tableTag, uint scriptCount, ref tag_t scriptTags, out uint scriptIndex, out tag_t chosenScript)

Parameters

face face_t
tableTag tag_t
scriptCount uint
scriptTags tag_t
scriptIndex uint
chosenScript tag_t

Returns

bool_t

OtMathGetConstant(font_t, ot_math_constant_t)

[Version("1.3.3")]
public static position_t OtMathGetConstant(font_t font, ot_math_constant_t constant)

Parameters

font font_t
constant ot_math_constant_t

Returns

position_t

OtMathGetGlyphItalicsCorrection(font_t, codepoint_t)

[Version("1.3.3")]
public static position_t OtMathGetGlyphItalicsCorrection(font_t font, codepoint_t glyph)

Parameters

font font_t
glyph codepoint_t

Returns

position_t

OtMathGetGlyphKerning(font_t, codepoint_t, ot_math_kern_t, position_t)

[Version("1.3.3")]
public static position_t OtMathGetGlyphKerning(font_t font, codepoint_t glyph, ot_math_kern_t kern, position_t correctionHeight)

Parameters

font font_t
glyph codepoint_t
kern ot_math_kern_t
correctionHeight position_t

Returns

position_t

OtMathGetGlyphTopAccentAttachment(font_t, codepoint_t)

[Version("1.3.3")]
public static position_t OtMathGetGlyphTopAccentAttachment(font_t font, codepoint_t glyph)

Parameters

font font_t
glyph codepoint_t

Returns

position_t

OtMathGetMinConnectorOverlap(font_t, direction_t)

[Version("1.3.3")]
public static position_t OtMathGetMinConnectorOverlap(font_t font, direction_t direction)

Parameters

font font_t
direction direction_t

Returns

position_t

OtMathHasData(face_t)

[Version("1.3.3")]
public static bool_t OtMathHasData(face_t face)

Parameters

face face_t

Returns

bool_t

OtMathIsGlyphExtendedShape(face_t, codepoint_t)

[Version("1.3.3")]
public static bool_t OtMathIsGlyphExtendedShape(face_t face, codepoint_t glyph)

Parameters

face face_t
glyph codepoint_t

Returns

bool_t

OtMetaReferenceEntry(face_t, ot_meta_tag_t)

[Version("2.6.0")]
public static blob_t OtMetaReferenceEntry(face_t face, ot_meta_tag_t metaTag)

Parameters

face face_t
metaTag ot_meta_tag_t

Returns

blob_t

OtMetricsGetPosition(font_t, ot_metrics_tag_t, out position_t)

[Version("2.6.0")]
public static bool_t OtMetricsGetPosition(font_t font, ot_metrics_tag_t metricsTag, out position_t position)

Parameters

font font_t
metricsTag ot_metrics_tag_t
position position_t

Returns

bool_t

OtMetricsGetPositionWithFallback(font_t, ot_metrics_tag_t, out position_t)

[Version("4.0.0")]
public static void OtMetricsGetPositionWithFallback(font_t font, ot_metrics_tag_t metricsTag, out position_t position)

Parameters

font font_t
metricsTag ot_metrics_tag_t
position position_t

OtMetricsGetVariation(font_t, ot_metrics_tag_t)

[Version("2.6.0")]
public static float OtMetricsGetVariation(font_t font, ot_metrics_tag_t metricsTag)

Parameters

font font_t
metricsTag ot_metrics_tag_t

Returns

float

OtMetricsGetXVariation(font_t, ot_metrics_tag_t)

[Version("2.6.0")]
public static position_t OtMetricsGetXVariation(font_t font, ot_metrics_tag_t metricsTag)

Parameters

font font_t
metricsTag ot_metrics_tag_t

Returns

position_t

OtMetricsGetYVariation(font_t, ot_metrics_tag_t)

[Version("2.6.0")]
public static position_t OtMetricsGetYVariation(font_t font, ot_metrics_tag_t metricsTag)

Parameters

font font_t
metricsTag ot_metrics_tag_t

Returns

position_t

OtTagFromLanguage(language_t)

[Version("0.6.0")]
public static tag_t OtTagFromLanguage(language_t language)

Parameters

language language_t

Returns

tag_t

OtTagToLanguage(tag_t)

[Version("0.9.2")]
public static language_t? OtTagToLanguage(tag_t tag)

Parameters

tag tag_t

Returns

language_t

OtTagToScript(tag_t)

public static script_t OtTagToScript(tag_t tag)

Parameters

tag tag_t

Returns

script_t

OtTagsFromScript(script_t, out tag_t, out tag_t)

[Version("0.6.0")]
public static void OtTagsFromScript(script_t script, out tag_t scriptTag1, out tag_t scriptTag2)

Parameters

script script_t
scriptTag1 tag_t
scriptTag2 tag_t

OtTagsFromScriptAndLanguage(script_t, language_t?, ref uint, out tag_t, ref uint, out tag_t)

[Version("2.0.0")]
public static void OtTagsFromScriptAndLanguage(script_t script, language_t? language, ref uint scriptCount, out tag_t scriptTags, ref uint languageCount, out tag_t languageTags)

Parameters

script script_t
language language_t
scriptCount uint
scriptTags tag_t
languageCount uint
languageTags tag_t

OtVarFindAxis(face_t, tag_t, ref uint, out ot_var_axis_t)

[Version("1.4.2")]
public static bool_t OtVarFindAxis(face_t face, tag_t axisTag, ref uint axisIndex, out ot_var_axis_t axisInfo)

Parameters

face face_t
axisTag tag_t
axisIndex uint
axisInfo ot_var_axis_t

Returns

bool_t

OtVarGetAxisCount(face_t)

[Version("1.4.2")]
public static uint OtVarGetAxisCount(face_t face)

Parameters

face face_t

Returns

uint

OtVarGetNamedInstanceCount(face_t)

[Version("2.2.0")]
public static uint OtVarGetNamedInstanceCount(face_t face)

Parameters

face face_t

Returns

uint

OtVarHasData(face_t)

[Version("1.4.2")]
public static bool_t OtVarHasData(face_t face)

Parameters

face face_t

Returns

bool_t

OtVarNamedInstanceGetPostscriptNameId(face_t, uint)

[Version("2.2.0")]
public static ot_name_id_t OtVarNamedInstanceGetPostscriptNameId(face_t face, uint instanceIndex)

Parameters

face face_t
instanceIndex uint

Returns

ot_name_id_t

OtVarNamedInstanceGetSubfamilyNameId(face_t, uint)

[Version("2.2.0")]
public static ot_name_id_t OtVarNamedInstanceGetSubfamilyNameId(face_t face, uint instanceIndex)

Parameters

face face_t
instanceIndex uint

Returns

ot_name_id_t

OtVarNormalizeCoords(face_t, uint, ref float, out int)

[Version("1.4.2")]
public static void OtVarNormalizeCoords(face_t face, uint coordsLength, ref float designCoords, out int normalizedCoords)

Parameters

face face_t
coordsLength uint
designCoords float
normalizedCoords int

PaintColor(paint_funcs_t, IntPtr, bool_t, color_t)

[Version("7.0.0")]
public static void PaintColor(paint_funcs_t funcs, IntPtr paintData, bool_t isForeground, color_t color)

Parameters

funcs paint_funcs_t
paintData IntPtr
isForeground bool_t
color color_t

PaintCustomPaletteColor(paint_funcs_t, IntPtr, uint, out color_t)

[Version("7.0.0")]
public static bool_t PaintCustomPaletteColor(paint_funcs_t funcs, IntPtr paintData, uint colorIndex, out color_t color)

Parameters

funcs paint_funcs_t
paintData IntPtr
colorIndex uint
color color_t

Returns

bool_t

PaintFuncsCreate()

[Version("7.0.0")]
public static paint_funcs_t PaintFuncsCreate()

Returns

paint_funcs_t

PaintFuncsDestroy(paint_funcs_t)

[Version("7.0.0")]
public static void PaintFuncsDestroy(paint_funcs_t funcs)

Parameters

funcs paint_funcs_t

PaintFuncsGetEmpty()

[Version("7.0.0")]
public static paint_funcs_t PaintFuncsGetEmpty()

Returns

paint_funcs_t

PaintFuncsGetUserData(paint_funcs_t, user_data_key_t)

[Version("7.0.0")]
public static IntPtr PaintFuncsGetUserData(paint_funcs_t funcs, user_data_key_t key)

Parameters

funcs paint_funcs_t
key user_data_key_t

Returns

IntPtr

PaintFuncsIsImmutable(paint_funcs_t)

[Version("7.0.0")]
public static bool_t PaintFuncsIsImmutable(paint_funcs_t funcs)

Parameters

funcs paint_funcs_t

Returns

bool_t

PaintFuncsMakeImmutable(paint_funcs_t)

[Version("7.0.0")]
public static void PaintFuncsMakeImmutable(paint_funcs_t funcs)

Parameters

funcs paint_funcs_t

PaintFuncsReference(paint_funcs_t)

[Version("7.0.0")]
public static paint_funcs_t PaintFuncsReference(paint_funcs_t funcs)

Parameters

funcs paint_funcs_t

Returns

paint_funcs_t

PaintImage(paint_funcs_t, IntPtr, blob_t, uint, uint, tag_t, float, glyph_extents_t?)

[Version("7.0.0")]
public static void PaintImage(paint_funcs_t funcs, IntPtr paintData, blob_t image, uint width, uint height, tag_t format, float slant, glyph_extents_t? extents)

Parameters

funcs paint_funcs_t
paintData IntPtr
image blob_t
width uint
height uint
format tag_t
slant float
extents glyph_extents_t

PaintLinearGradient(paint_funcs_t, IntPtr, color_line_t, float, float, float, float, float, float)

[Version("7.0.0")]
public static void PaintLinearGradient(paint_funcs_t funcs, IntPtr paintData, color_line_t colorLine, float x0, float y0, float x1, float y1, float x2, float y2)

Parameters

funcs paint_funcs_t
paintData IntPtr
colorLine color_line_t
x0 float
y0 float
x1 float
y1 float
x2 float
y2 float

PaintPopClip(paint_funcs_t, IntPtr)

[Version("7.0.0")]
public static void PaintPopClip(paint_funcs_t funcs, IntPtr paintData)

Parameters

funcs paint_funcs_t
paintData IntPtr

PaintPopGroup(paint_funcs_t, IntPtr, paint_composite_mode_t)

[Version("7.0.0")]
public static void PaintPopGroup(paint_funcs_t funcs, IntPtr paintData, paint_composite_mode_t mode)

Parameters

funcs paint_funcs_t
paintData IntPtr
mode paint_composite_mode_t

PaintPopTransform(paint_funcs_t, IntPtr)

[Version("7.0.0")]
public static void PaintPopTransform(paint_funcs_t funcs, IntPtr paintData)

Parameters

funcs paint_funcs_t
paintData IntPtr

PaintPushClipGlyph(paint_funcs_t, IntPtr, codepoint_t, font_t)

[Version("7.0.0")]
public static void PaintPushClipGlyph(paint_funcs_t funcs, IntPtr paintData, codepoint_t glyph, font_t font)

Parameters

funcs paint_funcs_t
paintData IntPtr
glyph codepoint_t
font font_t

PaintPushClipRectangle(paint_funcs_t, IntPtr, float, float, float, float)

[Version("7.0.0")]
public static void PaintPushClipRectangle(paint_funcs_t funcs, IntPtr paintData, float xmin, float ymin, float xmax, float ymax)

Parameters

funcs paint_funcs_t
paintData IntPtr
xmin float
ymin float
xmax float
ymax float

PaintPushGroup(paint_funcs_t, IntPtr)

[Version("7.0.0")]
public static void PaintPushGroup(paint_funcs_t funcs, IntPtr paintData)

Parameters

funcs paint_funcs_t
paintData IntPtr

PaintPushTransform(paint_funcs_t, IntPtr, float, float, float, float, float, float)

[Version("7.0.0")]
public static void PaintPushTransform(paint_funcs_t funcs, IntPtr paintData, float xx, float yx, float xy, float yy, float dx, float dy)

Parameters

funcs paint_funcs_t
paintData IntPtr
xx float
yx float
xy float
yy float
dx float
dy float

PaintRadialGradient(paint_funcs_t, IntPtr, color_line_t, float, float, float, float, float, float)

[Version("7.0.0")]
public static void PaintRadialGradient(paint_funcs_t funcs, IntPtr paintData, color_line_t colorLine, float x0, float y0, float r0, float x1, float y1, float r1)

Parameters

funcs paint_funcs_t
paintData IntPtr
colorLine color_line_t
x0 float
y0 float
r0 float
x1 float
y1 float
r1 float

PaintSweepGradient(paint_funcs_t, IntPtr, color_line_t, float, float, float, float)

[Version("7.0.0")]
public static void PaintSweepGradient(paint_funcs_t funcs, IntPtr paintData, color_line_t colorLine, float x0, float y0, float startAngle, float endAngle)

Parameters

funcs paint_funcs_t
paintData IntPtr
colorLine color_line_t
x0 float
y0 float
startAngle float
endAngle float

ScriptFromIso15924Tag(tag_t)

[Version("0.9.2")]
public static script_t ScriptFromIso15924Tag(tag_t tag)

Parameters

tag tag_t

Returns

script_t

ScriptFromString(Span<byte>)

[Version("0.9.2")]
public static script_t ScriptFromString(Span<byte> str)

Parameters

str Span<byte>

Returns

script_t

ScriptGetHorizontalDirection(script_t)

[Version("0.9.2")]
public static direction_t ScriptGetHorizontalDirection(script_t script)

Parameters

script script_t

Returns

direction_t

ScriptToIso15924Tag(script_t)

[Version("0.9.2")]
public static tag_t ScriptToIso15924Tag(script_t script)

Parameters

script script_t

Returns

tag_t

SegmentPropertiesEqual(segment_properties_t, segment_properties_t)

[Version("0.9.7")]
public static bool_t SegmentPropertiesEqual(segment_properties_t a, segment_properties_t b)

Parameters

a segment_properties_t
b segment_properties_t

Returns

bool_t

SegmentPropertiesHash(segment_properties_t)

[Version("0.9.7")]
public static uint SegmentPropertiesHash(segment_properties_t p)

Parameters

p segment_properties_t

Returns

uint

SegmentPropertiesOverlay(segment_properties_t, segment_properties_t)

[Version("3.3.0")]
public static void SegmentPropertiesOverlay(segment_properties_t p, segment_properties_t src)

Parameters

p segment_properties_t
src segment_properties_t

SetAdd(set_t, codepoint_t)

[Version("0.9.2")]
public static void SetAdd(set_t set, codepoint_t codepoint)

Parameters

set set_t
codepoint codepoint_t

SetAddRange(set_t, codepoint_t, codepoint_t)

[Version("0.9.7")]
public static void SetAddRange(set_t set, codepoint_t first, codepoint_t last)

Parameters

set set_t
first codepoint_t
last codepoint_t

SetAllocationSuccessful(set_t)

[Version("0.9.2")]
public static bool_t SetAllocationSuccessful(set_t set)

Parameters

set set_t

Returns

bool_t

SetClear(set_t)

[Version("0.9.2")]
public static void SetClear(set_t set)

Parameters

set set_t

SetCopy(set_t)

[Version("2.8.2")]
public static set_t SetCopy(set_t set)

Parameters

set set_t

Returns

set_t

SetCreate()

[Version("0.9.2")]
public static set_t SetCreate()

Returns

set_t

SetDel(set_t, codepoint_t)

[Version("0.9.2")]
public static void SetDel(set_t set, codepoint_t codepoint)

Parameters

set set_t
codepoint codepoint_t

SetDelRange(set_t, codepoint_t, codepoint_t)

[Version("0.9.7")]
public static void SetDelRange(set_t set, codepoint_t first, codepoint_t last)

Parameters

set set_t
first codepoint_t
last codepoint_t

SetDestroy(set_t)

[Version("0.9.2")]
public static void SetDestroy(set_t set)

Parameters

set set_t

SetGetEmpty()

[Version("0.9.2")]
public static set_t SetGetEmpty()

Returns

set_t

SetGetMax(set_t)

[Version("0.9.7")]
public static codepoint_t SetGetMax(set_t set)

Parameters

set set_t

Returns

codepoint_t

SetGetMin(set_t)

[Version("0.9.7")]
public static codepoint_t SetGetMin(set_t set)

Parameters

set set_t

Returns

codepoint_t

SetGetPopulation(set_t)

[Version("0.9.7")]
public static uint SetGetPopulation(set_t set)

Parameters

set set_t

Returns

uint

SetGetUserData(set_t, user_data_key_t)

[Version("0.9.2")]
public static IntPtr SetGetUserData(set_t set, user_data_key_t key)

Parameters

set set_t
key user_data_key_t

Returns

IntPtr

SetHas(set_t, codepoint_t)

[Version("0.9.2")]
public static bool_t SetHas(set_t set, codepoint_t codepoint)

Parameters

set set_t
codepoint codepoint_t

Returns

bool_t

SetHash(set_t)

[Version("4.4.0")]
public static uint SetHash(set_t set)

Parameters

set set_t

Returns

uint

SetIntersect(set_t, set_t)

[Version("0.9.2")]
public static void SetIntersect(set_t set, set_t other)

Parameters

set set_t
other set_t

SetInvert(set_t)

[Version("3.0.0")]
public static void SetInvert(set_t set)

Parameters

set set_t

SetIsEmpty(set_t)

[Version("0.9.7")]
public static bool_t SetIsEmpty(set_t set)

Parameters

set set_t

Returns

bool_t

SetIsEqual(set_t, set_t)

[Version("0.9.7")]
public static bool_t SetIsEqual(set_t set, set_t other)

Parameters

set set_t
other set_t

Returns

bool_t

SetIsInverted(set_t)

[Version("7.0.0")]
public static bool_t SetIsInverted(set_t set)

Parameters

set set_t

Returns

bool_t

SetIsSubset(set_t, set_t)

[Version("1.8.1")]
public static bool_t SetIsSubset(set_t set, set_t largerSet)

Parameters

set set_t
largerSet set_t

Returns

bool_t

SetNext(set_t, ref codepoint_t)

[Version("0.9.2")]
public static bool_t SetNext(set_t set, ref codepoint_t codepoint)

Parameters

set set_t
codepoint codepoint_t

Returns

bool_t

SetNextRange(set_t, out codepoint_t, ref codepoint_t)

[Version("0.9.7")]
public static bool_t SetNextRange(set_t set, out codepoint_t first, ref codepoint_t last)

Parameters

set set_t
first codepoint_t
last codepoint_t

Returns

bool_t

SetPrevious(set_t, ref codepoint_t)

[Version("1.8.0")]
public static bool_t SetPrevious(set_t set, ref codepoint_t codepoint)

Parameters

set set_t
codepoint codepoint_t

Returns

bool_t

SetPreviousRange(set_t, ref codepoint_t, out codepoint_t)

[Version("1.8.0")]
public static bool_t SetPreviousRange(set_t set, ref codepoint_t first, out codepoint_t last)

Parameters

set set_t
first codepoint_t
last codepoint_t

Returns

bool_t

SetReference(set_t)

[Version("0.9.2")]
public static set_t SetReference(set_t set)

Parameters

set set_t

Returns

set_t

SetSet(set_t, set_t)

[Version("0.9.2")]
public static void SetSet(set_t set, set_t other)

Parameters

set set_t
other set_t

SetSubtract(set_t, set_t)

[Version("0.9.2")]
public static void SetSubtract(set_t set, set_t other)

Parameters

set set_t
other set_t

SetSymmetricDifference(set_t, set_t)

[Version("0.9.2")]
public static void SetSymmetricDifference(set_t set, set_t other)

Parameters

set set_t
other set_t

SetUnion(set_t, set_t)

[Version("0.9.2")]
public static void SetUnion(set_t set, set_t other)

Parameters

set set_t
other set_t

Shape(font_t, buffer_t, feature_t[]?)

[Version("0.9.2")]
public static void Shape(font_t font, buffer_t buffer, feature_t[]? features)

Parameters

font font_t
buffer buffer_t
features feature_t[]

ShapeFull(font_t, buffer_t, feature_t[]?, string[]?)

[Version("0.9.2")]
public static bool_t ShapeFull(font_t font, buffer_t buffer, feature_t[]? features, string[]? shaperList)

Parameters

font font_t
buffer buffer_t
features feature_t[]
shaperList string[]

Returns

bool_t

ShapeJustify(font_t, buffer_t, feature_t[]?, string[]?, float, float, ref float, out tag_t, out float)

public static bool_t ShapeJustify(font_t font, buffer_t buffer, feature_t[]? features, string[]? shaperList, float minTargetAdvance, float maxTargetAdvance, ref float advance, out tag_t varTag, out float varValue)

Parameters

font font_t
buffer buffer_t
features feature_t[]
shaperList string[]
minTargetAdvance float
maxTargetAdvance float
advance float
varTag tag_t
varValue float

Returns

bool_t

ShapeListShapers()

[Version("0.9.2")]
public static string[] ShapeListShapers()

Returns

string[]

ShapePlanCreate(face_t, segment_properties_t, feature_t[], string[])

[Version("0.9.7")]
public static shape_plan_t ShapePlanCreate(face_t face, segment_properties_t props, feature_t[] userFeatures, string[] shaperList)

Parameters

face face_t
props segment_properties_t
userFeatures feature_t[]
shaperList string[]

Returns

shape_plan_t

ShapePlanCreate2(face_t, segment_properties_t, feature_t[], Span<int>, string[])

[Version("1.4.0")]
public static shape_plan_t ShapePlanCreate2(face_t face, segment_properties_t props, feature_t[] userFeatures, Span<int> coords, string[] shaperList)

Parameters

face face_t
props segment_properties_t
userFeatures feature_t[]
coords Span<int>
shaperList string[]

Returns

shape_plan_t

ShapePlanCreateCached(face_t, segment_properties_t, feature_t[], string[])

[Version("0.9.7")]
public static shape_plan_t ShapePlanCreateCached(face_t face, segment_properties_t props, feature_t[] userFeatures, string[] shaperList)

Parameters

face face_t
props segment_properties_t
userFeatures feature_t[]
shaperList string[]

Returns

shape_plan_t

ShapePlanCreateCached2(face_t, segment_properties_t, feature_t[], Span<int>, string[])

[Version("1.4.0")]
public static shape_plan_t ShapePlanCreateCached2(face_t face, segment_properties_t props, feature_t[] userFeatures, Span<int> coords, string[] shaperList)

Parameters

face face_t
props segment_properties_t
userFeatures feature_t[]
coords Span<int>
shaperList string[]

Returns

shape_plan_t

ShapePlanDestroy(shape_plan_t)

[Version("0.9.7")]
public static void ShapePlanDestroy(shape_plan_t shapePlan)

Parameters

shapePlan shape_plan_t

ShapePlanExecute(shape_plan_t, font_t, buffer_t, feature_t[])

[Version("0.9.7")]
public static bool_t ShapePlanExecute(shape_plan_t shapePlan, font_t font, buffer_t buffer, feature_t[] features)

Parameters

shapePlan shape_plan_t
font font_t
buffer buffer_t
features feature_t[]

Returns

bool_t

ShapePlanGetEmpty()

[Version("0.9.7")]
public static shape_plan_t ShapePlanGetEmpty()

Returns

shape_plan_t

ShapePlanGetShaper(shape_plan_t)

[Version("0.9.7")]
public static string ShapePlanGetShaper(shape_plan_t shapePlan)

Parameters

shapePlan shape_plan_t

Returns

string

ShapePlanGetUserData(shape_plan_t, user_data_key_t)

[Version("0.9.7")]
public static IntPtr ShapePlanGetUserData(shape_plan_t shapePlan, user_data_key_t key)

Parameters

shapePlan shape_plan_t
key user_data_key_t

Returns

IntPtr

ShapePlanReference(shape_plan_t)

[Version("0.9.7")]
public static shape_plan_t ShapePlanReference(shape_plan_t shapePlan)

Parameters

shapePlan shape_plan_t

Returns

shape_plan_t

StyleGetValue(font_t, style_tag_t)

[Version("3.0.0")]
public static float StyleGetValue(font_t font, style_tag_t styleTag)

Parameters

font font_t
styleTag style_tag_t

Returns

float

TagFromString(Span<byte>)

[Version("0.9.2")]
public static tag_t TagFromString(Span<byte> str)

Parameters

str Span<byte>

Returns

tag_t

UnicodeCombiningClass(unicode_funcs_t, codepoint_t)

[Version("0.9.2")]
public static unicode_combining_class_t UnicodeCombiningClass(unicode_funcs_t ufuncs, codepoint_t unicode)

Parameters

ufuncs unicode_funcs_t
unicode codepoint_t

Returns

unicode_combining_class_t

UnicodeCompose(unicode_funcs_t, codepoint_t, codepoint_t, out codepoint_t)

[Version("0.9.2")]
public static bool_t UnicodeCompose(unicode_funcs_t ufuncs, codepoint_t a, codepoint_t b, out codepoint_t ab)

Parameters

ufuncs unicode_funcs_t
a codepoint_t
b codepoint_t
ab codepoint_t

Returns

bool_t

UnicodeDecompose(unicode_funcs_t, codepoint_t, out codepoint_t, out codepoint_t)

[Version("0.9.2")]
public static bool_t UnicodeDecompose(unicode_funcs_t ufuncs, codepoint_t ab, out codepoint_t a, out codepoint_t b)

Parameters

ufuncs unicode_funcs_t
ab codepoint_t
a codepoint_t
b codepoint_t

Returns

bool_t

UnicodeDecomposeCompatibility(unicode_funcs_t, codepoint_t, out codepoint_t)

[Version("0.9.2")]
public static uint UnicodeDecomposeCompatibility(unicode_funcs_t ufuncs, codepoint_t u, out codepoint_t decomposed)

Parameters

ufuncs unicode_funcs_t
u codepoint_t
decomposed codepoint_t

Returns

uint

UnicodeEastasianWidth(unicode_funcs_t, codepoint_t)

[Version("0.9.2")]
public static uint UnicodeEastasianWidth(unicode_funcs_t ufuncs, codepoint_t unicode)

Parameters

ufuncs unicode_funcs_t
unicode codepoint_t

Returns

uint

UnicodeFuncsCreate(unicode_funcs_t?)

[Version("0.9.2")]
public static unicode_funcs_t UnicodeFuncsCreate(unicode_funcs_t? parent)

Parameters

parent unicode_funcs_t

Returns

unicode_funcs_t

UnicodeFuncsDestroy(unicode_funcs_t)

[Version("0.9.2")]
public static void UnicodeFuncsDestroy(unicode_funcs_t ufuncs)

Parameters

ufuncs unicode_funcs_t

UnicodeFuncsGetDefault()

[Version("0.9.2")]
public static unicode_funcs_t UnicodeFuncsGetDefault()

Returns

unicode_funcs_t

UnicodeFuncsGetEmpty()

[Version("0.9.2")]
public static unicode_funcs_t UnicodeFuncsGetEmpty()

Returns

unicode_funcs_t

UnicodeFuncsGetParent(unicode_funcs_t)

[Version("0.9.2")]
public static unicode_funcs_t UnicodeFuncsGetParent(unicode_funcs_t ufuncs)

Parameters

ufuncs unicode_funcs_t

Returns

unicode_funcs_t

UnicodeFuncsGetUserData(unicode_funcs_t, user_data_key_t)

[Version("0.9.2")]
public static IntPtr UnicodeFuncsGetUserData(unicode_funcs_t ufuncs, user_data_key_t key)

Parameters

ufuncs unicode_funcs_t
key user_data_key_t

Returns

IntPtr

UnicodeFuncsIsImmutable(unicode_funcs_t)

[Version("0.9.2")]
public static bool_t UnicodeFuncsIsImmutable(unicode_funcs_t ufuncs)

Parameters

ufuncs unicode_funcs_t

Returns

bool_t

UnicodeFuncsMakeImmutable(unicode_funcs_t)

[Version("0.9.2")]
public static void UnicodeFuncsMakeImmutable(unicode_funcs_t ufuncs)

Parameters

ufuncs unicode_funcs_t

UnicodeFuncsReference(unicode_funcs_t)

[Version("0.9.2")]
public static unicode_funcs_t UnicodeFuncsReference(unicode_funcs_t ufuncs)

Parameters

ufuncs unicode_funcs_t

Returns

unicode_funcs_t

UnicodeGeneralCategory(unicode_funcs_t, codepoint_t)

[Version("0.9.2")]
public static unicode_general_category_t UnicodeGeneralCategory(unicode_funcs_t ufuncs, codepoint_t unicode)

Parameters

ufuncs unicode_funcs_t
unicode codepoint_t

Returns

unicode_general_category_t

UnicodeMirroring(unicode_funcs_t, codepoint_t)

[Version("0.9.2")]
public static codepoint_t UnicodeMirroring(unicode_funcs_t ufuncs, codepoint_t unicode)

Parameters

ufuncs unicode_funcs_t
unicode codepoint_t

Returns

codepoint_t

UnicodeScript(unicode_funcs_t, codepoint_t)

[Version("0.9.2")]
public static script_t UnicodeScript(unicode_funcs_t ufuncs, codepoint_t unicode)

Parameters

ufuncs unicode_funcs_t
unicode codepoint_t

Returns

script_t

VariationFromString(Span<byte>, out variation_t)

[Version("1.4.2")]
public static bool_t VariationFromString(Span<byte> str, out variation_t variation)

Parameters

str Span<byte>
variation variation_t

Returns

bool_t

Version(out uint, out uint, out uint)

[Version("0.9.2")]
public static void Version(out uint major, out uint minor, out uint micro)

Parameters

major uint
minor uint
micro uint

VersionAtleast(uint, uint, uint)

[Version("0.9.30")]
public static bool_t VersionAtleast(uint major, uint minor, uint micro)

Parameters

major uint
minor uint
micro uint

Returns

bool_t

VersionString()

[Version("0.9.2")]
public static string VersionString()

Returns

string