Inheritance diagram for gcp::TextObject:

Public Member Functions | |
| void | GetSize (double &x, double &y) |
| bool | Load (xmlNodePtr) |
| void | Move (double x, double y, double z=0) |
| bool | IsLocked () |
| void | GetSelectionBounds (unsigned &start, unsigned &end) |
| string | GetBuffer () |
Protected Attributes | |
| double | m_x |
| double | m_y |
| double | m_length |
| double | m_height |
| int | m_ascent |
| int | m_InsertOffset |
| string | m_buf |
| bool | m_bLoading |
| unsigned | m_StartSel |
| unsigned | m_EndSel |
| bool | m_RealSave |
Definition at line 39 of file text-object.h.
| bool gcp::TextObject::Load | ( | xmlNodePtr | node | ) | [virtual] |
| node,: | a pointer to the xmlNode containing the serialized object. |
Example:
std::string str = (const char*)node->name; Object* pObject = Object::CreateObject(str, this); if (pObject) { if (!pObject->Load(node)) delete Object; } else cerr << "Warning: unknown object: " << str << endl;
Reimplemented from gcu::Object.
Reimplemented in gcp::Fragment, and gcp::Text.
| void gcp::TextObject::Move | ( | double | x, | |
| double | y, | |||
| double | z = 0 | |||
| ) | [virtual] |
| x,: | the x component of the transation vector. | |
| y,: | the y component of the transation vector. | |
| z,: | the z component of the transation vector. |
Reimplemented from gcu::Object.
Reimplemented in gcp::Fragment.
| bool gcp::TextObject::IsLocked | ( | ) | [inline] |
Reimplemented from gcu::Object.
Definition at line 54 of file text-object.h.
References m_bLoading.
1.5.2