GUIDOLib  1.7.7
Guido Engine Internal Documentation
Image.h
1 #ifndef Image_H
2 #define Image_H
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz
7  Copyright (C) 2002-2017 Grame
8 
9  This Source Code Form is subject to the terms of the Mozilla Public
10  License, v. 2.0. If a copy of the MPL was not distributed with this
11  file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 
13  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
14  research@grame.fr
15 
16 */
17 
18 
19 class VGDevice;
20 class NVRect;
21 class NVPoint;
22 
23 class Image
24 {
25  public:
26  virtual ~Image();
27 
28  virtual void OnDraw( VGDevice & hdc, const NVRect & where) const = 0;
29  virtual void OnDrawW(VGDevice & hdc, const NVPoint & where, float width) const = 0;
30  virtual void OnDrawH(VGDevice & hdc, const NVPoint & where, float height) const = 0;
31 
32  protected:
33 
34  Image();
35 
36 };
37 
38 
39 #endif
40 
41 
Image::OnDraw
virtual void OnDraw(VGDevice &hdc, const NVRect &where) const =0
Image::OnDrawW
virtual void OnDrawW(VGDevice &hdc, const NVPoint &where, float width) const =0
Image::~Image
virtual ~Image()
Image
Definition: Image.h:23
NVPoint
Definition: NVPoint.h:20
Image::OnDrawH
virtual void OnDrawH(VGDevice &hdc, const NVPoint &where, float height) const =0
VGDevice
Generic platform independant drawing device.
Definition: VGDevice.h:68
NVRect
Definition: NVRect.h:22
Image::Image
Image()

Guido Project Copyright © 2019 Grame-CNCM