#include "camtypes.h"
#include "layer.h"
#include "page.h"
#include "nodedoc.h"
#include "blobs.h"
#include "aw_eps.h"
#include "ccdc.h"
#include "nativeps.h"
#include "prdlgctl.h"
#include "printctl.h"
#include "sglayer.h"
#include "cameleps.h"
#include "colourix.h"
#include "colmsg.h"
#include "cmxrendr.h"
#include "ai_epsrr.h"
#include "qualattr.h"
#include "cxftags.h"
#include "layermsg.h"
#include "slicehelper.h"
#include "nbevcont.h"
#include "ncntrcnt.h"
#include "nodecont.h"
#include "ndclpcnt.h"
#include "lineattr.h"
Go to the source code of this file.
Defines | |
#define | new CAM_DEBUG_NEW |
#define | COL_MAX 255 |
Functions | |
BOOL | ShouldWriteColourDefinitions (Node *pNode) |
Determins whether colour definitions should be written for this node. |
|
|
|
|
|
Determins whether colour definitions should be written for this node. > virtual BOOL ShouldWriteColourDefinitions (Node* pNode)
Definition at line 3498 of file layer.cpp. 03499 { 03500 CCRuntimeClass * pClass = CC_RUNTIME_CLASS(NodeBevelController); 03501 BOOL done = FALSE; 03502 INT32 i = 0; 03503 03504 while (!done) 03505 { 03506 Node* pParent = pNode->FindParent (pClass); 03507 03508 if (pParent) 03509 { 03510 return (TRUE); 03511 } 03512 03513 switch (i) 03514 { 03515 case 0: 03516 pClass = CC_RUNTIME_CLASS(NodeContourController); 03517 break; 03518 case 1: 03519 pClass = CC_RUNTIME_CLASS(NodeShadowController); 03520 break; 03521 case 2: 03522 pClass = CC_RUNTIME_CLASS(NodeClipViewController); 03523 break; 03524 default: 03525 done = TRUE; 03526 } 03527 03528 i++; 03529 } 03530 return (FALSE); 03531 }
|