SKTypeface

Undocumented in source.
class SKTypeface : SKObject {}

Constructors

this
this(void* handle, bool owns)
Undocumented in source.

Members

Functions

CharsToGlyphs
int CharsToGlyphs(string chars, ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
CharsToGlyphs
int CharsToGlyphs(void* str, int strlen, SKEncoding encoding, ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
ContainsGlyph
bool ContainsGlyph(int codepoint)
Undocumented in source. Be warned that the author may not have intended to support it.
ContainsGlyphs
bool ContainsGlyphs(const(int)[] codepoints)
Undocumented in source. Be warned that the author may not have intended to support it.
ContainsGlyphs
bool ContainsGlyphs(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
ContainsGlyphs
bool ContainsGlyphs(const(char)[] text)
Undocumented in source. Be warned that the author may not have intended to support it.
ContainsGlyphs
bool ContainsGlyphs(const(byte)[] text, SKTextEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
ContainsGlyphs
bool ContainsGlyphs(void* text, int length, SKTextEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(string str, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(const(char)[] str)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(byte[] str, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(byte[] str, SKTextEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(const(byte)[] str, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(const(byte)[] str, SKTextEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(void* str, int strLen, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
CountGlyphs
int CountGlyphs(void* str, int strLen, SKTextEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
Dispose
void Dispose(bool disposing)
Undocumented in source. Be warned that the author may not have intended to support it.
FamilyName
string FamilyName()
Undocumented in source. Be warned that the author may not have intended to support it.
FontSlant
SKFontStyleSlant FontSlant()
Undocumented in source. Be warned that the author may not have intended to support it.
FontStyle
SKFontStyle FontStyle()
Undocumented in source. Be warned that the author may not have intended to support it.
FontWeight
int FontWeight()
Undocumented in source. Be warned that the author may not have intended to support it.
FontWidth
int FontWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
GetFont
SKFont GetFont()
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyph
ushort GetGlyph(int codepoint)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(const(int)[] codepoints)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
int GetGlyphs(string text, ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
int GetGlyphs(string text, SKEncoding encoding, ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
int GetGlyphs(byte[] text, SKEncoding encoding, ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
int GetGlyphs(const(byte)[] text, SKEncoding encoding, ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
int GetGlyphs(void* text, int length, SKEncoding encoding, ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(string text, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(const(char)[] text)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(byte[] text, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(const(byte)[] text, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(const(byte)[] text, SKTextEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(void* text, int length, SKEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
GetGlyphs
ushort[] GetGlyphs(void* text, int length, SKTextEncoding encoding)
Undocumented in source. Be warned that the author may not have intended to support it.
GetKerningPairAdjustments
int[] GetKerningPairAdjustments(ushort[] glyphs)
Undocumented in source. Be warned that the author may not have intended to support it.
GetTableData
byte[] GetTableData(uint tag)
Undocumented in source. Be warned that the author may not have intended to support it.
GetTableSize
int GetTableSize(uint tag)
Undocumented in source. Be warned that the author may not have intended to support it.
GetTableTags
uint[] GetTableTags()
Undocumented in source. Be warned that the author may not have intended to support it.
GlyphCount
int GlyphCount()
Undocumented in source. Be warned that the author may not have intended to support it.
IsBold
bool IsBold()
Undocumented in source. Be warned that the author may not have intended to support it.
IsFixedPitch
bool IsFixedPitch()
Undocumented in source. Be warned that the author may not have intended to support it.
IsItalic
bool IsItalic()
Undocumented in source. Be warned that the author may not have intended to support it.
OpenStream
SKStreamAsset OpenStream(int ttcIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
OpenStream
SKStreamAsset OpenStream()
Undocumented in source. Be warned that the author may not have intended to support it.
Style
SKTypefaceStyle Style()
Undocumented in source. Be warned that the author may not have intended to support it.
TableCount
int TableCount()
Undocumented in source. Be warned that the author may not have intended to support it.
ToFont
SKFont ToFont()
Undocumented in source. Be warned that the author may not have intended to support it.
ToFont
SKFont ToFont(float size, float scaleX, float skewX)
Undocumented in source. Be warned that the author may not have intended to support it.
TryGetTableData
bool TryGetTableData(uint tag, byte[] tableData)
Undocumented in source. Be warned that the author may not have intended to support it.
TryGetTableData
bool TryGetTableData(uint tag, int offset, int length, void* tableData)
Undocumented in source. Be warned that the author may not have intended to support it.
TryGetTableTags
bool TryGetTableTags(uint[] tags)
Undocumented in source. Be warned that the author may not have intended to support it.
UnitsPerEm
int UnitsPerEm()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

CreateDefault
SKTypeface CreateDefault()
Undocumented in source. Be warned that the author may not have intended to support it.
Default
SKTypeface Default()
Undocumented in source. Be warned that the author may not have intended to support it.
EnsureStaticInstanceAreInitialized
void EnsureStaticInstanceAreInitialized()
Undocumented in source. Be warned that the author may not have intended to support it.
FromData
SKTypeface FromData(SKData data, int index)
Undocumented in source. Be warned that the author may not have intended to support it.
FromFamilyName
SKTypeface FromFamilyName(string familyName, SKTypefaceStyle style)
Undocumented in source. Be warned that the author may not have intended to support it.
FromFamilyName
SKTypeface FromFamilyName(string familyName, int weight, int width, SKFontStyleSlant slant)
Undocumented in source. Be warned that the author may not have intended to support it.
FromFamilyName
SKTypeface FromFamilyName(string familyName)
Undocumented in source. Be warned that the author may not have intended to support it.
FromFamilyName
SKTypeface FromFamilyName(string familyName, SKFontStyle style)
Undocumented in source. Be warned that the author may not have intended to support it.
FromFamilyName
SKTypeface FromFamilyName(string familyName, SKFontStyleWeight weight, SKFontStyleWidth width, SKFontStyleSlant slant)
Undocumented in source. Be warned that the author may not have intended to support it.
FromFile
SKTypeface FromFile(string path, int index)
Undocumented in source. Be warned that the author may not have intended to support it.
FromStream
SKTypeface FromStream(SKStreamAsset stream, int index)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTypeface
SKTypeface FromTypeface(SKTypeface typeface, SKTypefaceStyle style)
Undocumented in source. Be warned that the author may not have intended to support it.
GetObject
SKTypeface GetObject(void* handle)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SKObject

Handle
void* Handle()
Undocumented in source. Be warned that the author may not have intended to support it.
Handle
void Handle(void* value)
Undocumented in source. Be warned that the author may not have intended to support it.
registerOwnedObject
void registerOwnedObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
registerKeepAliveObject
void registerKeepAliveObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeUnownedManaged
void DisposeUnownedManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeManaged
void DisposeManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeNative
void DisposeNative()
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, bool unrefExisting, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
RegisterHandle
void RegisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
DeregisterHandle
void DeregisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
GetInstance
bool GetInstance(void* handle, TSkiaObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
PreventPublicDisposal
void PreventPublicDisposal()
Undocumented in source. Be warned that the author may not have intended to support it.
RevokeOwnership
void RevokeOwnership(SKObject newOwner)
Undocumented in source. Be warned that the author may not have intended to support it.
OwnedBy
T OwnedBy(T child, SKObject owner)
Undocumented in source. Be warned that the author may not have intended to support it.
Owned
T Owned(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
Referenced
T Referenced(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
PtrToStructureArray
T[] PtrToStructureArray(void* intPtr, int count)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta