KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_text.h File Reference
#include <memory>
#include <vector>
#include <outline_mode.h>
#include <eda_search_data.h>
#include <font/glyph.h>
#include <font/text_attributes.h>

Go to the source code of this file.

Classes

class  EDA_TEXT
 A mix-in class (via multiple inheritance) that handles texts such as labels, parts, components, or footprints. More...
 
struct  std::hash< EDA_TEXT >
 

Namespaces

namespace  KIGFX
 The Cairo implementation of the graphics abstraction layer.
 
namespace  KIFONT
 

Macros

#define TEXT_MIN_SIZE_MILS   1
 Minimum text size in mils. More...
 
#define TEXT_MAX_SIZE_MILS   10000
 Maximum text size in mils (10 inches) More...
 
#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...
 

Functions

std::ostream & operator<< (std::ostream &aStream, const EDA_TEXT &aAttributes)
 

Macro Definition Documentation

◆ CTL_OMIT_HIDE

#define CTL_OMIT_HIDE   (1 << 6)

Definition at line 63 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 70 of file eda_text.h.

◆ TEXT_MAX_SIZE_MILS

#define TEXT_MAX_SIZE_MILS   10000

Maximum text size in mils (10 inches)

Definition at line 43 of file eda_text.h.

◆ TEXT_MIN_SIZE_MILS

#define TEXT_MIN_SIZE_MILS   1

Minimum text size in mils.

Definition at line 42 of file eda_text.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  aStream,
const EDA_TEXT aAttributes 
)

Definition at line 1037 of file eda_text.cpp.

References EDA_TEXT::GetText().