TuttleOFX
1
|
#include <freegil.hpp>
Public Types | |
enum | { left = (0x1 << 0), center = (0x1 << 1), right = (0x1 << 2), top = (0x1 << 3), ftop = (0x1 << 4), middle = (0x1 << 5), fmiddle = (0x1 << 6), bottom = (0x1 << 7) } |
enum | { fill = (0x1 << 0), clipspecial = (0x1 << 1), fillexcess = (0x1 << 2) } |
typedef view_t::value_type | color_t |
Public Member Functions | |
text (FTC_Manager manager, std::string str, color_t color, int id, int size, int align=center|middle, int options=0, char special= '#') | |
text (FTC_Manager manager, color_t color, int id, int size, int align=center|middle, int options=0, char special= '.') | |
void | operator() (view_t &view) |
Data Fields | |
FTC_Manager | manager |
std::string | str |
int | id |
int | size |
int | align |
int | options |
char | special |
color_t | color |
std::vector< glyph > | glyphs |
Definition at line 159 of file freegil.hpp.
typedef view_t::value_type layer::text< view_t >::color_t |
Definition at line 180 of file freegil.hpp.
anonymous enum |
Definition at line 161 of file freegil.hpp.
anonymous enum |
Definition at line 173 of file freegil.hpp.
layer::text< view_t >::text | ( | FTC_Manager | manager, |
std::string | str, | ||
color_t | color, | ||
int | id, | ||
int | size, | ||
int | align = center|middle , |
||
int | options = 0 , |
||
char | special = '#' |
||
) | [inline] |
Definition at line 192 of file freegil.hpp.
layer::text< view_t >::text | ( | FTC_Manager | manager, |
color_t | color, | ||
int | id, | ||
int | size, | ||
int | align = center|middle , |
||
int | options = 0 , |
||
char | special = '.' |
||
) | [inline] |
Definition at line 197 of file freegil.hpp.
void layer::text< view_t >::operator() | ( | view_t & | view | ) | [inline] |
Definition at line 202 of file freegil.hpp.
References copy(), OFX::Log::error(), std::find_if(), terry::algorithm::for_each(), terry::subimage_view(), terry::transform(), layer::render_glyphs< view_t >::view, and layer::render_glyphs< view_t >::x.
int layer::text< view_t >::align |
Definition at line 186 of file freegil.hpp.
color_t layer::text< view_t >::color |
Definition at line 189 of file freegil.hpp.
std::vector<glyph> layer::text< view_t >::glyphs |
Definition at line 190 of file freegil.hpp.
int layer::text< view_t >::id |
Definition at line 184 of file freegil.hpp.
FTC_Manager layer::text< view_t >::manager |
Definition at line 182 of file freegil.hpp.
int layer::text< view_t >::options |
Definition at line 187 of file freegil.hpp.
int layer::text< view_t >::size |
Definition at line 185 of file freegil.hpp.
char layer::text< view_t >::special |
Definition at line 188 of file freegil.hpp.
std::string layer::text< view_t >::str |
Definition at line 183 of file freegil.hpp.