TextToolBlobPosItem Class Reference

The class of objects stored in the TextToolBlobPosList. These items store the blobs position and associated story. More...

#include <texttool.h>

Inheritance diagram for TextToolBlobPosItem:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CC_DECLARE_DYNAMIC (TextToolBlobPosItem)
 TextToolBlobPosItem (DocCoord Left, DocCoord Right, BOOL Connected, TextStory *pStory)
 Renders off tool blobs. Constructor - sets member variables to the parameters.
 ~TextToolBlobPosItem ()
 Destructor.
DocCoord GetLeftBlobPos () const
DocCoord GetRightBlobPos () const
BOOL IsConnected () const
TextStoryGetBlobStory () const

Protected Attributes

DocCoord m_LeftBlobPos
DocCoord m_RightBlobPos
BOOL m_BlobsConnected
TextStorym_pTextStory

Detailed Description

The class of objects stored in the TextToolBlobPosList. These items store the blobs position and associated story.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/2/96

Definition at line 123 of file texttool.h.


Constructor & Destructor Documentation

TextToolBlobPosItem::TextToolBlobPosItem DocCoord  Left,
DocCoord  Right,
BOOL  Connected,
TextStory pStory
 

Renders off tool blobs. Constructor - sets member variables to the parameters.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/2/96
Parameters:
Left - the left hand blobs position [INPUTS] Right - the right hand blobs position Connected - TRUE if the two blobs are to be rendered with a line between them pStory - the story that this blob is being rendered for
- [OUTPUTS]
Returns:
-

Definition at line 2521 of file texttool.cpp.

02522 {
02523     ERROR3IF(pStory==NULL, "NULL story pointer");
02524     
02525     m_LeftBlobPos = Left;
02526     m_RightBlobPos = Right;
02527     m_pTextStory = pStory;
02528     m_BlobsConnected = Connected;
02529 }

TextToolBlobPosItem::~TextToolBlobPosItem  ) 
 

Destructor.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
5/2/96
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Definition at line 2543 of file texttool.cpp.

02544 {
02545 
02546 }


Member Function Documentation

TextToolBlobPosItem::CC_DECLARE_DYNAMIC TextToolBlobPosItem   ) 
 

TextStory* TextToolBlobPosItem::GetBlobStory  )  const [inline]
 

Definition at line 135 of file texttool.h.

00135 {return m_pTextStory;}

DocCoord TextToolBlobPosItem::GetLeftBlobPos  )  const [inline]
 

Definition at line 132 of file texttool.h.

00132 {return m_LeftBlobPos;}

DocCoord TextToolBlobPosItem::GetRightBlobPos  )  const [inline]
 

Definition at line 133 of file texttool.h.

00133 {return m_RightBlobPos;}

BOOL TextToolBlobPosItem::IsConnected  )  const [inline]
 

Definition at line 134 of file texttool.h.

00134 {return m_BlobsConnected;}


Member Data Documentation

BOOL TextToolBlobPosItem::m_BlobsConnected [protected]
 

Definition at line 140 of file texttool.h.

DocCoord TextToolBlobPosItem::m_LeftBlobPos [protected]
 

Definition at line 138 of file texttool.h.

TextStory* TextToolBlobPosItem::m_pTextStory [protected]
 

Definition at line 141 of file texttool.h.

DocCoord TextToolBlobPosItem::m_RightBlobPos [protected]
 

Definition at line 139 of file texttool.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:01:53 2007 for Camelot by  doxygen 1.4.4