8#ifndef SkDWrite_DEFINED
9#define SkDWrite_DEFINED
54 fontFace->TryGetFontTable(beTag,
59 fFontFace->ReleaseFontTable(fLock);
68 IDWriteFontFace* fFontFace;
73 static const UINT32
tag = DWRITE_MAKE_OPENTYPE_TAG(T::TAG0, T::TAG1, T::TAG2, T::TAG3);
76 const T*
get()
const {
return reinterpret_cast<const T*
>(
fData); }
87 switch (pattern.
slant()) {
HRESULT sk_wchar_to_skstring(WCHAR *name, int nameLen, SkString *skname)
HRESULT sk_get_locale_string(IDWriteLocalizedStrings *names, const WCHAR *preferedLocale, SkString *skname)
int(WINAPI * SkGetUserDefaultLocaleNameProc)(LPWSTR, int)
HRESULT sk_cstring_to_wchar(const char *skname, SkSMallocWCHAR *name)
HRESULT SkGetGetUserDefaultLocaleNameProc(SkGetUserDefaultLocaleNameProc *proc)
skia_private::AutoSTMalloc< 16, WCHAR > SkSMallocWCHAR
IDWriteFactory * sk_get_dwrite_factory()
AutoDWriteTable(IDWriteFontFace *fontFace, UINT32 beTag)
const T * operator->() const
AutoTDWriteTable(IDWriteFontFace *fontFace)
static const char *const names[]
DEF_SWITCHES_START aot vmservice shared library name
DWriteStyle(const SkFontStyle &pattern)
DWRITE_FONT_WEIGHT fWeight
DWRITE_FONT_STRETCH fWidth