SmPolyLineNode Class Reference

#include <node.hxx>

Inherits SmGraphicNode.

Inheritance diagram for SmPolyLineNode:

Inheritance graph
[legend]
Collaboration diagram for SmPolyLineNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmPolyLineNode (const SmToken &rNodeToken)
long GetWidth () const
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

Private Attributes

Polygon aPoly
Size aToSize
long nWidth

Detailed Description

Definition at line 287 of file node.hxx.


Constructor & Destructor Documentation

SmPolyLineNode::SmPolyLineNode ( const SmToken rNodeToken  ) 

Definition at line 2151 of file node.cxx.

References aPoly, and nWidth.


Member Function Documentation

long SmPolyLineNode::GetWidth (  )  const [inline]

Reimplemented from SmRect.

Definition at line 296 of file node.hxx.

References nWidth.

Referenced by SmBinDiagonalNode::Arrange().

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

Reimplemented from SmNode.

Definition at line 2159 of file node.cxx.

References aToSize.

Referenced by SmBinDiagonalNode::Arrange().

void SmPolyLineNode::AdaptToY ( const OutputDevice &  rDev,
ULONG  nHeight 
) [virtual]

Reimplemented from SmNode.

Definition at line 2165 of file node.cxx.

References aToSize, SmFace::FreezeBorderWidth(), and SmNode::GetFont().

Referenced by SmBinDiagonalNode::Arrange().

void SmPolyLineNode::Arrange ( const OutputDevice &  rDev,
const SmFormat rFormat 
) [virtual]

Reimplemented from SmNode.

Definition at line 2172 of file node.cxx.

References aPoly, aToSize, DIS_STROKEWIDTH, SmNode::eType, SmFace::GetBorderWidth(), SmFormat::GetDistance(), SmNode::GetFont(), SmNode::GetToken(), nWidth, SmRect::operator=(), SmTmpDevice::SetFont(), SmRect::SmRect(), TWIDEBACKSLASH, and TWIDESLASH.

Referenced by SmBinDiagonalNode::Arrange().

void SmPolyLineNode::Draw ( OutputDevice &  rDev,
const Point &  rPosition 
) const [virtual]

Reimplemented from SmNode.

Definition at line 2213 of file node.cxx.

References aPoly, SmRect::Draw(), SmFace::GetBorderWidth(), SmNode::GetFont(), SmNode::IsDebug(), SmNode::IsPhantom(), nWidth, SmTmpDevice::SetLineColor(), SM_RECT_CORE, SM_RECT_ITALIC, SM_RECT_LINES, and SM_RECT_MID.


Member Data Documentation

Polygon SmPolyLineNode::aPoly [private]

Definition at line 289 of file node.hxx.

Referenced by Arrange(), Draw(), and SmPolyLineNode().

Size SmPolyLineNode::aToSize [private]

Definition at line 290 of file node.hxx.

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

long SmPolyLineNode::nWidth [private]

Definition at line 291 of file node.hxx.

Referenced by Arrange(), Draw(), GetWidth(), and SmPolyLineNode().


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