cheshirekow  v0.1.0
cpp_freetype.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
3  *
4  * This file is part of cppfreetype.
5  *
6  * cppfreetype is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * cppfreetype is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with cppfreetype. If not, see <http://www.gnu.org/licenses/>.
18  */
27 #ifndef CPPFREETYPE_CPPFREETYPE_H_
28 #define CPPFREETYPE_CPPFREETYPE_H_
29 
31 #include <cpp_freetype/RefPtr.h>
32 #include <cpp_freetype/CPtr.h>
33 
34 #include <cpp_freetype/types.h>
35 #include <cpp_freetype/Face.h>
36 #include <cpp_freetype/GlyphSlot.h>
37 #include <cpp_freetype/Library.h>
38 #include <cpp_freetype/Outline.h>
39 #include <cpp_freetype/Untag.h>
40 
41 
43 namespace freetype
44 {
47 
69  RefPtr<Library> init();
70 
73 
93  RValuePair< RefPtr<Library>, Error > init_e();
94 
97 
107  Error_t done(RefPtr<Library>& library);
108 
109 
110 }
111 
112 #endif // CPPFREETYPE_H_
Error_t done(RefPtr< Library > &library)
Destroy a given FreeType library object and all of its children, including resources, drivers, faces, sizes, etc.
RValuePair< RefPtr< Library >, Error > init_e()
Initialize a new FreeType library object. The set of modules that are registered by this function is ...
FT_Error Error
FreeType error code, a value of 0 is always interpreted as a successful operation.
Definition: types.h:117
FT_Error Error_t
FreeType error code, a value of 0 is always interpreted as a successful operation.
Definition: types.h:70
RefPtr< Library > init()
Initialize a new FreeType library object. The set of modules that are registered by this function is ...