GUIDOLib  1.7.7
Guido Engine Internal Documentation
GRStaccato.h
1 #ifndef GRStaccato_H
2 #define GRStaccato_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 "ARStaccato.h"
19 #include "GRARNotationElement.h"
20 #include "GRDefine.h"
21 
22 class GRStaff;
23 
24 
28 {
29 
30  public:
31  GRStaccato( const ARStaccato * arstacc, bool ownsar = false);
32  virtual ~GRStaccato();
33 
34  // ignoriere Positionssetzungen ...
35  virtual void setPosition(const NVPoint &point);
36 
37  // this will be done by the event to which
38  // the staccato belongs ....
39  virtual void tellPosition(GObject * caller,const NVPoint & pos);
40 
41  virtual void OnDraw( VGDevice & hdc ) const;
42 };
43 
44 #endif
45 
46 
GObject
The base class for all graphic objects.
Definition: GObject.h:54
GRStaccato::tellPosition
virtual void tellPosition(GObject *caller, const NVPoint &pos)
GRStaccato::OnDraw
virtual void OnDraw(VGDevice &hdc) const
GRStaccato::~GRStaccato
virtual ~GRStaccato()
NVPoint
Definition: NVPoint.h:20
GRStaff
A GRStaff represents a single line of music.
Definition: GRStaff.h:181
ARStaccato
Staccato Tag.
Definition: ARStaccato.h:44
VGDevice
Generic platform independant drawing device.
Definition: VGDevice.h:68
GRStaccato
Graphical representation af a Staccato.
Definition: GRStaccato.h:27
GRStaccato::GRStaccato
GRStaccato(const ARStaccato *arstacc, bool ownsar=false)
GRStaccato::setPosition
virtual void setPosition(const NVPoint &point)
GRARNotationElement
This class is the base class for all graphical elements that have a direct counterpart in the Abstrac...
Definition: GRARNotationElement.h:25

Guido Project Copyright © 2019 Grame-CNCM