# LetterCDT::GlyphOutlineLoader Class Reference

Manage loading of glyphs outlines from a font file and owns the glyphs it loads. Its in charge of loaded glyphs memory management. More...

`#include <GlyphOutlineLoader.h>`

List of all members.

## Public Member Functions
| GlyphOutlineLoader (const std::wstring &fontFile)
| ~GlyphOutlineLoader (void)
| Destructor.
GlyphOutline * | GetGlyphOutline (wchar_t charCode)
| It loads a glyph outline if it isn't loaded already.

## Detailed Description

Manage loading of glyphs outlines from a font file and owns the glyphs it loads. Its in charge of loaded glyphs memory management.

## Constructor & Destructor Documentation

GlyphOutlineLoader::GlyphOutlineLoader | ( | const std::wstring & | fontFile | ) |

Constructor

Parameters:

  | font | file path, including name

## Member Function Documentation

GlyphOutline * GlyphOutlineLoader::GetGlyphOutline | ( | wchar_t | charCode | ) |

It loads a glyph outline if it isn't loaded already.

Note:
  It owns the loaded instance.

The documentation for this class was generated from the following files:

- src/letterCdt/GlyphOutlineLoader.h
- src/letterCdt/GlyphOutlineLoader.cpp