c++ interface on top of c-object pointer
More...
#include <cpp_freetype/Library.h>
c++ interface on top of c-object pointer
Definition at line 48 of file Library.h.
freetype::LibraryDelegate::LibraryDelegate |
( |
FT_Library |
ptr = 0 | ) |
|
|
inlineprivate |
constructable only by RefPtr<Library>
Definition at line 54 of file Library.h.
void freetype::LibraryDelegate::add_default_modules |
( |
| ) |
|
Add the set of default drivers to a given library object.
This is only useful when you create a library object with Library::create (usually to plug a custom memory manager).
RefPtr<Face> freetype::LibraryDelegate::new_face |
( |
const char * |
filepath, |
|
|
Long |
face_index |
|
) |
| |
Add a new module to a given library instance.
- Parameters
-
[in] | clazz | pointer to the class descriptor for the module |
- Returns
- FreeType error code. 0 means success
- Note
- An error will be returned if a module already exists by that name, or if the module requires a version of FreeType that is too great.Find a module by it's name
- Parameters
-
[in] | module_name | The module's name (as an ASCII string) |
- Returns
- A module handle. 0 if none was found.
- Note
- FreeType's internal modules aren't documented very well, and you should look up the source code for details.Remove a given module from a library instance
- Parameters
-
[in] | module | a handle to a module object |
- Returns
- FreeType error code. 0 means success
- Note
- The module object is destroyed by the function in case of successcalls Library::open_face to open a font by it's pathname
- Parameters
-
[in] | filepath | path of the font file |
[in] | face_index | index of the face within the font, 0 indexed |
- Returns
- A handle to a new face object. If
face_index
is greater than or equal to zro, it must be non-NULL. See Library::open_face for more details
calls Library::open_face to open a font by it's pathname
- Parameters
-
[in] | filepath | path of the font file |
[in] | face_index | index of the face within the font, 0 indexed |
- Returns
- A handle to a new face object. If
face_index
is greater than or equal to zro, it must be non-NULL. See Library::open_face for more details
FT_Library freetype::LibraryDelegate::m_ptr |
|
private |
The documentation for this class was generated from the following file: