Main MRPT website > C++ reference for MRPT 1.5.9
Macros | Functions | Variables
CCanvas.cpp File Reference
#include "base-precomp.h"
#include <mrpt/utils/CCanvas.h>
#include <mrpt/system/os.h>
#include <mrpt/utils/CImage.h>
#include <mrpt/utils/CFileOutputStream.h>
#include <mrpt/utils/CFileGZOutputStream.h>
#include <mrpt/system/string_utils.h>
#include <mrpt/utils/round.h>
#include <mrpt/compress/zip.h>
#include <map>
#include "mrpt_font_5x7.h"
#include "mrpt_font_6x13.h"
#include "mrpt_font_6x13B.h"
#include "mrpt_font_6x13O.h"
#include "mrpt_font_9x15.h"
#include "mrpt_font_9x15B.h"
#include "mrpt_font_10x20.h"
Include dependency graph for CCanvas.cpp:

Go to the source code of this file.

Macros

#define LOAD_FONT(FONTNAME)
 

Functions

void init_fonts_list ()
 

Variables

map< string, vector_bytelist_registered_fonts
 
bool list_fonts_init = false
 

Macro Definition Documentation

◆ LOAD_FONT

#define LOAD_FONT (   FONTNAME)
Value:
{ \
vector_byte tmpBuf(sizeof(mrpt_font_gz_##FONTNAME)); \
memcpy(&tmpBuf[0], mrpt_font_gz_##FONTNAME, sizeof(mrpt_font_gz_##FONTNAME)); \
}
map< string, vector_byte > list_registered_fonts
Definition: CCanvas.cpp:51
bool BASE_IMPEXP decompress_gz_data_block(const vector_byte &in_gz_data, vector_byte &out_data)
Decompress an array of bytes storing a gz-compressed stream of data into a memory buffer...
Definition: zip.cpp:435

Referenced by init_fonts_list().

Function Documentation

◆ init_fonts_list()

void init_fonts_list ( )

Definition at line 54 of file CCanvas.cpp.

References list_fonts_init, list_registered_fonts, and LOAD_FONT.

Referenced by mrpt::utils::CCanvas::selectTextFont().

Variable Documentation

◆ list_fonts_init

bool list_fonts_init = false

Definition at line 52 of file CCanvas.cpp.

Referenced by init_fonts_list().

◆ list_registered_fonts

map<string,vector_byte> list_registered_fonts

Definition at line 51 of file CCanvas.cpp.

Referenced by init_fonts_list(), and mrpt::utils::CCanvas::selectTextFont().




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020