#include <gdi.h>
class MPageRegionPrinter |
Public Member Functions | |
---|---|
pure virtual void | PrintBandL(CGraphicsDevice *, TInt, const TBandAttributes &) |
Interface for printing in bands.
void | PrintBandL | ( | CGraphicsDevice * | aDevice, |
TInt | aPageNo, | |||
const TBandAttributes & | aBandInPixels | |||
) | [pure virtual] |
Prints a band.
Implementations should set up a graphics context to which all drawing should take place using CGraphicsDevice::CreateContext(). All co-ordinate calculations should be done in twips, and converted into pixels before starting the print job.
Parameter | Description |
---|---|
aDevice | Pointer to the graphics device representing the printer. |
aPageNo | The number of the page containing the band to be printed. |
aBandInPixels | Attributes of the band to be printed. |