GUIDOLib
1.7.7
A Music Score Rendering Engine
|
Generic pure virtual class for manipulating platform independant drawing devices and fonts. More...
Public Member Functions | |
virtual | ~VGSystem () |
virtual VGDevice * | CreateDisplayDevice ()=0 |
virtual VGDevice * | CreateMemoryDevice (int inWidth, int inHeight)=0 |
virtual VGDevice * | CreateMemoryDevice (const char *inPath)=0 |
virtual VGDevice * | CreatePrinterDevice ()=0 |
Creates and returns a pointer to a new printer VGDevice. More... | |
virtual VGDevice * | CreateAntiAliasedMemoryDevice (int inWidth, int inHeight)=0 |
virtual const VGFont * | CreateVGFont (const char *faceName, int size, int properties) const =0 |
Creates and returns a pointer to a new VGFont using the specified parameters. More... | |
Generic pure virtual class for manipulating platform independant drawing devices and fonts.
A VGSystem object (for Virtual Guido drawing System) is the highest graphical abstraction whose child-object can be used by a client app to obtain a platform dependant graphical system able to perform guido drawing or printing operations (like double-buffered display on the current screen or printing). To do so, the client app simply needs to intantiate an object of the appropriate platform dependant VGSystem derived class using the correct platform dependant parameters.
A VGSystem object deals mainly with two kinds of graphical objects:
- VGDevice objects, which can be display devices, memory devices or printer devices; - VGFont objects, used to describe device independant fonts (for music or text).
|
inlinevirtual |
|
pure virtual |
Creates and returns a pointer to a new memory VGDevice compatible with the application's current screen and using anti-aliasing capabilities. This device can be used to draw into a bitmap.
|
pure virtual |
Creates and returns a pointer to a new display VGDevice which can be used to draw directly on the screen.
|
pure virtual |
Creates and returns a pointer to a new memory VGDevice compatible with the file (pixmap) located at the specified path.
|
pure virtual |
Creates and returns a pointer to a new memory VGDevice compatible with the application's current screen. This device can be used to draw into a bitmap.
|
pure virtual |
Creates and returns a pointer to a new printer VGDevice.