GUIDOLib
1.7.7
Guido Engine Internal Documentation
src
engine
devices
TimesFont.h
1
#ifndef TIMESFONT_H
2
#define TIMESFONT_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
TimesFont
:
public
StaticFont
19
{
20
public
:
21
enum
{
kTimesFontSize
=200,
kTimesFontHeight
=200 };
22
27
TimesFont
(
const
char
* name,
int
size,
int
properties) :
StaticFont
(name, size, properties) {
initialize
(); }
28
virtual
~TimesFont
() {}
29
30
protected
:
31
virtual
void
initialize
();
// must initialize the fExtends maps, the height and the ref size
32
};
33
34
#endif // TIMESFONT_H
TimesFont::kTimesFontSize
Definition:
TimesFont.h:21
TimesFont::~TimesFont
virtual ~TimesFont()
Definition:
TimesFont.h:28
StaticFont
Definition:
StaticFont.h:27
TimesFont
Definition:
TimesFont.h:18
TimesFont::kTimesFontHeight
Definition:
TimesFont.h:21
TimesFont::TimesFont
TimesFont(const char *name, int size, int properties)
Construct times font with precalculated metrics.
Definition:
TimesFont.h:27
TimesFont::initialize
virtual void initialize()
Guido Project
Copyright © 2019
Grame-CNCM