Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
layout.h File Reference
#include <vector>
#include "ion/base/invalid.h"
#include "ion/base/stlalloc/allocset.h"
#include "ion/math/range.h"
#include "ion/math/vector.h"
Include dependency graph for layout.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ion::text::LayoutOptions
 This struct defines parameters affecting layout of a single text string when passed to BuildLayout(). More...
 
class  ion::text::Layout
 A Layout instance specifies how glyphs are arranged to form text. More...
 
struct  ion::text::Layout::Quad
 A Quad represents a 3D quadrilateral onto which a character glyph in the layout will be drawn. More...
 
struct  ion::text::Layout::Glyph
 A Glyph represents one character glyph in the layout. More...
 

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::text
 

Typedefs

typedef uint64 ion::text::GlyphIndex
 
typedef base::AllocSet
< GlyphIndex > 
ion::text::GlyphSet
 

Enumerations

enum  ion::text::HorizontalAlignment {
  ion::text::kAlignLeft,
  ion::text::kAlignHCenter,
  ion::text::kAlignRight
}
 Alignment enums. More...
 
enum  ion::text::VerticalAlignment {
  ion::text::kAlignTop,
  ion::text::kAlignVCenter,
  ion::text::kAlignBaseline,
  ion::text::kAlignBottom
}
 

Functions

std::ostream & ion::text::operator<< (std::ostream &os, const Layout &layout)
 Debugging aids. More...
 
std::ostream & ion::text::operator<< (std::ostream &out, const Layout::Glyph &g)
 
std::ostream & ion::text::operator<< (std::ostream &out, const Layout::Quad &q)
 Helpers for logging Layouts/Glyphs/Quads. More...