#include "include/core/SkFontStyle.h"
#include "include/private/base/SkTemplates.h"
#include <dwrite.h>
#include <winsdkver.h>
Go to the source code of this file.
◆ SkGetUserDefaultLocaleNameProc
typedef int(WINAPI * SkGetUserDefaultLocaleNameProc) (LPWSTR, int) |
◆ SkSMallocWCHAR
Prefer to use this type to prevent template proliferation.
Definition at line 28 of file SkDWrite.h.
◆ sk_cstring_to_wchar()
HRESULT sk_cstring_to_wchar |
( |
const char * |
skname, |
|
|
SkSMallocWCHAR * |
name |
|
) |
| |
Converts a utf8 string to a WCHAR string.
◆ sk_get_dwrite_factory()
IDWriteFactory * sk_get_dwrite_factory |
( |
| ) |
|
◆ sk_get_locale_string()
HRESULT sk_get_locale_string |
( |
IDWriteLocalizedStrings * |
names, |
|
|
const WCHAR * |
preferedLocale, |
|
|
SkString * |
skname |
|
) |
| |
◆ sk_wchar_to_skstring()
HRESULT sk_wchar_to_skstring |
( |
WCHAR * |
name, |
|
|
int |
nameLen, |
|
|
SkString * |
skname |
|
) |
| |
Converts a WCHAR string to a utf8 string.
- Parameters
-
nameLen | the number of WCHARs in the name. |
◆ SkGetGetUserDefaultLocaleNameProc()