nodemldr.cpp File Reference

(r1785/r1315)

#include "camtypes.h"
#include "nodemldr.h"
#include "nodepath.h"
#include "nodebmp.h"
#include "moldshap.h"
#include "ndmldink.h"
#include "ndmldgrp.h"
#include "nativeps.h"
#include "cameleps.h"
#include "aw_eps.h"
#include "moldpers.h"
#include "extender.h"
#include "ngcore.h"
#include "strkattr.h"
#include "ophist.h"

Go to the source code of this file.

Functions

 DECLARE_SOURCE ("$Revision: 1315 $")
 CC_IMPLEMENT_DYNAMIC (NodeMoulder, NodeGroup) NodeMoulder
 This constructor initialises the nodes flags and links it to ContextNode in the direction specified by Direction. All necessary tree links are updated.


Function Documentation

CC_IMPLEMENT_DYNAMIC NodeMoulder  ,
NodeGroup 
 

This constructor initialises the nodes flags and links it to ContextNode in the direction specified by Direction. All necessary tree links are updated.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
2/12/94
Parameters:
ContextNode,: Pointer to a node which this node is to be attached to. [INPUTS] MonoOn Direction: MonoOff Specifies the direction in which the node is to be attached to the ContextNode. The values this variable can take are as follows:
PREV : Attach node as a previous sibling of the context node NEXT : Attach node as a next sibling of the context node FIRSTCHILD: Attach node as the first child of the context node LASTCHILD : Attach node as a last child of the context node

BoundingRect: Bounding rectangle

The remaining inputs specify the status of the node:

Locked: Is node locked ? Mangled: Is node mangled ? Marked: Is node marked ? Selected: Is node selected ?

Note: Initialise() must be called before the NodeMoulder is in a state in which it can be used.

See also:
Initialise()
Returns:
Errors: An assertion error will occur if ContextNode is NULL

Definition at line 129 of file nodemldr.cpp.

00146           :     Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
00147     Created:    2/12/94
00148     
00149     Inputs:     ContextNode: Pointer to a node which this node is to be attached to.
00150                 MonoOn Direction: MonoOff
00151                 Specifies the direction in which the node is to be attached to the
00152                 ContextNode. The values this variable can take are as follows:
00153                                   
00154                 PREV      : Attach node as a previous sibling of the context node
00155                 NEXT      : Attach node as a next sibling of the context node
00156                 FIRSTCHILD: Attach node as the first child of the context node
00157                 LASTCHILD : Attach node as a last child of the context node
00158 
00159                 BoundingRect: Bounding rectangle
00160 
00161                 The remaining inputs specify the status of the node:
00162             
00163                 Locked:     Is node locked ?
00164                 Mangled:    Is node mangled ?
00165                 Marked:     Is node marked ?
00166                 Selected:   Is node selected ?
00167 
00168     Purpose:    This constructor initialises the nodes flags and links it to ContextNode in the
00169                 direction specified by Direction. All necessary tree links are updated.
00170 
00171     Note:       Initialise() must be called before the NodeMoulder is in a state in which it can be used.
00172     SeeAlso:    Initialise()   
00173     Errors:     An assertion error will occur if ContextNode is NULL
00174 
00175 ***********************************************************************************************/
00176 
00177 NodeMoulder::NodeMoulder(Node* ContextNode,  
00178                     AttachNodeDirection Direction,  
00179                     BOOL Locked, 
00180                     BOOL Mangled,  
00181                     BOOL Marked, 
00182                     BOOL Selected    
00183               ):NodeGroup(ContextNode, Direction, Locked, Mangled, Marked, Selected )  
00184 {                         
00185     pProviderNode = NULL;
00186 }

DECLARE_SOURCE "$Revision: 1315 $"   ) 
 


Generated on Sat Nov 10 03:49:16 2007 for Camelot by  doxygen 1.4.4