|
virtual bool | is_in_memory () const =0 |
| Whether or not this font file was created from an in-memory buffer.
|
|
virtual String | filepath () const =0 |
| The file path (if any).
|
|
virtual RefPtr< Buffer > | buffer () const =0 |
| The in-memory buffer (if any).
|
|
virtual uint32_t | hash () const =0 |
| Unique hash (if this is a filepath, only the path string is hashed).
|
|
virtual void | AddRef () const =0 |
|
virtual void | Release () const =0 |
|
virtual int | ref_count () const =0 |
|
◆ FontFile() [1/2]
◆ ~FontFile()
◆ FontFile() [2/2]
◆ buffer()
The in-memory buffer (if any).
◆ Create() [1/2]
Create a font file from an on-disk file path.
- Note
- The file path should already exist.
◆ Create() [2/2]
Create a font file from an in-memory buffer.
◆ filepath()
virtual String filepath |
( |
| ) |
const |
|
pure virtual |
◆ hash()
virtual uint32_t hash |
( |
| ) |
const |
|
pure virtual |
Unique hash (if this is a filepath, only the path string is hashed).
◆ is_in_memory()
virtual bool is_in_memory |
( |
| ) |
const |
|
pure virtual |
Whether or not this font file was created from an in-memory buffer.
◆ operator=()
The documentation for this class was generated from the following file: