AttrImagesetting Class Reference

Base class from which all imagesetting attributes are derived. More...

#include <isetattr.h>

Inheritance diagram for AttrImagesetting:

NodeAttribute NodeRenderable Node CCObject SimpleCCObject AttrOverprintFill AttrOverprintLine AttrPrintOnAllPlates List of all members.

Public Member Functions

 AttrImagesetting ()
 Default constructor for AttrImagesetting.
 AttrImagesetting (Node *ContextNode, AttachNodeDirection Direction, BOOL Locked=FALSE, BOOL Mangled=FALSE, BOOL Marked=FALSE, BOOL Selected=FALSE)
 Constructs an AttrImagesetting Attribute.
virtual void Render (RenderRegion *pRender)
 Renders this attribute (by simply calling the Render function of its contained AttributeValue).
virtual void CopyNodeContents (AttrImagesetting *NodeCopy)
 Copies the node's contents to the node pointed to by NodeCopy.
virtual void PolyCopyNodeContents (NodeRenderable *pNodeCopy)
 Polymorphically copies the contents of this node to another.

Detailed Description

Base class from which all imagesetting attributes are derived.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/7/96
See also:
AttrOverprintLine; AttrOverprintFill; AttrPrintOnAllPlates

Definition at line 148 of file isetattr.h.


Constructor & Destructor Documentation

AttrImagesetting::AttrImagesetting  ) 
 

Default constructor for AttrImagesetting.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/7/96

Definition at line 152 of file isetattr.cpp.

00153 {
00154 }

AttrImagesetting::AttrImagesetting Node ContextNode,
AttachNodeDirection  Direction,
BOOL  Locked = FALSE,
BOOL  Mangled = FALSE,
BOOL  Marked = FALSE,
BOOL  Selected = FALSE
 

Constructs an AttrImagesetting Attribute.

Definition at line 173 of file isetattr.cpp.

00179                 : NodeAttribute(ContextNode, Direction, Locked, Mangled, Marked, Selected)
00180 {
00181 }


Member Function Documentation

void AttrImagesetting::CopyNodeContents AttrImagesetting NodeCopy  )  [virtual]
 

Copies the node's contents to the node pointed to by NodeCopy.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/7/96
Parameters:
NodeCopy - returned containing a copy of this node [OUTPUTS]

Definition at line 217 of file isetattr.cpp.

00218 {
00219     // Let the base class do its bit
00220     NodeAttribute::CopyNodeContents(NodeCopy);
00221 
00222     // And then copy our Value
00223     *(NodeCopy->GetAttributeValue()) = *(GetAttributeValue());
00224 }

void AttrImagesetting::PolyCopyNodeContents NodeRenderable pNodeCopy  )  [virtual]
 

Polymorphically copies the contents of this node to another.

Author:
Phil_Martin (Xara Group Ltd) <camelotdev@xara.com>
Date:
18/12/2003
Parameters:
- [OUTPUTS]
Returns:
Errors: An assertion failure will occur if NodeCopy is NULL Scope: protected

Reimplemented from NodeRenderable.

Definition at line 240 of file isetattr.cpp.

00241 {
00242     ENSURE(pNodeCopy, "Trying to copy a node's contents into a NULL node");
00243     ENSURE(IS_A(pNodeCopy, AttrImagesetting), "PolyCopyNodeContents given wrong dest node type");
00244 
00245     if (IS_A(pNodeCopy, AttrImagesetting))
00246         CopyNodeContents((AttrImagesetting*)pNodeCopy);
00247 }

void AttrImagesetting::Render RenderRegion pRender  )  [virtual]
 

Renders this attribute (by simply calling the Render function of its contained AttributeValue).

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/7/96

Reimplemented from NodeAttribute.

Definition at line 197 of file isetattr.cpp.

00198 {
00199     GetAttributeValue()->Render(pRender);
00200 }


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