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_MM   0.001
 Minimum text size (1 micron).
 
#define TEXT_MAX_SIZE_MM   250.0
 Maximum text size in mm (~10 inches)
 
#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).
 

Functions

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

Macro Definition Documentation

◆ 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 69 of file eda_text.h.

◆ TEXT_MAX_SIZE_MM

#define TEXT_MAX_SIZE_MM   250.0

Maximum text size in mm (~10 inches)

Definition at line 47 of file eda_text.h.

◆ TEXT_MIN_SIZE_MM

#define TEXT_MIN_SIZE_MM   0.001

Minimum text size (1 micron).

Definition at line 46 of file eda_text.h.

Function Documentation

◆ operator<<()

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

Definition at line 1210 of file eda_text.cpp.

References EDA_TEXT::GetText(), and operator<<().

Referenced by KIGFX::operator<<(), and operator<<().