#include <node.hxx>
Inherits SmGraphicNode.
Inheritance diagram for SmPolyLineNode:
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 |
Definition at line 287 of file node.hxx.
SmPolyLineNode::SmPolyLineNode | ( | const SmToken & | rNodeToken | ) |
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.
Polygon SmPolyLineNode::aPoly [private] |
Size SmPolyLineNode::aToSize [private] |
long SmPolyLineNode::nWidth [private] |
Definition at line 291 of file node.hxx.
Referenced by Arrange(), Draw(), GetWidth(), and SmPolyLineNode().