#include <BTextLine.h>

Public Member Functions | |
| BTextLine (const BTextLine &line) | |
| Copy constructor. | |
| BTextLine (const BPoint &pt, const BString &text) | |
| Constructor. | |
| BTextLine () | |
| Default constructor. | |
| virtual size_t | ComputeSize (void) const |
| Computes the size of the BByteArray required to store this object. | |
| virtual void | FromByteArray (const BByteArray &bytes, size_t &startPos) |
| Initializes an instance of this object from a BByteArray. | |
| const BString & | GetText (void) const |
| Gets the text for this BTextLine. | |
| const BPoint & | GetVertex (void) const |
| Gets the insertion point for this line of text. | |
| bool | operator!= (const BTextLine &rhs) |
| Inequality operator. | |
| bool | operator== (const BTextLine &rhs) |
| Equality operator. | |
| void | SetText (const BString &text) |
| Sets the text for this BTextLine. | |
| void | SetVertex (const BPoint &pt) |
| Sets the insertion point for this line of text. | |
| virtual BByteArray | ToByteArray (void) const |
| Stores this object in a BByteArray. | |
| virtual void | Transform (const BTransform &cst) |
| Transforms the insertion point of this BTextLine to a different coordinate system. | |
| virtual void | TransformReverse (const BTransform &cst) |
| Transforms the insertion point of this BTextLine to a different coordinate system using the "reverse" of the BTransform. | |
| virtual | ~BTextLine () |
| Destructor. | |
| BTextLine | ( | ) | [inline] |
Default constructor.
Constructor.
| pt | The insertion point for the text. | |
| text | The text. |
| virtual ~BTextLine | ( | ) | [inline, virtual] |
Destructor.
| virtual size_t ComputeSize | ( | void | ) | const [inline, virtual] |
Computes the size of the BByteArray required to store this object.
Implements BByteStreamable.
| virtual void FromByteArray | ( | const BByteArray & | bytes, | |
| size_t & | startPos | |||
| ) | [virtual] |
Initializes an instance of this object from a BByteArray.
| bytes | The BByteArray containing the byte representation of the object. | |
| startPos | The position in the BByteArray where the byte representation begins. This value will be updated to point to the byte past the end of this object in the byte array. |
Implements BByteStreamable.
| const BPoint& GetVertex | ( | void | ) | const [inline] |
Gets the insertion point for this line of text.
| bool operator!= | ( | const BTextLine & | rhs | ) | [inline] |
Inequality operator.
| rhs | The BTextLine to compare to this one. |
| bool operator== | ( | const BTextLine & | rhs | ) |
Equality operator.
| rhs | The BTextLine to compare to this one. |
| void SetText | ( | const BString & | text | ) | [inline] |
| void SetVertex | ( | const BPoint & | pt | ) | [inline] |
Sets the insertion point for this line of text.
| pt | The insertion point. |
| virtual BByteArray ToByteArray | ( | void | ) | const [virtual] |
Stores this object in a BByteArray.
Implements BByteStreamable.
| virtual void Transform | ( | const BTransform & | cst | ) | [virtual] |
Transforms the insertion point of this BTextLine to a different coordinate system.
| cst | The BTransform that defines the transformation. |
| virtual void TransformReverse | ( | const BTransform & | cst | ) | [virtual] |
Transforms the insertion point of this BTextLine to a different coordinate system using the "reverse" of the BTransform.
| cst | The BTransform that defines the transformation. |