#include <GlyphOutline.h>
Public Member Functions | |
| GlyphOutline (wchar_t charCode, FT_Face face) | |
| ~GlyphOutline (void) | |
| Destructor. | |
| const std::vector< Point > & | GetPoints (void) const |
| Get the points conforming the character. | |
| const std::vector< Line > & | GetSegments (void) const |
| Get the segments conforming the character. | |
| const std::vector< int > & | GetContours (void) const |
| Get the contours conforming the character. | |
| const std::vector< ContourType > & | GetContoursType (void) const |
| Get the type of contour: Inner or Outer. For example, 'a' has two contours the exterior of the letter (Outer) and the hole (Inner). | |
| int | GetWidth (void) const |
| Get the width metric. | |
| int | GetAdvance (void) const |
| Get the advance metric. | |
| GlyphOutline::GlyphOutline | ( | wchar_t | charCode, | |
| FT_Face | face | |||
| ) |
Constructor
| charCode | the character code | |
| face | freetype face from where it has to loaded the character outline |
| int GlyphOutline::GetAdvance | ( | void | ) | const |
Get the advance metric.
| const std::vector< int > & GlyphOutline::GetContours | ( | void | ) | const |
Get the contours conforming the character.
| const std::vector< ContourType > & GlyphOutline::GetContoursType | ( | void | ) | const |
Get the type of contour: Inner or Outer. For example, 'a' has two contours the exterior of the letter (Outer) and the hole (Inner).
| const std::vector< Point > & GlyphOutline::GetPoints | ( | void | ) | const |
Get the points conforming the character.
| const std::vector< Line > & GlyphOutline::GetSegments | ( | void | ) | const |
Get the segments conforming the character.
| int GlyphOutline::GetWidth | ( | void | ) | const |
Get the width metric.
1.5.9