GUIDOLib  1.7.7
Guido Engine Internal Documentation
MusicFont.h
1 #ifndef GUIDOFONT_H
2 #define GUIDOFONT_H
3 /*
4  GUIDO Library
5  Copyright (C) 2014-2019 Grame
6 
7  This Source Code Form is subject to the terms of the Mozilla Public
8  License, v. 2.0. If a copy of the MPL was not distributed with this
9  file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 
11  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
12  research@grame.fr
13 
14 */
15 
16 #include "StaticFont.h"
17 
18 class MusicFont : public StaticFont
19 {
20  public:
21  enum { kFontSize=200, kGuidoFontHeight=499, kBravuraFontHeight = 804 };
22 
23  MusicFont(const char * name, int size, int properties) : StaticFont(name, size, properties) { initialize(); }
24  virtual ~MusicFont() {}
25 
26  protected:
27  virtual void initialize(); // must initialize the fExtends maps, the height and the ref size
28 };
29 
30 
31 #endif
MusicFont
Definition: MusicFont.h:18
MusicFont::~MusicFont
virtual ~MusicFont()
Definition: MusicFont.h:24
StaticFont
Definition: StaticFont.h:27
MusicFont::kFontSize
Definition: MusicFont.h:21
MusicFont::kGuidoFontHeight
Definition: MusicFont.h:21
MusicFont::MusicFont
MusicFont(const char *name, int size, int properties)
Definition: MusicFont.h:23
MusicFont::initialize
virtual void initialize()
MusicFont::kBravuraFontHeight
Definition: MusicFont.h:21

Guido Project Copyright © 2019 Grame-CNCM