RenderCallback Class Reference

Provide a base class for handling callbacks from RenderTree Notes: RenderTree function calls the BeforeNode function in this class when it's about to render any Node. Derive from this class and implement Callback to provide specialised processing of nodes during rendering Derived versions of Callback can: Prevent the node being rendered Set attributes Set subrender contexts Accumulate their own info about the render sequence. More...

#include <rndrgn.h>

Inheritance diagram for RenderCallback:

CCObject SimpleCCObject FilterRenderCallback FlashRenderCallback OptimalBitmapRenderCallback OptimalPrintRenderCallback PrintRenderCallback ScannerRenderCallback SimpleBitmapRenderCallback SimplePrintRenderCallback XPFRenderCallback XPFSpanRenderCallback List of all members.

Public Member Functions

virtual BOOL BeforeNode (RenderRegion *pRegion, Node *pNode)
virtual BOOL BeforeSubtree (RenderRegion *pRegion, Node *pNode, Node **ppNextNode, BOOL bClip, SubtreeRenderState *pState)
virtual BOOL AfterSubtree (RenderRegion *pRegion, Node *pNode)

Detailed Description

Provide a base class for handling callbacks from RenderTree Notes: RenderTree function calls the BeforeNode function in this class when it's about to render any Node. Derive from this class and implement Callback to provide specialised processing of nodes during rendering Derived versions of Callback can: Prevent the node being rendered Set attributes Set subrender contexts Accumulate their own info about the render sequence.

Author:
Phil_Martin (Xara Group Ltd) <camelotdev@xara.com>
Date:
30/11/2004
BeforeSubtree can be used to control navigation around the tree AfterSubtree is there for completeness

Definition at line 1037 of file rndrgn.h.


Member Function Documentation

virtual BOOL RenderCallback::AfterSubtree RenderRegion pRegion,
Node pNode
[inline, virtual]
 

Reimplemented in XPFSpanRenderCallback.

Definition at line 1049 of file rndrgn.h.

01050                                                                 {return FALSE;}

virtual BOOL RenderCallback::BeforeNode RenderRegion pRegion,
Node pNode
[inline, virtual]
 

Reimplemented in FilterRenderCallback, PrintRenderCallback, FlashRenderCallback, ScannerRenderCallback, OptimalPrintRenderCallback, OptimalBitmapRenderCallback, SimplePrintRenderCallback, SimpleBitmapRenderCallback, XPFRenderCallback, and XPFSpanRenderCallback.

Definition at line 1040 of file rndrgn.h.

01041                                                                 {return TRUE;}

virtual BOOL RenderCallback::BeforeSubtree RenderRegion pRegion,
Node pNode,
Node **  ppNextNode,
BOOL  bClip,
SubtreeRenderState pState
[inline, virtual]
 

Reimplemented in FilterRenderCallback, FlashRenderCallback, ScannerRenderCallback, OptimalPrintRenderCallback, OptimalBitmapRenderCallback, SimplePrintRenderCallback, SimpleBitmapRenderCallback, XPFRenderCallback, and XPFSpanRenderCallback.

Definition at line 1043 of file rndrgn.h.

01047                                                                 {return FALSE;}


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 04:00:27 2007 for Camelot by  doxygen 1.4.4