◆ Create()
static Request * SkFontRequestCache::Request::Create |
( |
const char * |
name, |
|
|
const SkFontStyle & |
style |
|
) |
| |
|
inlinestatic |
Definition at line 82 of file SkFontMgr_FontConfigInterface.cpp.
82 {
83 size_t nameLen =
name ? strlen(
name) : 0;
84 size_t contentLen =
SkAlign4(nameLen);
85 char* storage = new char[sizeof(Request) + contentLen];
86 return new (storage) Request(
name, nameLen, style);
87 }
static constexpr T SkAlign4(T x)
DEF_SWITCHES_START aot vmservice shared library name
◆ operator delete()
void SkFontRequestCache::Request::operator delete |
( |
void * |
storage | ) |
|
|
inline |
The documentation for this struct was generated from the following file: