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

#include <pcb_grid_item.h>

Public Member Functions

bool All () const
 
void SetAll (bool aState)
 
bool operator== (const PCB_GRID_AFFECTS &aOther) const
 

Public Attributes

bool cursor = true
 Replace the display grid for cursor snapping inside coverage.
 
bool routing = true
 Used by the router as a local routing frame.
 
bool placement = true
 Used by edit/move tools for placement snap.
 

Detailed Description

Definition at line 42 of file pcb_grid_item.h.

Member Function Documentation

◆ All()

bool PCB_GRID_AFFECTS::All ( ) const
inline

Definition at line 48 of file pcb_grid_item.h.

References cursor, placement, and routing.

◆ operator==()

bool PCB_GRID_AFFECTS::operator== ( const PCB_GRID_AFFECTS & aOther) const
inline

Definition at line 51 of file pcb_grid_item.h.

References cursor, placement, and routing.

◆ SetAll()

void PCB_GRID_AFFECTS::SetAll ( bool aState)
inline

Definition at line 49 of file pcb_grid_item.h.

References cursor, placement, and routing.

Referenced by PCB_IO_KICAD_SEXPR_PARSER::parsePCB_GRID_ITEM().

Member Data Documentation

◆ cursor

bool PCB_GRID_AFFECTS::cursor = true

Replace the display grid for cursor snapping inside coverage.

Definition at line 44 of file pcb_grid_item.h.

Referenced by All(), PCB_IO_KICAD_SEXPR::format(), operator==(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_GRID_ITEM(), and SetAll().

◆ placement

bool PCB_GRID_AFFECTS::placement = true

Used by edit/move tools for placement snap.

Definition at line 46 of file pcb_grid_item.h.

Referenced by All(), PCB_IO_KICAD_SEXPR::format(), operator==(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_GRID_ITEM(), and SetAll().

◆ routing

bool PCB_GRID_AFFECTS::routing = true

Used by the router as a local routing frame.

Definition at line 45 of file pcb_grid_item.h.

Referenced by All(), PCB_IO_KICAD_SEXPR::format(), operator==(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_GRID_ITEM(), and SetAll().


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