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 
16 {
17  styleDesc_[STYLE_NORMAL] = "normal";
18  styleDesc_[STYLE_ITALIC] = "italic";
19  weightDesc_[WEIGHT_NORMAL] = "normal";
20  weightDesc_[WEIGHT_BOLD] = "bold";
21 }
static const short int WEIGHT_NORMAL
Definition: Font.h:131
static const short int STYLE_NORMAL
Definition: Font.h:128
static const short int STYLE_ITALIC
Definition: Font.h:129
std::map< short int, std::string > weightDesc_
Definition: Font.h:30
static const short int WEIGHT_BOLD
Definition: Font.h:132
std::map< short int, std::string > styleDesc_
Definition: Font.h:29
void init_()
Definition: Font.cpp:15