PrintRenderCallback Class Reference

Handling callbacks from RenderTree Notes: RenderTree function calls the main function in this class when it's about to render any Node. More...

#include <prntview.h>

Inheritance diagram for PrintRenderCallback:

RenderCallback CCObject SimpleCCObject List of all members.

Public Member Functions

 PrintRenderCallback (PrintView *pPrintView)
virtual BOOL BeforeNode (RenderRegion *pRegion, Node *pNode)
 Handle the callback from RenderTree that has been requested by PrintView.

Private Attributes

PrintViewm_pPrintView

Detailed Description

Handling callbacks from RenderTree Notes: RenderTree function calls the main function in this class when it's about to render any Node.

Author:
Phil_Martin (Xara Group Ltd) <camelotdev@xara.com>
Date:
30/11/2004

Definition at line 172 of file prntview.h.


Constructor & Destructor Documentation

PrintRenderCallback::PrintRenderCallback PrintView pPrintView  )  [inline]
 

Definition at line 175 of file prntview.h.

00175 {m_pPrintView = pPrintView;}


Member Function Documentation

BOOL PrintRenderCallback::BeforeNode RenderRegion pRender,
Node pNode
[virtual]
 

Handle the callback from RenderTree that has been requested by PrintView.

Author:
Phil_Martin (Xara Group Ltd) <camelotdev@xara.com>
Date:
30/11/2004
Parameters:
pNode - pointer to node about to be rendered by RenderTree [INPUTS] pRender - pointer to RenderRegion running RenderTree loop
- [OUTPUTS]
Returns:
TRUE if node can be rendered FALSE if not

Reimplemented from RenderCallback.

Definition at line 360 of file prntview.cpp.

00361 {
00362     return (m_pPrintView->IsPrintableNodeSelected(pNode));
00363 }


Member Data Documentation

PrintView* PrintRenderCallback::m_pPrintView [private]
 

Definition at line 180 of file prntview.h.


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