bpp-core3
3.0.0
Font.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 "
Font.h
"
6
7
using namespace
bpp
;
8
9
const
short
int
Font::STYLE_NORMAL
= 0;
10
const
short
int
Font::STYLE_ITALIC
= 1;
11
12
const
short
int
Font::WEIGHT_NORMAL
= 0;
13
const
short
int
Font::WEIGHT_BOLD
= 1;
14
15
void
Font::init_
()
16
{
17
styleDesc_
[
STYLE_NORMAL
] =
"normal"
;
18
styleDesc_
[
STYLE_ITALIC
] =
"italic"
;
19
weightDesc_
[
WEIGHT_NORMAL
] =
"normal"
;
20
weightDesc_
[
WEIGHT_BOLD
] =
"bold"
;
21
}
Font.h
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
Definition:
ApplicationTools.h:22
bpp::Font::STYLE_ITALIC
static const short int STYLE_ITALIC
Definition:
Font.h:129
bpp::Font::weightDesc_
std::map< short int, std::string > weightDesc_
Definition:
Font.h:30
bpp::Font::WEIGHT_BOLD
static const short int WEIGHT_BOLD
Definition:
Font.h:132
bpp::Font::styleDesc_
std::map< short int, std::string > styleDesc_
Definition:
Font.h:29
bpp::Font::init_
void init_()
Definition:
Font.cpp:15
Bpp
Graphics
Font
Font.cpp
Generated on Wed Jul 3 2024 10:53:56 for bpp-core3 by
1.8.13