bpp-core3
3.0.0
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
d
e
f
h
i
o
r
s
t
v
+
Functions
c
d
e
f
h
i
o
r
s
t
Typedefs
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
e
i
m
n
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
All
Functions
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
XFigLaTeXFontManager.cpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: The Bio++ Development Group
2
//
3
// SPDX-License-Identifier: CECILL-2.1
4
5
#include "
XFigLaTeXFontManager.h
"
6
7
using namespace
bpp
;
8
9
XFigLaTeXFontManager::XFigLaTeXFontManager
()
10
{
11
// Add "official" font codes, from 0 to 5:
12
registerFont_
(
Font
(
"Default"
,
Font::STYLE_NORMAL
,
Font::WEIGHT_NORMAL
, 12), 0);
13
registerFont_
(
Font
(
"Roman"
,
Font::STYLE_NORMAL
,
Font::WEIGHT_NORMAL
, 12), 1);
14
registerFont_
(
Font
(
"Bold"
,
Font::STYLE_NORMAL
,
Font::WEIGHT_NORMAL
, 12), 2);
15
registerFont_
(
Font
(
"Italic"
,
Font::STYLE_NORMAL
,
Font::WEIGHT_NORMAL
, 12), 3);
16
registerFont_
(
Font
(
"Sans Serif"
,
Font::STYLE_NORMAL
,
Font::WEIGHT_NORMAL
, 12), 4);
17
registerFont_
(
Font
(
"Typewriter"
,
Font::STYLE_NORMAL
,
Font::WEIGHT_NORMAL
, 12), 5);
18
}
bpp::Font::WEIGHT_NORMAL
static const short int WEIGHT_NORMAL
Definition:
Font.h:131
bpp::Font::STYLE_NORMAL
static const short int STYLE_NORMAL
Definition:
Font.h:128
bpp::Font
Data structure for fonts.
Definition:
Font.h:21
bpp
Definition:
ApplicationTools.h:22
bpp::AbstractFontManager< int >::registerFont_
void registerFont_(const Font &font, int code)
Definition:
FontManager.h:102
XFigLaTeXFontManager.h
bpp::XFigLaTeXFontManager::XFigLaTeXFontManager
XFigLaTeXFontManager()
Definition:
XFigLaTeXFontManager.cpp:9
Bpp
Graphics
Fig
XFigLaTeXFontManager.cpp
Generated on Wed Jul 3 2024 10:53:56 for bpp-core3 by
1.8.13