SmRectangleNode Class Reference

#include <node.hxx>

Inherits SmGraphicNode.

Inheritance diagram for SmRectangleNode:

Inheritance graph
[legend]
Collaboration diagram for SmRectangleNode:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 265 of file node.hxx.


Constructor & Destructor Documentation

SmRectangleNode::SmRectangleNode ( const SmToken rNodeToken  )  [inline]

Definition at line 270 of file node.hxx.


Member Function Documentation

void SmRectangleNode::AdaptToX ( const OutputDevice &  rDev,
ULONG  nWidth 
) [virtual]

Reimplemented from SmNode.

Definition at line 2305 of file node.cxx.

References aToSize.

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.


Member Data Documentation

Size SmRectangleNode::aToSize [private]

Definition at line 267 of file node.hxx.

Referenced by AdaptToX(), AdaptToY(), and Arrange().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 17:23:29 2008 for maths by  doxygen 1.5.1