#include <string>
#include <vector>
#include "ion/math/vector.h"
#include "ion/text/layout.h"
Go to the source code of this file.
|
typedef std::vector< std::string > | ion::text::Lines |
| Lines of text from a single string (usually split on '
'). More...
|
|
|
const TextSize | ion::text::ComputeTextSize (const FreeTypeFont &font, const LayoutOptions &options, const Lines &lines) |
| Computes the size of text and returns it as a TextSize instance. More...
|
|
const FreeTypeFontTransformData | ion::text::ComputeTransformData (const Font &font, const LayoutOptions &options, const TextSize &text_size) |
| Sets the scale and translation fields of the LayoutData instance with the scale and translation required to transform the glyphs of a text string from canonical glyph coordinates to the correct target size, location, and alignment. More...
|
|
const Layout | ion::text::LayOutText (const FreeTypeFont &font, bool use_icu, const Lines &lines, const FreeTypeFontTransformData &transform_data) |
| Returns a Layout populated by glyphs representing lines of text. More...
|
|