attrbev.h

Go to the documentation of this file.
00001 // $Id: attrbev.h 1282 2006-06-09 09:46:49Z alex $
00002 /* @@tag:xara-cn@@ DO NOT MODIFY THIS LINE
00003 ================================XARAHEADERSTART===========================
00004  
00005                Xara LX, a vector drawing and manipulation program.
00006                     Copyright (C) 1993-2006 Xara Group Ltd.
00007        Copyright on certain contributions may be held in joint with their
00008               respective authors. See AUTHORS file for details.
00009 
00010 LICENSE TO USE AND MODIFY SOFTWARE
00011 ----------------------------------
00012 
00013 This file is part of Xara LX.
00014 
00015 Xara LX is free software; you can redistribute it and/or modify it
00016 under the terms of the GNU General Public License version 2 as published
00017 by the Free Software Foundation.
00018 
00019 Xara LX and its component source files are distributed in the hope
00020 that it will be useful, but WITHOUT ANY WARRANTY; without even the
00021 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00022 See the GNU General Public License for more details.
00023 
00024 You should have received a copy of the GNU General Public License along
00025 with Xara LX (see the file GPL in the root directory of the
00026 distribution); if not, write to the Free Software Foundation, Inc., 51
00027 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00028 
00029 
00030 ADDITIONAL RIGHTS
00031 -----------------
00032 
00033 Conditional upon your continuing compliance with the GNU General Public
00034 License described above, Xara Group Ltd grants to you certain additional
00035 rights. 
00036 
00037 The additional rights are to use, modify, and distribute the software
00038 together with the wxWidgets library, the wxXtra library, and the "CDraw"
00039 library and any other such library that any version of Xara LX relased
00040 by Xara Group Ltd requires in order to compile and execute, including
00041 the static linking of that library to XaraLX. In the case of the
00042 "CDraw" library, you may satisfy obligation under the GNU General Public
00043 License to provide source code by providing a binary copy of the library
00044 concerned and a copy of the license accompanying it.
00045 
00046 Nothing in this section restricts any of the rights you have under
00047 the GNU General Public License.
00048 
00049 
00050 SCOPE OF LICENSE
00051 ----------------
00052 
00053 This license applies to this program (XaraLX) and its constituent source
00054 files only, and does not necessarily apply to other Xara products which may
00055 in part share the same code base, and are subject to their own licensing
00056 terms.
00057 
00058 This license does not apply to files in the wxXtra directory, which
00059 are built into a separate library, and are subject to the wxWindows
00060 license contained within that directory in the file "WXXTRA-LICENSE".
00061 
00062 This license does not apply to the binary libraries (if any) within
00063 the "libs" directory, which are subject to a separate license contained
00064 within that directory in the file "LIBS-LICENSE".
00065 
00066 
00067 ARRANGEMENTS FOR CONTRIBUTION OF MODIFICATIONS
00068 ----------------------------------------------
00069 
00070 Subject to the terms of the GNU Public License (see above), you are
00071 free to do whatever you like with your modifications. However, you may
00072 (at your option) wish contribute them to Xara's source tree. You can
00073 find details of how to do this at:
00074   http://www.xaraxtreme.org/developers/
00075 
00076 Prior to contributing your modifications, you will need to complete our
00077 contributor agreement. This can be found at:
00078   http://www.xaraxtreme.org/developers/contribute/
00079 
00080 Please note that Xara will not accept modifications which modify any of
00081 the text between the start and end of this header (marked
00082 XARAHEADERSTART and XARAHEADEREND).
00083 
00084 
00085 MARKS
00086 -----
00087 
00088 Xara, Xara LX, Xara X, Xara X/Xtreme, Xara Xtreme, the Xtreme and Xara
00089 designs are registered or unregistered trademarks, design-marks, and/or
00090 service marks of Xara Group Ltd. All rights in these marks are reserved.
00091 
00092 
00093       Xara Group Ltd, Gaddesden Place, Hemel Hempstead, HP2 6EX, UK.
00094                         http://www.xara.com/
00095 
00096 =================================XARAHEADEREND============================
00097  */
00098 
00099 // Bevel Attribute definitions
00100 
00101 #ifndef INC_BEVELATTR
00102 #define INC_BEVELATTR
00103 
00104 //#include "nodeattr.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00105 //#include "doccolor.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00106 //#include "attr.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00107 //#include "fillattr.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00108 //#include "rndrgn.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00109 //#include "becomea.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00110 
00111 class BevelAttributePathProcessor;
00112 
00113 /********************************************************************************************
00114 
00115 >   class BevelAttributeValueIndent : public AttributeValue
00116 
00117     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00118     Created:    18/11/98
00119     Purpose:    Sets the indent attribute
00120     SeeAlso:    
00121 
00122 ********************************************************************************************/
00123 
00124 class BevelAttributeValueIndent : public AttributeValue
00125 {
00126     CC_DECLARE_DYNCREATE(BevelAttributeValueIndent)
00127 public:
00128     BevelAttributeValueIndent();
00129     BevelAttributeValueIndent(INT32 val) { m_Indent = val; }
00130     virtual void Restore(RenderRegion *, BOOL);
00131     virtual void Render(RenderRegion *, BOOL Temp = FALSE);
00132     virtual NodeAttribute *MakeNode();
00133     BOOL IsDifferent(AttributeValue *pAttr);
00134     virtual void SimpleCopy(AttributeValue *);
00135     
00136     static BOOL Init();
00137 
00138 public:
00139     // the value
00140     INT32 m_Indent;
00141 
00142     
00143 };
00144 
00145 /********************************************************************************************
00146 
00147 >   class AttrBevel : public NodeAttribute
00148 
00149     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00150     Created:    18/11/98
00151     Purpose:    Base class for bevel attributes
00152     SeeAlso:    
00153     Nodes:      Does nothing really but allow IsKindOf to pick up on bevel attributes
00154 
00155 ********************************************************************************************/
00156 class AttrBevel : public NodeAttribute
00157 {
00158 CC_DECLARE_DYNCREATE(AttrBevel)
00159 public:
00160     AttrBevel();
00161     AttrBevel(Node* ContextNode,  
00162                       AttachNodeDirection Direction,    
00163                       BOOL Locked=FALSE, 
00164                       BOOL Mangled=FALSE,  
00165                       BOOL Marked=FALSE, 
00166                       BOOL Selected=FALSE); 
00167 } ;
00168 
00169 /***********************************************************************************************
00170 
00171 >   class AttrBevelIndent : public AttrBevel
00172 
00173     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00174     Created:    18/11/98
00175     Purpose:    Bevel indent attribute
00176 
00177 ***********************************************************************************************/
00178 
00179 class AttrBevelIndent : public AttrBevel
00180 {
00181     CC_DECLARE_DYNCREATE(AttrBevelIndent)
00182 
00183 public:
00184     AttrBevelIndent(); 
00185     AttrBevelIndent(Node* ContextNode,  
00186                       AttachNodeDirection Direction,    
00187                       BOOL Locked=FALSE, 
00188                       BOOL Mangled=FALSE,  
00189                       BOOL Marked=FALSE, 
00190                       BOOL Selected=FALSE); 
00191 
00192     void Render( RenderRegion* pRender );
00193     virtual CCRuntimeClass* GetAttributeType() { return CC_RUNTIME_CLASS(AttrBevelIndent); }
00194     virtual AttributeValue* GetAttributeValue() { return &Value; }
00195     virtual AttrIndex GetAttributeIndex () { return ATTR_BEVELINDENT; }
00196 
00197     Node* SimpleCopy();                         // Copies a node
00198     virtual INT32 operator==(const NodeAttribute& NodeAttrib); 
00199     virtual UINT32 GetAttrNameID(void); 
00200 
00201     void ShowDebugTreeDetails() const;          // Debugging function
00202 
00203     void GetDebugDetails(StringBase* Str);
00204 
00205     virtual UINT32 GetNodeSize() const;             // Returns size of node in bytes
00206 
00207     virtual void Transform( TransformBase& );
00208     virtual BOOL EffectsParentBounds() { return TRUE; }
00209 
00210     // Version 2 file format functions
00211     virtual BOOL WritePreChildrenWeb(BaseCamelotFilter* pFilter);
00212     virtual BOOL WritePreChildrenNative(BaseCamelotFilter* pFilter);
00213 
00214     void SetValue(INT32 NewValue) { Value.m_Indent = NewValue; }
00215 
00216     BOOL Blend(BlendAttrParam* pBlendParam);
00217     virtual void PolyCopyNodeContents(NodeRenderable* pNodeCopy);
00218 
00219 private:
00220     void CopyNodeContents( AttrBevelIndent* NodeCopy );
00221 
00222 public:
00223     BevelAttributeValueIndent Value;
00224 };
00225 
00226 /********************************************************************************************
00227 
00228 >   class BevelAttributeValueLightAngle : public AttributeValue
00229 
00230     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00231     Created:    18/11/98
00232     Purpose:    Sets the indent attribute
00233     SeeAlso:    
00234 
00235 ********************************************************************************************/
00236 
00237 class BevelAttributeValueLightAngle : public AttributeValue
00238 {
00239     CC_DECLARE_DYNCREATE(BevelAttributeValueLightAngle)
00240 public:
00241     BevelAttributeValueLightAngle();
00242     BevelAttributeValueLightAngle(INT32 val) { m_LightAngle = val; }
00243     virtual void Restore(RenderRegion *, BOOL);
00244     virtual void Render(RenderRegion *, BOOL Temp = FALSE);
00245     virtual NodeAttribute *MakeNode();
00246     BOOL IsDifferent(AttributeValue *pAttr);
00247     virtual void SimpleCopy(AttributeValue *);
00248 
00249     static BOOL Init();
00250 
00251 public:
00252     // the value
00253     INT32 m_LightAngle;
00254 };
00255 
00256 /***********************************************************************************************
00257 
00258 >   class AttrBevelLightAngle : public AttrBevel
00259 
00260     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00261     Created:    18/11/98
00262     Purpose:    Bevel indent attribute
00263 
00264 ***********************************************************************************************/
00265 
00266 class AttrBevelLightAngle : public AttrBevel
00267 {
00268     CC_DECLARE_DYNCREATE(AttrBevelLightAngle)
00269 
00270 public:
00271     AttrBevelLightAngle(); 
00272     AttrBevelLightAngle(Node* ContextNode,  
00273                       AttachNodeDirection Direction,    
00274                       BOOL Locked=FALSE, 
00275                       BOOL Mangled=FALSE,  
00276                       BOOL Marked=FALSE, 
00277                       BOOL Selected=FALSE); 
00278 
00279     virtual CCRuntimeClass* GetAttributeType() { return CC_RUNTIME_CLASS(AttrBevelLightAngle); }
00280     virtual AttributeValue* GetAttributeValue() { return &Value; }
00281     virtual AttrIndex GetAttributeIndex () { return ATTR_BEVELLIGHTANGLE; }
00282 
00283     void Render( RenderRegion* pRender );
00284 
00285     Node* SimpleCopy();                         // Copies a node
00286     virtual INT32 operator==(const NodeAttribute& NodeAttrib); 
00287     virtual UINT32 GetAttrNameID(void); 
00288 
00289     void ShowDebugTreeDetails() const;          // Debugging function
00290 
00291     void GetDebugDetails(StringBase* Str);
00292 
00293     virtual UINT32 GetNodeSize() const;             // Returns size of node in bytes
00294 
00295     virtual void Transform( TransformBase& );
00296     virtual BOOL EffectsParentBounds() { return FALSE; }
00297 
00298     // Version 2 file format functions
00299     virtual BOOL WritePreChildrenWeb(BaseCamelotFilter* pFilter);
00300     virtual BOOL WritePreChildrenNative(BaseCamelotFilter* pFilter);
00301 
00302     void SetValue(INT32 NewValue) { Value.m_LightAngle = NewValue; }
00303 
00304     BOOL Blend(BlendAttrParam* pBlendParam);
00305     virtual void PolyCopyNodeContents(NodeRenderable* pNodeCopy);
00306 
00307 private:
00308     void CopyNodeContents( AttrBevelLightAngle* NodeCopy );
00309 
00310 public:
00311     BevelAttributeValueLightAngle Value;
00312 };
00313 
00314 /********************************************************************************************
00315 
00316 >   class BevelAttributeValueContrast : public AttributeValue
00317 
00318     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00319     Created:    18/11/98
00320     Purpose:    Sets the indent attribute
00321     SeeAlso:    
00322 
00323 ********************************************************************************************/
00324 
00325 class BevelAttributeValueContrast : public AttributeValue
00326 {
00327     CC_DECLARE_DYNCREATE(BevelAttributeValueContrast)
00328 public:
00329     BevelAttributeValueContrast();
00330     BevelAttributeValueContrast(INT32 val) { m_Contrast = val; }
00331     virtual void Restore(RenderRegion *, BOOL);
00332     virtual void Render(RenderRegion *, BOOL Temp = FALSE);
00333     virtual NodeAttribute *MakeNode();
00334     BOOL IsDifferent(AttributeValue *pAttr);
00335     virtual void SimpleCopy(AttributeValue *);
00336 
00337     static BOOL Init();
00338 
00339 public:
00340     // the value
00341     INT32 m_Contrast;
00342 };
00343 
00344 /***********************************************************************************************
00345 
00346 >   class AttrBevelContrast : public AttrBevel
00347 
00348     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00349     Created:    18/11/98
00350     Purpose:    Bevel indent attribute
00351 
00352 ***********************************************************************************************/
00353 
00354 class AttrBevelContrast : public AttrBevel
00355 {
00356     CC_DECLARE_DYNCREATE(AttrBevelContrast)
00357 
00358 public:
00359     AttrBevelContrast(); 
00360     AttrBevelContrast(Node* ContextNode,  
00361                       AttachNodeDirection Direction,    
00362                       BOOL Locked=FALSE, 
00363                       BOOL Mangled=FALSE,  
00364                       BOOL Marked=FALSE, 
00365                       BOOL Selected=FALSE); 
00366 
00367     virtual CCRuntimeClass* GetAttributeType() { return CC_RUNTIME_CLASS(AttrBevelContrast); }
00368     virtual AttributeValue* GetAttributeValue() { return &Value; }
00369     virtual AttrIndex GetAttributeIndex () { return ATTR_BEVELCONTRAST; }
00370 
00371     void Render( RenderRegion* pRender );
00372 
00373     Node* SimpleCopy();                         // Copies a node
00374     virtual INT32 operator==(const NodeAttribute& NodeAttrib); 
00375     virtual UINT32 GetAttrNameID(void); 
00376 
00377     void ShowDebugTreeDetails() const;          // Debugging function
00378 
00379     void GetDebugDetails(StringBase* Str);
00380 
00381     virtual UINT32 GetNodeSize() const;             // Returns size of node in bytes
00382 
00383     virtual void Transform( TransformBase& );
00384     virtual BOOL EffectsParentBounds() { return FALSE; }
00385 
00386     // Version 2 file format functions
00387     virtual BOOL WritePreChildrenWeb(BaseCamelotFilter* pFilter);
00388     virtual BOOL WritePreChildrenNative(BaseCamelotFilter* pFilter);
00389 
00390     void SetValue(INT32 NewValue) { Value.m_Contrast = NewValue; }
00391 
00392     BOOL Blend(BlendAttrParam* pBlendParam);
00393     virtual void PolyCopyNodeContents(NodeRenderable* pNodeCopy);
00394 
00395 private:
00396     void CopyNodeContents( AttrBevelContrast* NodeCopy );
00397 
00398 public:
00399     BevelAttributeValueContrast Value;
00400 };
00401 
00402 /********************************************************************************************
00403 
00404 >   class BevelAttributeValueType : public AttributeValue
00405 
00406     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00407     Created:    18/11/98
00408     Purpose:    Sets the indent attribute
00409     SeeAlso:    
00410 
00411 ********************************************************************************************/
00412 
00413 class BevelAttributeValueType : public AttributeValue
00414 {
00415     CC_DECLARE_DYNCREATE(BevelAttributeValueType)
00416 public:
00417     BevelAttributeValueType();
00418     ~BevelAttributeValueType();
00419     BevelAttributeValueType(INT32 val);
00420     virtual void Restore(RenderRegion *, BOOL);
00421     virtual void Render(RenderRegion *, BOOL Temp = FALSE);
00422     virtual NodeAttribute *MakeNode();
00423     virtual NodeAttribute *MakeNode(Node * pNode, AttachNodeDirection Direction);
00424     BOOL IsDifferent(AttributeValue *pAttr);
00425     virtual void SimpleCopy(AttributeValue *);
00426     INT32 operator=(AttributeValue& Attrib);
00427     INT32 operator==(AttributeValue& Attrib);
00428 
00429     // enables it to pop the path processor
00430     void GoingOutOfScope(RenderRegion * pRegion);
00431 
00432     static BOOL Init();
00433 
00434     void SetPassbackValue(BOOL b) { m_bPassback = b; }
00435 
00436 public:
00437     // the value
00438     INT32 m_Type;
00439 
00440     // enables this node in the becomea/passback mechanism
00441     BOOL m_bPassback;
00442 
00443     // if we enable the passback mechanism, then we MUST hold copies
00444     // of the other attribute's values - this is because when GoingOutOfScope
00445     // is called on me, the other attributes could have already been replaced on the
00446     // stack
00447     void SetIndent(MILLIPOINT Indent) { m_Indent = Indent; }
00448     void SetLightAngle(double LightAngle) { m_LightAngle = LightAngle; }
00449     void SetContrast(INT32 Contrast)    { m_Contrast = Contrast; }
00450 
00451     MILLIPOINT GetIndent() { return m_Indent; }
00452     double GetLightAngle() { return m_LightAngle; }
00453     INT32 GetContrast()    { return m_Contrast; }
00454 
00455 private:
00456     MILLIPOINT  m_Indent;
00457     double      m_LightAngle;
00458     INT32       m_Contrast;
00459 
00460 private:
00461     BevelAttributePathProcessor * m_pProc;
00462 
00463     // creates the bevel bitmap out of the path processor, and the render region's
00464     // context stack
00465     KernelBitmap * CreateBevelBitmap(RenderRegion * pRegion);
00466 
00467     // renders the given bitmap
00468     BOOL RenderBitmap(RenderRegion * pRegion, KernelBitmap * pBitmap,
00469                         Path * pSrcPath, Path * pRenderPath);
00470 };
00471 
00472 /***********************************************************************************************
00473 
00474 >   class AttrBevelType : public AttrBevel
00475 
00476     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00477     Created:    18/11/98
00478     Purpose:    Bevel indent attribute
00479 
00480 ***********************************************************************************************/
00481 
00482 class AttrBevelType : public AttrBevel
00483 {
00484     CC_DECLARE_DYNCREATE(AttrBevelType)
00485 
00486 public:
00487     AttrBevelType(); 
00488     AttrBevelType(Node* ContextNode,  
00489                       AttachNodeDirection Direction,    
00490                       BOOL Locked=FALSE, 
00491                       BOOL Mangled=FALSE,  
00492                       BOOL Marked=FALSE, 
00493                       BOOL Selected=FALSE); 
00494 
00495     void Render( RenderRegion* pRender );
00496 
00497     Node* SimpleCopy();                         // Copies a node
00498     virtual INT32 operator==(const NodeAttribute& NodeAttrib); 
00499     virtual UINT32 GetAttrNameID(void); 
00500 
00501     virtual CCRuntimeClass* GetAttributeType() { return CC_RUNTIME_CLASS(AttrBevelType); }
00502     virtual AttributeValue* GetAttributeValue() { return &Value; }
00503     virtual AttrIndex GetAttributeIndex () { return ATTR_BEVELTYPE; }
00504 
00505     void ShowDebugTreeDetails() const;          // Debugging function
00506 
00507     void GetDebugDetails(StringBase* Str);
00508 
00509     virtual UINT32 GetNodeSize() const;             // Returns size of node in bytes
00510 
00511     virtual void Transform( TransformBase& );
00512     
00513     // Version 2 file format functions
00514     virtual BOOL WritePreChildrenWeb(BaseCamelotFilter* pFilter);
00515     virtual BOOL WritePreChildrenNative(BaseCamelotFilter* pFilter);
00516 
00517     void SetValue(INT32 NewValue) { Value.m_Type = NewValue; }
00518 
00519     // the blend function for this value
00520     virtual BOOL Blend(BlendAttrParam* pBlendParam);
00521 
00522     virtual BOOL EffectsParentBounds() { return Value.m_bPassback; }
00523     DocRect GetAttrBoundingRect(NodeRenderableInk* pParent = NULL, CCAttrMap* pAttribMap = NULL);
00524 
00525     virtual BOOL CanBecomeA(BecomeA* pBecomeA);
00526     virtual BOOL DoBecomeA(BecomeA* pBecomeA);
00527     virtual void PolyCopyNodeContents(NodeRenderable* pNodeCopy);
00528 
00529 private:
00530     void CopyNodeContents( AttrBevelType* NodeCopy );
00531 
00532 public:
00533     BevelAttributeValueType Value;
00534 };
00535 
00536 /********************************************************************************************
00537 
00538 >   class BevelAttributeValueLightTilt : public AttributeValue
00539 
00540     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00541     Created:    18/11/98
00542     Purpose:    Sets the indent attribute
00543     SeeAlso:    
00544 
00545 ********************************************************************************************/
00546 
00547 class BevelAttributeValueLightTilt : public AttributeValue
00548 {
00549     CC_DECLARE_DYNCREATE(BevelAttributeValueLightTilt)
00550 public:
00551     BevelAttributeValueLightTilt();
00552     BevelAttributeValueLightTilt(INT32 val) { m_LightTilt = val; }
00553     virtual void Restore(RenderRegion *, BOOL);
00554     virtual void Render(RenderRegion *, BOOL Temp = FALSE);
00555     virtual NodeAttribute *MakeNode();
00556     BOOL IsDifferent(AttributeValue *pAttr);
00557     virtual void SimpleCopy(AttributeValue *);
00558 
00559     static BOOL Init();
00560 
00561 public:
00562     // the value
00563     INT32 m_LightTilt;
00564 };
00565 
00566 /***********************************************************************************************
00567 
00568 >   class AttrBevelLightTilt : public AttrBevel
00569 
00570     Author:     David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
00571     Created:    18/11/98
00572     Purpose:    Bevel indent attribute
00573 
00574 ***********************************************************************************************/
00575 
00576 class AttrBevelLightTilt : public AttrBevel
00577 {
00578     CC_DECLARE_DYNCREATE(AttrBevelLightTilt)
00579 
00580 public:
00581     AttrBevelLightTilt(); 
00582     AttrBevelLightTilt(Node* ContextNode,  
00583                       AttachNodeDirection Direction,    
00584                       BOOL Locked=FALSE, 
00585                       BOOL Mangled=FALSE,  
00586                       BOOL Marked=FALSE, 
00587                       BOOL Selected=FALSE); 
00588 
00589     virtual CCRuntimeClass* GetAttributeType() { return CC_RUNTIME_CLASS(AttrBevelLightTilt); }
00590     virtual AttributeValue* GetAttributeValue() { return &Value; }
00591     virtual AttrIndex GetAttributeIndex () { return ATTR_BEVELLIGHTTILT; }
00592 
00593     void Render( RenderRegion* pRender );
00594 
00595     Node* SimpleCopy();                         // Copies a node
00596     virtual INT32 operator==(const NodeAttribute& NodeAttrib); 
00597     virtual UINT32 GetAttrNameID(void); 
00598 
00599     void ShowDebugTreeDetails() const;          // Debugging function
00600 
00601     void GetDebugDetails(StringBase* Str);
00602 
00603     virtual UINT32 GetNodeSize() const;             // Returns size of node in bytes
00604 
00605     virtual void Transform( TransformBase& );
00606     virtual BOOL EffectsParentBounds() { return FALSE; }
00607 
00608     // Version 2 file format functions
00609     virtual BOOL WritePreChildrenWeb(BaseCamelotFilter* pFilter);
00610     virtual BOOL WritePreChildrenNative(BaseCamelotFilter* pFilter);
00611 
00612     void SetValue(INT32 NewValue) { Value.m_LightTilt = NewValue; }
00613 
00614     BOOL Blend(BlendAttrParam* pBlendParam);
00615     virtual void PolyCopyNodeContents(NodeRenderable* pNodeCopy);
00616 
00617 private:
00618     void CopyNodeContents( AttrBevelLightTilt* NodeCopy );
00619 
00620 public:
00621     BevelAttributeValueLightTilt Value;
00622 };
00623 
00624 #endif

Generated on Sat Nov 10 03:44:14 2007 for Camelot by  doxygen 1.4.4