LineNoStartArrowItem Class Reference

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

#include <sgline2.h>

Inheritance diagram for LineNoStartArrowItem:

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

Public Member Functions

 LineNoStartArrowItem (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 252 of file sgline2.h.


Constructor & Destructor Documentation

LineNoStartArrowItem::LineNoStartArrowItem 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 871 of file sgline2.cpp.

00872   : LineNoArrowItem(strDescription)
00873 {
00874     // Empty.
00875 }


Member Function Documentation

BOOL LineNoStartArrowItem::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 894 of file sgline2.cpp.

00895 {
00896     AttrStartArrow* psattr = (AttrStartArrow*) *ppOtherAttribs;
00897     return psattr != NULL && psattr->Value.StartArrow == m_arArrow;
00898 }

BOOL LineNoStartArrowItem::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:
TRUE, as a LineNoStartArrowItem always represents a start arrow attribute.

Reimplemented from LineArrowItem.

Definition at line 912 of file sgline2.cpp.

00913 {
00914     return TRUE;
00915 }


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