LineNoEndArrowItem Class Reference

Class to represent a no-start-arrowhead/tail user-interface item within the line gallery. More...

#include <sgline2.h>

Inheritance diagram for LineNoEndArrowItem:

LineNoArrowItem LineArrowItem LineAttrItem SGDisplayItem SGDisplayNode CCObject SimpleCCObject List of all members.

Public Member Functions

 LineNoEndArrowItem (const String &strDescription)
 Constructs a "no-arrowhead" line gallery item.

Private Member Functions

virtual BOOL IsEqualValueToAny (NodeAttribute **pOtherAttribs) const
 Used when searching for display items representing the selection's current attributes.
virtual BOOL IsStartArrow () const
 Used to work out what kind of AttrXXXXArrow attribute type to create in LineArrowItem::CreateNewAttribute.

Detailed Description

Class to represent a no-start-arrowhead/tail user-interface item within the line gallery.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/4/95
See also:
-

Definition at line 274 of file sgline2.h.


Constructor & Destructor Documentation

LineNoEndArrowItem::LineNoEndArrowItem const String strDescription  ) 
 

Constructs a "no-arrowhead" line gallery item.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/4/95
Parameters:
strDescription text description of this item [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 932 of file sgline2.cpp.

00933   : LineNoArrowItem(strDescription)
00934 {
00935     // Empty.
00936 }


Member Function Documentation

BOOL LineNoEndArrowItem::IsEqualValueToAny NodeAttribute **  ppOtherAttribs  )  const [private, virtual]
 

Used when searching for display items representing the selection's current attributes.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
17/4/95
Parameters:
pOtherAttrib the attribute values to compare this item to [INPUTS]
- [OUTPUTS]
Returns:
TRUE if this item represents the same attribute value as the given attribute.

Errors: -

See also:
LineAttrItem::UpdateCurrentAttribStatus

Reimplemented from LineArrowItem.

Definition at line 955 of file sgline2.cpp.

00956 {
00957     AttrEndArrow* peattr = (AttrEndArrow*) ppOtherAttribs[1];
00958     return peattr != NULL && peattr->Value.EndArrow == m_arArrow;
00959 }

BOOL LineNoEndArrowItem::IsStartArrow  )  const [private, virtual]
 

Used to work out what kind of AttrXXXXArrow attribute type to create in LineArrowItem::CreateNewAttribute.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
25/4/95
Returns:
FALSE, as a LineNoEndArrowItem always represents an end arrow attribute.

Reimplemented from LineArrowItem.

Definition at line 973 of file sgline2.cpp.

00974 {
00975     return FALSE;
00976 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:55:59 2007 for Camelot by  doxygen 1.4.4