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

#include <graphic_edit.h>

Public Member Functions

 operator bool () const
 

Public Attributes

GRAPHIC_EDIT_REFUSAL m_Refusal = GRAPHIC_EDIT_REFUSAL::NO_INTERSECTION
 
std::vector< GRAPHIC_EDIT_GEOMETRYm_Geometry
 What the source becomes. Empty means the whole source goes.
 
std::vector< GRAPHIC_EDIT_GEOMETRYm_Preview
 What the preview draws.
 
std::vector< const BOARD_ITEM * > m_Boundaries
 

Detailed Description

Definition at line 64 of file graphic_edit.h.

Member Function Documentation

◆ operator bool()

GRAPHIC_EDIT_RESULT::operator bool ( ) const
inlineexplicit

Definition at line 66 of file graphic_edit.h.

References m_Refusal, and NONE.

Member Data Documentation

◆ m_Boundaries

std::vector<const BOARD_ITEM*> GRAPHIC_EDIT_RESULT::m_Boundaries

Definition at line 77 of file graphic_edit.h.

◆ m_Geometry

std::vector<GRAPHIC_EDIT_GEOMETRY> GRAPHIC_EDIT_RESULT::m_Geometry

What the source becomes. Empty means the whole source goes.

Definition at line 71 of file graphic_edit.h.

Referenced by BOOST_AUTO_TEST_CASE().

◆ m_Preview

std::vector<GRAPHIC_EDIT_GEOMETRY> GRAPHIC_EDIT_RESULT::m_Preview

What the preview draws.

Trim shows the span it would remove, so it is not m_Geometry. Left empty, the tool falls back to m_Geometry.

Definition at line 75 of file graphic_edit.h.

◆ m_Refusal

Definition at line 68 of file graphic_edit.h.

Referenced by BOOST_AUTO_TEST_CASE(), GraphicEditSource(), and operator bool().


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