KiCad PCB EDA Suite
Loading...
Searching...
No Matches
outline_font.cpp File Reference
#include <limits>
#include <harfbuzz/hb.h>
#include <harfbuzz/hb-ft.h>
#include <bezier_curves.h>
#include <geometry/shape_poly_set.h>
#include <font/fontconfig.h>
#include <font/outline_font.h>
#include <ft2build.h>
#include <trigo.h>
#include <core/utf8.h>

Go to the source code of this file.

Classes

struct  GLYPH_CACHE_KEY
 
struct  std::hash< GLYPH_CACHE_KEY >
 

Namespaces

namespace  std
 STL namespace.
 

Functions

static bool contourIsFilled (const CONTOUR &c)
 
static bool contourIsHole (const CONTOUR &c)
 

Function Documentation

◆ contourIsFilled()

static bool contourIsFilled ( const CONTOUR c)
static

Definition at line 157 of file outline_font.cpp.

References KIFONT::CONTOUR::m_Orientation, and KIFONT::CONTOUR::m_Winding.

Referenced by contourIsHole().

◆ contourIsHole()

static bool contourIsHole ( const CONTOUR c)
static

Definition at line 168 of file outline_font.cpp.

References contourIsFilled().

Referenced by KIFONT::OUTLINE_FONT::getTextAsGlyphsUnlocked().