KiCad PCB EDA Suite
eda_text.h File Reference
#include <memory>
#include <vector>
#include <outline_mode.h>
#include <eda_rect.h>

Go to the source code of this file.

Classes

struct  TEXT_EFFECTS
 A container for text effects. More...
 
class  EDA_TEXT
 A mix-in class (via multiple inheritance) that handles texts such as labels, parts, components, or footprints. More...
 

Namespaces

 KIGFX
 Class CAIRO_GAL is the cairo implementation of the graphics abstraction layer.
 

Macros

#define TEXT_ANGLE_HORIZ   0
 Frequent text rotations, used with {Set,Get}TextAngle(), in 0.1 degrees for now, hoping to migrate to degrees eventually. More...
 
#define TEXT_ANGLE_VERT   900
 
#define CTL_OMIT_HIDE   (1 << 6)
 
#define DEFAULT_SIZE_TEXT   50
 This is the "default-of-the-default" hardcoded text size; individual application define their own default policy starting with this (usually with a user option or project). More...
 
#define DIM_ANCRE_TEXTE   2
 

Enumerations

enum  EDA_TEXT_HJUSTIFY_T { GR_TEXT_HJUSTIFY_LEFT = -1, GR_TEXT_HJUSTIFY_CENTER = 0, GR_TEXT_HJUSTIFY_RIGHT = 1 }
 
enum  EDA_TEXT_VJUSTIFY_T { GR_TEXT_VJUSTIFY_TOP = -1, GR_TEXT_VJUSTIFY_CENTER = 0, GR_TEXT_VJUSTIFY_BOTTOM = 1 }
 

Macro Definition Documentation

◆ CTL_OMIT_HIDE

#define CTL_OMIT_HIDE   (1 << 6)

Definition at line 56 of file eda_text.h.

◆ DEFAULT_SIZE_TEXT

#define DEFAULT_SIZE_TEXT   50

This is the "default-of-the-default" hardcoded text size; individual application define their own default policy starting with this (usually with a user option or project).

Definition at line 80 of file eda_text.h.

◆ DIM_ANCRE_TEXTE

#define DIM_ANCRE_TEXTE   2

Definition at line 81 of file eda_text.h.

◆ TEXT_ANGLE_HORIZ

#define TEXT_ANGLE_HORIZ   0

Frequent text rotations, used with {Set,Get}TextAngle(), in 0.1 degrees for now, hoping to migrate to degrees eventually.

Definition at line 50 of file eda_text.h.

◆ TEXT_ANGLE_VERT

#define TEXT_ANGLE_VERT   900

Definition at line 51 of file eda_text.h.

Enumeration Type Documentation

◆ EDA_TEXT_HJUSTIFY_T

Enumerator
GR_TEXT_HJUSTIFY_LEFT 
GR_TEXT_HJUSTIFY_CENTER 
GR_TEXT_HJUSTIFY_RIGHT 

Definition at line 61 of file eda_text.h.

◆ EDA_TEXT_VJUSTIFY_T

Enumerator
GR_TEXT_VJUSTIFY_TOP 
GR_TEXT_VJUSTIFY_CENTER 
GR_TEXT_VJUSTIFY_BOTTOM 

Definition at line 68 of file eda_text.h.