#include <TextureFont.h>
List of all members.
Public Member Functions |
| DrawOptions () |
bool | getClipHorizontal () const |
| Returns whether the output clips horizontally.
|
DrawOptions & | clipHorizontal (bool clipH=true) |
| Sets whether the output clips horizontally.
|
bool | getClipVertical () const |
| Returns whether the output clips vertically.
|
DrawOptions & | clipVertical (bool clipV=true) |
| Sets whether the output clips vertically.
|
bool | getPixelSnap () const |
| Returns whether the output glyphs are snapped to pixel boundaries. This sharpens static text but prevents subpixel animation.
|
DrawOptions & | pixelSnap (bool pixelSnap=true) |
| Sets whether the output glyphs are snapped to pixel boundaries. This sharpens static text but prevents subpixel animation.
|
bool | getLigate () const |
| Returns whether advanced ligatures are used, which must have been instantiated by the supportedChars parameter of the TextureFont::create() call. Default to false .
|
DrawOptions & | ligate (bool useLigatures=true) |
| Sets whether advanced ligatures are used, which must have been instantiated by the supportedChars parameter of the TextureFont::create() call. Default to false .
|
float | getScale () const |
| Returns the scale at which the type is rendered. 2 is double size. Default 1 .
|
DrawOptions & | scale (float sc) |
| Sets the scale at which the type is rendered. 2 is double size. Default 1 .
|
Protected Attributes |
bool | mClipHorizontal |
bool | mClipVertical |
bool | mPixelSnap |
bool | mLigate |
float | mScale |
Constructor & Destructor Documentation
cinder::gl::TextureFont::DrawOptions::DrawOptions |
( |
) |
|
Member Function Documentation
bool cinder::gl::TextureFont::DrawOptions::getClipHorizontal |
( |
) |
const |
Returns whether the output clips horizontally.
DrawOptions& cinder::gl::TextureFont::DrawOptions::clipHorizontal |
( |
bool |
clipH = true ) |
|
Sets whether the output clips horizontally.
bool cinder::gl::TextureFont::DrawOptions::getClipVertical |
( |
) |
const |
Returns whether the output clips vertically.
DrawOptions& cinder::gl::TextureFont::DrawOptions::clipVertical |
( |
bool |
clipV = true ) |
|
Sets whether the output clips vertically.
bool cinder::gl::TextureFont::DrawOptions::getPixelSnap |
( |
) |
const |
Returns whether the output glyphs are snapped to pixel boundaries. This sharpens static text but prevents subpixel animation.
DrawOptions& cinder::gl::TextureFont::DrawOptions::pixelSnap |
( |
bool |
pixelSnap = true ) |
|
Sets whether the output glyphs are snapped to pixel boundaries. This sharpens static text but prevents subpixel animation.
bool cinder::gl::TextureFont::DrawOptions::getLigate |
( |
) |
const |
Returns whether advanced ligatures are used, which must have been instantiated by the supportedChars parameter of the TextureFont::create() call. Default to false
.
DrawOptions& cinder::gl::TextureFont::DrawOptions::ligate |
( |
bool |
useLigatures = true ) |
|
Sets whether advanced ligatures are used, which must have been instantiated by the supportedChars parameter of the TextureFont::create() call. Default to false
.
float cinder::gl::TextureFont::DrawOptions::getScale |
( |
) |
const |
Returns the scale at which the type is rendered. 2 is double size. Default 1
.
DrawOptions& cinder::gl::TextureFont::DrawOptions::scale |
( |
float |
sc ) |
|
Sets the scale at which the type is rendered. 2 is double size. Default 1
.
Member Data Documentation
The documentation for this struct was generated from the following file: