GUIDOLib  1.7.7
Guido Engine Internal Documentation
GRPTagARNotationElement.h
1 #ifndef GRPTagARNotationElement_H
2 #define GRPTagARNotationElement_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 "GRPositionTag.h"
21 #include "GRARNotationElement.h"
22 
26  public GRPositionTag, public GRARNotationElement
27 {
28 public:
29  GRPTagARNotationElement(GuidoPos p_ep, const ARMusicalObject * el, bool ownsAR = false);
30 
31  GRPTagARNotationElement(const ARMusicalObject * el, bool ownsAR = false);
32 
33  virtual ~GRPTagARNotationElement();
34 
35  virtual const NVPoint &getOffset() const
36  { return GRPositionTag::getOffset(); }
37 
38  virtual float getSize() const
39  { return GRPositionTag::getSize(); }
40 
41 // virtual const NVstring * getFont() const
42 // { return GRPositionTag::getFont(); }
43 //
44 // virtual const NVstring *getFontAttrib() const
45 // { return GRPositionTag::getFontAttrib(); }
46 
47  virtual int getFontSize() const
48  { return GRPositionTag::getFontSize(); }
49 
50  const unsigned char * getColRef() const
51  { return GRPositionTag::getColRef(); }
52 
53  virtual void addAssociation( GRNotationElement * grnot );
54  virtual void removeAssociation( GRNotationElement * el );
55 
56 };
57 
58 #endif
GRTag::getFontSize
virtual int getFontSize() const
Definition: GRTag.h:59
GRNotationElement
parent class for all notation elements.
Definition: GRNotationElement.h:54
GRPTagARNotationElement::getSize
virtual float getSize() const
Definition: GRPTagARNotationElement.h:38
NVPoint
Definition: NVPoint.h:20
GRPTagARNotationElement::getColRef
const unsigned char * getColRef() const
Definition: GRPTagARNotationElement.h:50
GRPTagARNotationElement::getFontSize
virtual int getFontSize() const
Definition: GRPTagARNotationElement.h:47
GRPTagARNotationElement::removeAssociation
virtual void removeAssociation(GRNotationElement *el)
GRPTagARNotationElement
not yet documented
Definition: GRPTagARNotationElement.h:25
GRPositionTag
The GRPositionTag is the base class for representing range tags.
Definition: GRPositionTag.h:65
GRTag::getColRef
virtual const unsigned char * getColRef() const
Definition: GRTag.h:61
GRPTagARNotationElement::~GRPTagARNotationElement
virtual ~GRPTagARNotationElement()
GRTag::getSize
virtual float getSize() const
Definition: GRTag.h:53
GRPTagARNotationElement::GRPTagARNotationElement
GRPTagARNotationElement(GuidoPos p_ep, const ARMusicalObject *el, bool ownsAR=false)
ARMusicalObject
The base class for all AR objects. It contains all musical information : duration and time position.
Definition: ARMusicalObject.h:33
GRPTagARNotationElement::addAssociation
virtual void addAssociation(GRNotationElement *grnot)
GRPTagARNotationElement::getOffset
virtual const NVPoint & getOffset() const
Definition: GRPTagARNotationElement.h:35
GRARNotationElement
This class is the base class for all graphical elements that have a direct counterpart in the Abstrac...
Definition: GRARNotationElement.h:25
GRTag::getOffset
virtual const NVPoint & getOffset() const
Definition: GRTag.h:52

Guido Project Copyright © 2019 Grame-CNCM