GUIDOLib  1.7.7
Guido Engine Internal Documentation
GRTagARNotationElement.h
1 #ifndef GRTagARNotationElement_H
2 #define GRTagARNotationElement_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 class ARMusicalObject;
19 
20 #include "ARMusicalTag.h"
21 #include "GRTag.h"
22 #include "GRARNotationElement.h"
23 
27 {
28 public:
29  GRTagARNotationElement (const ARMusicalObject * el, float curLSPACE, bool ownsAR = false )
30  : GRTag(static_cast<const ARMusicalTag *>(el->isARMusicalTag()), curLSPACE),
31  GRARNotationElement(el, ownsAR)
32  {}
33 
35 
36  virtual const NVPoint & getOffset() const { return GRTag::getOffset(); }
37  virtual float getSize() const { return GRTag::getSize(); }
38  virtual const char * getFont() const { return GRTag::getFont(); }
39  virtual const char * getFontAttrib() const { return GRTag::getFontAttrib(); }
40  virtual int getFontSize() const { return GRTag::getFontSize(); }
41  virtual const unsigned char * getColRef() const { return GRTag::getColRef(); }
42 };
43 
44 #endif
GRTagARNotationElement::getFont
virtual const char * getFont() const
Definition: GRTagARNotationElement.h:38
GRTag::getFontSize
virtual int getFontSize() const
Definition: GRTag.h:59
GRTagARNotationElement::getFontAttrib
virtual const char * getFontAttrib() const
Definition: GRTagARNotationElement.h:39
GRTagARNotationElement::getSize
virtual float getSize() const
Definition: GRTagARNotationElement.h:37
NVPoint
Definition: NVPoint.h:20
GRTagARNotationElement::getOffset
virtual const NVPoint & getOffset() const
Definition: GRTagARNotationElement.h:36
GRTagARNotationElement::getFontSize
virtual int getFontSize() const
Definition: GRTagARNotationElement.h:40
GRTag::getFontAttrib
virtual const char * getFontAttrib() const
Definition: GRTag.h:58
GRTagARNotationElement::getColRef
virtual const unsigned char * getColRef() const
Definition: GRTagARNotationElement.h:41
GRTag::getColRef
virtual const unsigned char * getColRef() const
Definition: GRTag.h:61
GRTagARNotationElement
GRTagARNotationElement.
Definition: GRTagARNotationElement.h:26
ARMusicalTag
The base class for all musical tag classes.
Definition: ARMusicalTag.h:34
GRTag::getSize
virtual float getSize() const
Definition: GRTag.h:53
GRTag
The GRTag class is the base class for all GUIDO tags.
Definition: GRTag.h:37
GRTagARNotationElement::~GRTagARNotationElement
virtual ~GRTagARNotationElement()
Definition: GRTagARNotationElement.h:34
GRTagARNotationElement::GRTagARNotationElement
GRTagARNotationElement(const ARMusicalObject *el, float curLSPACE, bool ownsAR=false)
Definition: GRTagARNotationElement.h:29
ARMusicalObject
The base class for all AR objects. It contains all musical information : duration and time position.
Definition: ARMusicalObject.h:33
GRARNotationElement
This class is the base class for all graphical elements that have a direct counterpart in the Abstrac...
Definition: GRARNotationElement.h:25
GRTag::getFont
virtual const char * getFont() const
Definition: GRTag.h:57
GRTag::getOffset
virtual const NVPoint & getOffset() const
Definition: GRTag.h:52

Guido Project Copyright © 2019 Grame-CNCM