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

One drawable mark, with the geometry the renderer needs to place it. More...

#include <drill_symbol_assigner.h>

Public Attributes

DRILL_SYMBOL_ASSIGNMENT m_Symbol
 
DRILL_SPAN m_Span
 
VECTOR2I m_Position
 Where the mark is drawn, which is the hole itself.
 
DRILL_OP_KIND m_Kind = DRILL_OP_KIND::PRIMARY_DRILL
 
int m_Diameter = 0
 
VECTOR2I m_SizeXY
 
EDA_ANGLE m_Orientation
 
bool m_IsSlot = false
 

Detailed Description

One drawable mark, with the geometry the renderer needs to place it.

The diameter is carried because a size-text mark has to print the hole it labels. Deriving it from the glyph size would label every hole with the glyph size instead.

Definition at line 60 of file drill_symbol_assigner.h.

Member Data Documentation

◆ m_Diameter

int DRILL_SYMBOL_ENTRY::m_Diameter = 0

Definition at line 72 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().

◆ m_IsSlot

bool DRILL_SYMBOL_ENTRY::m_IsSlot = false

Definition at line 75 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().

◆ m_Kind

DRILL_OP_KIND DRILL_SYMBOL_ENTRY::m_Kind = DRILL_OP_KIND::PRIMARY_DRILL

Definition at line 71 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().

◆ m_Orientation

EDA_ANGLE DRILL_SYMBOL_ENTRY::m_Orientation

Definition at line 74 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().

◆ m_Position

VECTOR2I DRILL_SYMBOL_ENTRY::m_Position

Where the mark is drawn, which is the hole itself.

Kept so a drill map can be hit tested against its marks without walking the board.

Definition at line 69 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().

◆ m_SizeXY

VECTOR2I DRILL_SYMBOL_ENTRY::m_SizeXY

Definition at line 73 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().

◆ m_Span

DRILL_SPAN DRILL_SYMBOL_ENTRY::m_Span

Definition at line 63 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().

◆ m_Symbol

DRILL_SYMBOL_ASSIGNMENT DRILL_SYMBOL_ENTRY::m_Symbol

Definition at line 62 of file drill_symbol_assigner.h.

Referenced by ResolveDrillSymbolsByItem().


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