g4tools
5.4.0
|
Public Member Functions | |
virtual float | ascent (float) const =0 |
virtual float | descent (float) const =0 |
virtual float | y_advance (float) const =0 |
virtual void | get_bounds (float, float &, float &, float &, float &, float &, float &) const =0 |
virtual bool | truncate (const std::string &, float, float, std::string &) const =0 |
virtual const desc_fields & | node_desc_fields () const |
base_text () | |
virtual | ~base_text () |
Public Member Functions inherited from tools::sg::node | |
virtual void * | cast (const std::string &a_class) const |
virtual const std::string & | s_cls () const =0 |
virtual node * | copy () const =0 |
virtual unsigned int | cls_version () const |
virtual void | render (render_action &) |
virtual void | pick (pick_action &) |
virtual void | bbox (bbox_action &) |
virtual void | search (search_action &a_action) |
virtual void | get_matrix (get_matrix_action &a_action) |
virtual bool | write (write_action &a_action) |
virtual void | event (event_action &) |
virtual bool | read (read_action &a_action) |
virtual void | is_visible (visible_action &) |
virtual void | protocol_one_fields (std::vector< field * > &a_fields) const |
virtual bool | draw_in_frame_buffer () const |
virtual bool | touched () |
virtual void | reset_touched () |
node () | |
virtual | ~node () |
void | touch () |
field & | field_from_desc (const field_desc &a_desc) const |
void | dump_field_descs (std::ostream &a_out) const |
field * | find_field_by_name (const std::string &a_name) const |
Public Attributes | |
mf_string | strings |
sf< float > | height |
sf_enum< sg::hjust > | hjust |
sf_enum< sg::vjust > | vjust |
Protected Member Functions | |
base_text (const base_text &a_from) | |
base_text & | operator= (const base_text &a_from) |
Protected Member Functions inherited from tools::sg::node | |
node (const node &) | |
node & | operator= (const node &) |
void | add_field (field *a_field) |
bool | write_fields (write_action &a_action) |
bool | read_fields (read_action &a_action) |
field_desc::offset_t | field_offset (const field *a_field) const |
field * | find_field (const field_desc &a_rdesc) const |
void | check_fields (std::ostream &a_out) const |
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
pure virtual |
Implemented in tools::sg::text_valop, tools::sg::dummy_freetype, tools::sg::text_hershey, and tools::sg::text_freetype.
|
pure virtual |
Implemented in tools::sg::text_valop, tools::sg::dummy_freetype, tools::sg::text_hershey, and tools::sg::text_freetype.
|
pure virtual |
Implemented in tools::sg::text_valop, tools::sg::text_hershey, tools::sg::text_freetype, and tools::sg::dummy_freetype.
|
inlinevirtual |
Reimplemented from tools::sg::node.
Reimplemented in tools::sg::text_valop, tools::sg::text_hershey, and tools::sg::base_freetype.
Definition at line 34 of file base_text.
|
pure virtual |
Implemented in tools::sg::text_hershey, tools::sg::text_freetype, tools::sg::dummy_freetype, and tools::sg::text_valop.
|
pure virtual |
Implemented in tools::sg::text_valop, tools::sg::dummy_freetype, tools::sg::text_hershey, and tools::sg::text_freetype.