|
Ion
|
#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"
Go to the source code of this file.
Namespaces | |
| ion | |
| Copyright 2016 Google Inc. | |
| ion::text | |
| 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 |
The Texture to add sub-image data to.
Definition at line 107 of file fontimage.cc.
Referenced by ion::text::Builder::GetFontImageTexture(), ion::gfx::TextureManager::GetUnit(), and ion::text::Builder::UpdateFontImageTextureUniform().
| float used_area_fraction |
Fraction of area used.
Definition at line 93 of file fontimage.cc.