GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARMarcato.h
1 #ifndef ARMarcato_H
2 #define ARMarcato_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 "ARArticulation.h"
19 
20 /*@mkdoc
21 
22 @group:Articulations
23 
24 @tagname:\marcato
25 @tagalias:
26 @tagtype:RP
27 @tagnotation:marcato sign
28 @tagdesc
29 @tagend
30 
31 @params:
32 @param:position:string:above or below:above:true
33 @paramdesc
34 Note that depending on the position, the glyph for the marcato sign is not the same.
35 
36 See the [Articulations](@EXAMPLES/articulations/) example.
37 @paramend
38 
39 */
40 
43 class ARMarcato : public ARArticulation
44 {
45  public:
46  ARMarcato() {}
47  virtual ~ARMarcato() {}
48 
49  virtual const char* getTagName() const { return "ARMarcato"; };
50  virtual std::string getGMNName() const { return "\\marcato"; };
51 
52  virtual unsigned int getSymbol() const { return fPosition == kBelow ? kMarcatoDownSymbol : kMarcatoUpSymbol; }
53 };
54 
55 #endif
ARMarcato::ARMarcato
ARMarcato()
Definition: ARMarcato.h:46
ARArticulation::kBelow
Definition: ARArticulation.h:28
ARMarcato::getSymbol
virtual unsigned int getSymbol() const
Definition: ARMarcato.h:52
ARMarcato
The marcato articulation tag.
Definition: ARMarcato.h:43
ARArticulation
not yet documented
Definition: ARArticulation.h:25
ARArticulation::fPosition
int fPosition
Definition: ARArticulation.h:44
ARMarcato::~ARMarcato
virtual ~ARMarcato()
Definition: ARMarcato.h:47
ARMarcato::getGMNName
virtual std::string getGMNName() const
Definition: ARMarcato.h:50
ARMarcato::getTagName
virtual const char * getTagName() const
Definition: ARMarcato.h:49

Guido Project Copyright © 2019 Grame-CNCM