rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintableGraphic Class Reference

This class encapsulates an IlvGraphic so that it can be printed with this library. More...

#include <ilviews/printing/printables.h>

Inheritance diagram for IlvPrintableGraphic:
IlvPrintableScalable IlvPrintable

List of all members.

Public Member Functions

 IlvPrintableGraphic (IlvGraphic *graphic, IlBoolean owner=((IlBoolean) 1), IlvRegion const *clip=0, IlvTransformer const *t=0)
 The constructor.
 ~IlvPrintableGraphic ()
 The destructor.
IlvGraphic const * getGraphic () const
 Gets the graphic object to be printed.
void setGraphic (IlvGraphic *graphic, IlBoolean owner=((IlBoolean) 1))
 Sets the graphic object to be printed.

Protected Member Functions

virtual IlBoolean internalPrint (IlvPrintableJob const &job) const
 This function actually prints the document.

Detailed Description

This class encapsulates an IlvGraphic so that it can be printed with this library.

Library: ilvprint

See also:
IlvPrintableDocument::append

Constructor & Destructor Documentation

IlvPrintableGraphic::IlvPrintableGraphic ( IlvGraphic graphic,
IlBoolean  owner = ((IlBoolean) 1),
IlvRegion const *  clip = 0,
IlvTransformer const *  t = 0 
)

The constructor.

Parameters:
graphic A const pointer to an IlvGraphic.
owner If IlTrue the destructor deletes the graphic object.
clip A const pointer to an IlvRegion that defines the clip.
t A const pointer to an IlvTransformer that defines the transformer used by the drawing.
IlvPrintableGraphic::~IlvPrintableGraphic (  ) 

The destructor.

Deletes the graphic object when owner.


Member Function Documentation

IlvGraphic const * IlvPrintableGraphic::getGraphic (  )  const

Gets the graphic object to be printed.

Returns:
The graphic object to be printed.
virtual IlBoolean IlvPrintableGraphic::internalPrint ( IlvPrintableJob const &  job  )  const [protected, virtual]

This function actually prints the document.

Parameters:
job The settings of the current print job.
Returns:
IlFalse if an error occurred during the printing, IlTrue otherwise.

Implements IlvPrintable.

void IlvPrintableGraphic::setGraphic ( IlvGraphic graphic,
IlBoolean  owner = ((IlBoolean) 1) 
)

Sets the graphic object to be printed.

Parameters:
graphic The graphic object to be printed.
owner If IlTrue the graphic object must be deleted.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.