Main MRPT website > C++ reference for MRPT 1.5.6
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

#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)); \
}
void BASE_IMPEXP memcpy(void *dest, size_t destSize, const void *src, size_t copyCount) MRPT_NO_THROWS
An OS and compiler independent version of "memcpy".
Definition: os.cpp:358
std::vector< uint8_t > vector_byte
Definition: types_simple.h:26
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

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

bool list_fonts_init = false

Definition at line 52 of file CCanvas.cpp.

Referenced by init_fonts_list().

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.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018