GPrintDC Class Reference

An implemenation of GSurface to print to a printer. More...

#include <Gdc2.h>

Inheritance diagram for GPrintDC:

GSurface

List of all members.

Public Member Functions

bool IsPrint ()
 Returns true if the surface is for printing.
int X ()
 Gets the width in pixels.
int Y ()
 Gets the height in pixels.
int GetBits ()
 Gets the bits per pixel.
int DpiX ()
 Returns the horizontal DPI of the printer or 0 on error.
int DpiY ()
 Returns the vertical DPI of the printer or 0 on error.
bool StartPage ()
 Call before any graphics commands to start a page.
void EndPage ()
 Call to finish a page after drawing some graphics.


Detailed Description

An implemenation of GSurface to print to a printer.

This class redirects standard graphics calls to print a page.

See also:
GPrinter

The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:03 2010 for Lgi by  doxygen 1.5.7.1