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

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 Tue May 2 10:24:51 2006 for Lgi by  doxygen 1.4.1