Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
Text.h File Reference
#include "cinder/Cinder.h"
#include "cinder/Surface.h"
#include "cinder/Font.h"
#include "cinder/Vector.h"
#include <vector>
#include <deque>
#include <string>
Include dependency graph for Text.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cinder::TextLayout
 
class  cinder::TextBox
 

Namespaces

 cinder
 

Functions

Surface cinder::renderString (const std::string &str, const Font &font, const ColorA &color, float *baselineOffset=0)
 Renders a single string and returns it as a Surface. Optional baselineOffset pointer will receive how many pixels of descender are in the returned Surface. Offset rendering the result Surface by this amount in order to preserve a consistent baseline. Consider gl::drawString() as a more convenient alternative. More...