Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GPrintDC Class Reference

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

#include <Gdc2.h>

Inheritance diagram for GPrintDC:

GSurface GDeviceContext List of all members.

Public Member Functions

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 Oct 26 14:47:01 2005 for Lgi by  doxygen 1.4.1