GUIDOLib  1.7.7
A Music Score Rendering Engine
VGSystem.h
Go to the documentation of this file.
1 #ifndef VGSystem_H
2 #define VGSystem_H
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2003, 2008 Grame
7 
8  This Source Code Form is subject to the terms of the Mozilla Public
9  License, v. 2.0. If a copy of the MPL was not distributed with this
10  file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 
12  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
13  research@grame.fr
14 
15 */
16 
17 class VGDevice;
18 class VGFont;
19 
39 // --------------------------------------------------------------
40 // VGSystem class
41 // --------------------------------------------------------------
61 class VGSystem
62 {
63  public:
64 
65  virtual ~VGSystem() {}
66 
67  // - VGDevice services -------------------------------------------
68 
71  virtual VGDevice* CreateDisplayDevice( ) = 0;
72 
76  virtual VGDevice* CreateMemoryDevice( int inWidth,
77  int inHeight ) = 0;
81  virtual VGDevice* CreateMemoryDevice( const char * inPath ) = 0;
82 
84  virtual VGDevice* CreatePrinterDevice( ) = 0;
85 
90  virtual VGDevice* CreateAntiAliasedMemoryDevice( int inWidth,
91  int inHeight ) = 0;
92 
93  // - Font services -----------------------------------------------
94 
96  virtual const VGFont* CreateVGFont( const char * faceName, int size, int properties ) const = 0;
97 
98 };
99 
102 #endif
VGSystem::CreatePrinterDevice
virtual VGDevice * CreatePrinterDevice()=0
Creates and returns a pointer to a new printer VGDevice.
VGSystem::CreateVGFont
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.
VGSystem::CreateDisplayDevice
virtual VGDevice * CreateDisplayDevice()=0
VGSystem::~VGSystem
virtual ~VGSystem()
Definition: VGSystem.h:65
VGSystem
Generic pure virtual class for manipulating platform independant drawing devices and fonts.
Definition: VGSystem.h:61
VGSystem::CreateAntiAliasedMemoryDevice
virtual VGDevice * CreateAntiAliasedMemoryDevice(int inWidth, int inHeight)=0
VGDevice
Generic platform independant drawing device.
Definition: VGDevice.h:68
VGFont
Generic pure virtual & device-independant font class.
Definition: VGFont.h:36
VGSystem::CreateMemoryDevice
virtual VGDevice * CreateMemoryDevice(int inWidth, int inHeight)=0

Guido Project Copyright © 2019 Grame-CNCM