#include <Gdc2.h>
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. |
This class redirects standard graphics calls to print a page.