KiCad PCB EDA Suite
|
#include <eda_item.h>
#include <geometry/shape_line_chain.h>
#include <geometry/shape_poly_set.h>
#include "graphics_importer_buffer.h"
Go to the source code of this file.
Functions | |
template<typename T , typename... Args> | |
static std::unique_ptr< T > | make_shape (const Args &... aArguments) |
static void | convertPolygon (std::list< std::unique_ptr< IMPORTED_SHAPE > > &aShapes, std::vector< IMPORTED_POLYGON * > &aPaths, GRAPHICS_IMPORTER::POLY_FILL_RULE aFillRule, const IMPORTED_STROKE &aStroke, bool aFilled, const COLOR4D &aFillColor) |
|
static |
Definition at line 189 of file graphics_importer_buffer.cpp.
References SHAPE_LINE_CHAIN::Append(), SHAPE_POLY_SET::BuildPolysetFromOrientedPaths(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), SHAPE_POLY_SET::Fracture(), KiROUND(), SHAPE_POLY_SET::OutlineCount(), path, GRAPHICS_IMPORTER::PF_EVEN_ODD, SHAPE_POLY_SET::PM_STRICTLY_SIMPLE, SHAPE_LINE_CHAIN::PointCount(), SHAPE_LINE_CHAIN::SetClosed(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
static |
Definition at line 36 of file graphics_importer_buffer.cpp.