Go to the documentation of this file.
10 #ifndef vtk_m_BitmapFont_h
11 #define vtk_m_BitmapFont_h
13 #include <vtkm/rendering/vtkm_rendering_export.h>
58 Character(
const std::string& id_,
const int metrics[])
73 for (
int i = 0; i < 256; i++)
86 int PadL, PadR,
PadT, PadB;
98 const std::vector<unsigned char>&
GetRawImageData()
const {
return this->RawImageFileData; }
102 void GetCharPolygon(
char character,
113 char nextchar = 0)
const;
Character(const std::string &id_, const int metrics[])
Definition: BitmapFont.h:58
Groups connected points that have the same field value.
Definition: Atomic.h:19
Definition: BitmapFont.h:25
std::vector< Character > Chars
Definition: BitmapFont.h:88
int Descender
Definition: BitmapFont.h:84
Character()
Definition: BitmapFont.h:36
int adv
Definition: BitmapFont.h:34
char c
Definition: BitmapFont.h:31
const VTKM_CONT std::vector< unsigned char > & GetRawImageData() const
Definition: BitmapFont.h:98
Character(const std::string &id_, char c_, int offx_, int offy_, int x_, int y_, int w_, int h_, int adv_)
Definition: BitmapFont.h:37
void ResetKerning()
Definition: BitmapFont.h:71
int ImgW
Definition: BitmapFont.h:85
int Height
Definition: BitmapFont.h:82
std::string Name
Definition: BitmapFont.h:80
std::vector< unsigned char > RawImageFileData
Definition: BitmapFont.h:90
#define VTKM_CONT
Definition: ExportMacros.h:57
std::string id
Definition: BitmapFont.h:30
Definition: BitmapFont.h:28
float Float32
Definition: Types.h:154
int Ascender
Definition: BitmapFont.h:83
int offy
Definition: BitmapFont.h:32
int y
Definition: BitmapFont.h:33
int PadT
Definition: BitmapFont.h:86
std::string ImageFile
Definition: BitmapFont.h:81