PSWorldCanvasApp.h

Classes

PSWorldCanvasApp -- Simple PostScript WorldCanvas application (full description)

class PSWorldCanvasApp

Interface

Public Members
PSWorldCanvasApp(PSDriver *ps)
virtual ~PSWorldCanvasApp()
WorldCanvas *worldCanvas() const
void run()
PSDriver *getDriver()const
PSPixelCanvas *pixelCanvas()const

Description

Prerequisite

Etymology

PSWorldCanvasApp stands for PostScript WorldCanvas Application

Synopsis

PSWorldCanvasApp provides a basic infrastructure, including a PostScript PixelCanvas and a WorldCanvas, which can be used to write a simple application providing PostScript output.

Motivation

Test class for the PostScript PixelCanvas

Member Description

PSWorldCanvasApp(PSDriver *ps)

default constructor

virtual ~PSWorldCanvasApp()

default destructor

WorldCanvas *worldCanvas() const

retrieve a pointer to the WorldCanvas

void run()

Run the application

PSDriver *getDriver()const

PSPixelCanvas *pixelCanvas()const