| 
    KiCad PCB EDA Suite
    
   | 
 
#include "board_adapter.h"#include "../3d_rendering/raytracing/shapes2D/filled_circle_2d.h"#include "raytracing/shapes2D/triangle_2d.h"#include <board_design_settings.h>#include <board.h>#include <layer_range.h>#include <lset.h>#include <convert_basic_shapes_to_polygon.h>#include <trigo.h>#include <vector>#include <thread>#include <algorithm>#include <atomic>#include <wx/log.h>#include <pcb_barcode.h>Go to the source code of this file.
Macros | |
| #define | DELETE_AND_FREE(ptr) | 
| #define | DELETE_AND_FREE_MAP(map) | 
Functions | |
| void | buildPadOutlineAsPolygon (const PAD *aPad, PCB_LAYER_ID aLayer, SHAPE_POLY_SET &aBuffer, int aWidth, int aMaxError, ERROR_LOC aErrorLoc) | 
| void | transformFPShapesToPolySet (const FOOTPRINT *aFootprint, PCB_LAYER_ID aLayer, SHAPE_POLY_SET &aBuffer, int aMaxError, ERROR_LOC aErrorLoc) | 
| void | transformFPTextToPolySet (const FOOTPRINT *aFootprint, PCB_LAYER_ID aLayer, const std::bitset< LAYER_3D_END > &aFlags, SHAPE_POLY_SET &aBuffer, int aMaxError, ERROR_LOC aErrorLoc) | 
| #define DELETE_AND_FREE | ( | ptr | ) | 
Referenced by BOARD_ADAPTER::destroyLayers(), and RENDER_3D_OPENGL::freeAllLists().
| #define DELETE_AND_FREE_MAP | ( | map | ) | 
Referenced by BOARD_ADAPTER::destroyLayers(), and RENDER_3D_OPENGL::freeAllLists().
| void buildPadOutlineAsPolygon | ( | const PAD * | aPad, | 
| PCB_LAYER_ID | aLayer, | ||
| SHAPE_POLY_SET & | aBuffer, | ||
| int | aWidth, | ||
| int | aMaxError, | ||
| ERROR_LOC | aErrorLoc ) | 
Definition at line 49 of file create_layer_items.cpp.
References CIRCLE, SHAPE_POLY_SET::COutline(), ERROR_INSIDE, PAD::GetEffectivePolygon(), PAD::GetShape(), PAD::GetSize(), path, PAD::ShapePos(), TransformOvalToPolygon(), TransformRingToPolygon(), and VECTOR2< T >::x.
Referenced by BOARD_ADAPTER::createLayers().
| void transformFPShapesToPolySet | ( | const FOOTPRINT * | aFootprint, | 
| PCB_LAYER_ID | aLayer, | ||
| SHAPE_POLY_SET & | aBuffer, | ||
| int | aMaxError, | ||
| ERROR_LOC | aErrorLoc ) | 
Definition at line 73 of file create_layer_items.cpp.
References BaseType(), FOOTPRINT::GraphicalItems(), PCB_BARCODE_T, PCB_DIMENSION_T, and PCB_SHAPE_T.
Referenced by BOARD_ADAPTER::createLayers().
| void transformFPTextToPolySet | ( | const FOOTPRINT * | aFootprint, | 
| PCB_LAYER_ID | aLayer, | ||
| const std::bitset< LAYER_3D_END > & | aFlags, | ||
| SHAPE_POLY_SET & | aBuffer, | ||
| int | aMaxError, | ||
| ERROR_LOC | aErrorLoc ) | 
Definition at line 89 of file create_layer_items.cpp.
References FOOTPRINT::GetFields(), PCB_SHAPE::GetLayer(), FOOTPRINT::GraphicalItems(), PCB_TEXTBOX::IsBorderEnabled(), LAYER_FP_REFERENCES, LAYER_FP_TEXT, LAYER_FP_VALUES, PCB_TEXT_T, PCB_TEXTBOX_T, text, PCB_TEXTBOX::TransformTextToPolySet(), and UNDEFINED_LAYER.
Referenced by BOARD_ADAPTER::createLayers().