#include <gal/gal.h>
#include <iostream>
#include <map>
#include <algorithm>
#include <wx/string.h>
#include <font/glyph.h>
#include <font/text_attributes.h>
Go to the source code of this file.
|
namespace | KIGFX |
| The Cairo implementation of the graphics abstraction layer.
|
|
namespace | KIFONT |
|
|
static constexpr double | ITALIC_TILT = 1.0 / 8 |
| Tilt factor for italic style (this is the scaling factor on dY relative coordinates to give a tilted shape).
|
|
◆ TEXT_STYLE_FLAGS
◆ TEXT_STYLE
Enumerator |
---|
BOLD | |
ITALIC | |
SUBSCRIPT | |
SUPERSCRIPT | |
OVERBAR | |
UNDERLINE | |
Definition at line 44 of file font.h.
◆ IsBold()
◆ IsItalic()
◆ IsSubscript()
◆ IsSuperscript()
◆ operator<<() [1/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const KIFONT::FONT & |
aFont |
|
) |
| |
|
inline |
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const KIFONT::FONT * |
aFont |
|
) |
| |
|
inline |
◆ ITALIC_TILT
constexpr double ITALIC_TILT = 1.0 / 8 |
|
staticconstexpr |
Tilt factor for italic style (this is the scaling factor on dY relative coordinates to give a tilted shape).
This is applied directly to stroke fonts, and is used as an estimate for outline fonts (which have the actual tilt built in to their polygonal glyph outlines).
Definition at line 61 of file font.h.
Referenced by KIFONT::STROKE_FONT::GetTextAsGlyphs(), and EDA_TEXT::GetTextBox().