Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
freetypefontutils.cc File Reference
#include "ion/text/freetypefontutils.h"
#include <algorithm>
#include <cctype>
#include <locale>
#include <mutex>
#include <vector>
#include "ion/base/invalid.h"
#include "ion/base/stlalloc/allocvector.h"
#include "ion/base/stringutils.h"
#include "ion/base/utf8iterator.h"
#include "ion/math/range.h"
#include "ion/math/rangeutils.h"
#include "ion/port/environment.h"
#include "ion/port/fileutils.h"
#include "ion/port/memorymappedfile.h"
#include "ion/text/freetypefont.h"
Include dependency graph for freetypefontutils.cc:

Go to the source code of this file.

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::text
 

Functions

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...