KiCad PCB EDA Suite
eda_text.cpp File Reference

Implementation of base KiCad text object. More...

#include <algorithm>
#include <stddef.h>
#include <type_traits>
#include <vector>
#include <eda_item.h>
#include <base_units.h>
#include <callback_gal.h>
#include <eda_text.h>
#include <gal/color4d.h>
#include <gr_text.h>
#include <string_utils.h>
#include <math/util.h>
#include <math/vector2d.h>
#include <richio.h>
#include <render_settings.h>
#include <trigo.h>
#include <i18n_utility.h>
#include <geometry/shape_segment.h>
#include <geometry/shape_compound.h>
#include <geometry/shape_simple.h>
#include <font/outline_font.h>
#include <geometry/shape_poly_set.h>
#include <wx/debug.h>
#include <wx/string.h>
#include <wx/url.h>

Go to the source code of this file.

Classes

struct  EDA_TEXT_DESC
 

Macros

#define EPSILON   2
 
#define TEST(a, b)   { if( a != b ) return a - b; }
 
#define TEST_E(a, b)   { if( abs( a - b ) > EPSILON ) return a - b; }
 
#define TEST_PT(a, b)   { TEST_E( a.x, b.x ); TEST_E( a.y, b.y ); }
 

Variables

static struct EDA_TEXT_DESC _EDA_TEXT_DESC
 

Detailed Description

Implementation of base KiCad text object.

Definition in file eda_text.cpp.

Macro Definition Documentation

◆ EPSILON

#define EPSILON   2

◆ TEST

#define TEST (   a,
 
)    { if( a != b ) return a - b; }

◆ TEST_E

#define TEST_E (   a,
 
)    { if( abs( a - b ) > EPSILON ) return a - b; }

◆ TEST_PT

#define TEST_PT (   a,
 
)    { TEST_E( a.x, b.x ); TEST_E( a.y, b.y ); }

Variable Documentation

◆ _EDA_TEXT_DESC

struct EDA_TEXT_DESC _EDA_TEXT_DESC
static