Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fontimage.cc File Reference
#include "ion/text/fontimage.h"
#include <iterator>
#include <vector>
#include "base/integral_types.h"
#include "ion/base/array2.h"
#include "ion/base/invalid.h"
#include "ion/base/lockguards.h"
#include "ion/base/logging.h"
#include "ion/base/serialize.h"
#include "ion/base/staticsafedeclare.h"
#include "ion/gfx/sampler.h"
#include "ion/image/conversionutils.h"
#include "ion/math/utils.h"
#include "ion/math/vector.h"
#include "ion/text/binpacker.h"
#include "ion/text/font.h"
#include "ion/text/sdfutils.h"
Include dependency graph for fontimage.cc:

Go to the source code of this file.

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::text
 

Variable Documentation

BinPacker bin_packer

BinPacker used to pack glyphs into the FontImage.

Definition at line 87 of file fontimage.cc.

FontImage::ImageData image_data

The wrapped ImageData instance.

Definition at line 84 of file fontimage.cc.

Referenced by ion::text::Builder::Build().

size_t packed_area

Area (in pixels) of the glyphs already packed into the ImageData.

Definition at line 90 of file fontimage.cc.

TexturePtr texture
float used_area_fraction

Fraction of area used.

Definition at line 93 of file fontimage.cc.