KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DRILL_SYMBOL_CACHE Struct Reference

What moved, so a drill consumer can decide whether it cares. More...

#include <board.h>

Public Attributes

std::map< std::string, DRILL_SYMBOL_ASSIGNMENTm_ByGroup
 
std::map< KIID, std::vector< DRILL_SYMBOL_ENTRY > > m_ByItem
 
DRILL_CHART_TOTALS m_Totals
 Counts for the ${DRILL_*} text variables.
 
BOX2I m_HoleExtent
 Extent of every hole that carries a mark.
 
uint64_t m_Generation = 0
 
uint64_t m_Profile = 0
 

Detailed Description

What moved, so a drill consumer can decide whether it cares.

Everything the renderers need to draw drill symbols, resolved once.

Immutable once published, so a painting thread can hold it while another rebuilds.

Definition at line 347 of file board.h.

Member Data Documentation

◆ m_ByGroup

std::map<std::string, DRILL_SYMBOL_ASSIGNMENT> DRILL_SYMBOL_CACHE::m_ByGroup

Definition at line 349 of file board.h.

◆ m_ByItem

std::map<KIID, std::vector<DRILL_SYMBOL_ENTRY> > DRILL_SYMBOL_CACHE::m_ByItem

Definition at line 350 of file board.h.

◆ m_Generation

uint64_t DRILL_SYMBOL_CACHE::m_Generation = 0

Definition at line 364 of file board.h.

◆ m_HoleExtent

BOX2I DRILL_SYMBOL_CACHE::m_HoleExtent

Extent of every hole that carries a mark.

A drill map is sized from this, and its ViewBBox is asked for far too often to walk the board each time.

Definition at line 362 of file board.h.

◆ m_Profile

uint64_t DRILL_SYMBOL_CACHE::m_Profile = 0

Definition at line 365 of file board.h.

◆ m_Totals

DRILL_CHART_TOTALS DRILL_SYMBOL_CACHE::m_Totals

Counts for the ${DRILL_*} text variables.

Cached here rather than recomputed per token, because text variables resolve on every redraw of every text item.

Definition at line 356 of file board.h.

Referenced by BOARD::ResolveTextVar().


The documentation for this struct was generated from the following file: