#include <node.hxx>
Inherits SmGraphicNode.
Inheritance diagram for SmRectangleNode:
Public Member Functions | |
SmRectangleNode (const SmToken &rNodeToken) | |
virtual void | AdaptToX (const OutputDevice &rDev, ULONG nWidth) |
virtual void | AdaptToY (const OutputDevice &rDev, ULONG nHeight) |
virtual void | Arrange (const OutputDevice &rDev, const SmFormat &rFormat) |
virtual void | Draw (OutputDevice &rDev, const Point &rPosition) const |
void | CreateTextFromNode (String &rText) |
Private Attributes | |
Size | aToSize |
Definition at line 265 of file node.hxx.
SmRectangleNode::SmRectangleNode | ( | const SmToken & | rNodeToken | ) | [inline] |
void SmRectangleNode::AdaptToX | ( | const OutputDevice & | rDev, | |
ULONG | nWidth | |||
) | [virtual] |
void SmRectangleNode::AdaptToY | ( | const OutputDevice & | rDev, | |
ULONG | nHeight | |||
) | [virtual] |
Reimplemented from SmNode.
Definition at line 2311 of file node.cxx.
References aToSize, SmFace::FreezeBorderWidth(), and SmNode::GetFont().
void SmRectangleNode::Arrange | ( | const OutputDevice & | rDev, | |
const SmFormat & | rFormat | |||
) | [virtual] |
Reimplemented from SmNode.
Definition at line 2318 of file node.cxx.
References aToSize, SmFace::GetBorderWidth(), SmNode::GetFont(), SmRect::operator=(), SmTmpDevice::SetFont(), and SmRect::SmRect().
void SmRectangleNode::Draw | ( | OutputDevice & | rDev, | |
const Point & | rPosition | |||
) | const [virtual] |
Reimplemented from SmNode.
Definition at line 2342 of file node.cxx.
References SmRect::AsRectangle(), SmRect::Draw(), SmFace::GetBorderWidth(), SmNode::GetFont(), SmRect::GetTopLeft(), SmNode::IsDebug(), SmNode::IsPhantom(), SmTmpDevice::SetFillColor(), SmTmpDevice::SetFont(), SM_RECT_CORE, SM_RECT_ITALIC, SM_RECT_LINES, and SM_RECT_MID.
void SmRectangleNode::CreateTextFromNode | ( | String & | rText | ) | [virtual] |
Reimplemented from SmNode.
Definition at line 2746 of file node.cxx.
References APPEND, SmNode::eType, SmNode::GetToken(), TOVERLINE, TOVERSTRIKE, and TUNDERLINE.
Size SmRectangleNode::aToSize [private] |