GUIDOLib  1.7.7
Guido Engine Internal Documentation
GRInstrument.h
1 #ifndef GRInstrument_H
2 #define GRInstrument_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 #include "GRTagARNotationElement.h"
19 
20 class ARInstrument;
21 class GRStaff;
22 class VGFont;
23 
27 {
28  public:
29 
30  GRInstrument(const ARInstrument * par, GRStaff* staff);
31  virtual ~GRInstrument() {}
32 
33  const ARInstrument* getARInstrument() const;
34  virtual void OnDraw(VGDevice & hdc ) const;
35  virtual const NVPoint & getReferencePosition() const;
36 
37  private:
38  const VGFont* fFont = 0;
39  unsigned int fTextAlign = 0;
40  NVPoint fRefPos;
41 };
42 
43 #endif
ARInstrument
not yet documented
Definition: ARInstrument.h:53
NVPoint
Definition: NVPoint.h:20
GRStaff
A GRStaff represents a single line of music.
Definition: GRStaff.h:181
GRInstrument::OnDraw
virtual void OnDraw(VGDevice &hdc) const
GRInstrument::getReferencePosition
virtual const NVPoint & getReferencePosition() const
Retrieves the Symbol-reference-position with respect to the GUIDO-reference-position.
VGDevice
Generic platform independant drawing device.
Definition: VGDevice.h:68
GRInstrument::GRInstrument
GRInstrument(const ARInstrument *par, GRStaff *staff)
GRTagARNotationElement
GRTagARNotationElement.
Definition: GRTagARNotationElement.h:26
GRInstrument::~GRInstrument
virtual ~GRInstrument()
Definition: GRInstrument.h:31
VGFont
Generic pure virtual & device-independant font class.
Definition: VGFont.h:36
GRInstrument
not yet documented
Definition: GRInstrument.h:26
GRInstrument::getARInstrument
const ARInstrument * getARInstrument() const

Guido Project Copyright © 2019 Grame-CNCM