|
KiCad PCB EDA Suite
|
#include "pcb_shape.h"#include <google/protobuf/any.pb.h>#include <magic_enum.hpp>#include <bitmaps.h>#include <macros.h>#include <pcb_edit_frame.h>#include <board_design_settings.h>#include <board_design_settings_defaults.h>#include <board.h>#include <footprint.h>#include <lset.h>#include <pad.h>#include <base_units.h>#include <trigo.h>#include <drc/drc_engine.h>#include <geometry/shape_circle.h>#include <geometry/shape_compound.h>#include <geometry/shape_ellipse.h>#include <geometry/point_types.h>#include <geometry/shape_utils.h>#include <pcb_painter.h>#include <convert_basic_shapes_to_polygon.h>#include <api/board/board_types.pb.h>#include <api/api_enums.h>#include <api/api_utils.h>#include <properties/property.h>#include <properties/property_mgr.h>Go to the source code of this file.
Classes | |
| struct | PCB_SHAPE_DESC |
Functions | |
| static void | transformPolyVertices (SHAPE_POLY_SET &aPoly, const TRANSFORM_TRS &aXform, bool aInverse) |
| static double | fpScaleLinear (const FOOTPRINT *aFp) |
Variables | |
| static struct PCB_SHAPE_DESC | _PCB_SHAPE_DESC |
|
static |
Definition at line 706 of file pcb_shape.cpp.
References TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), and FOOTPRINT::GetTransform().
Referenced by PCB_SHAPE::GetWidth(), and PCB_SHAPE::SetWidth().
|
static |
Definition at line 57 of file pcb_shape.cpp.
References SHAPE_LINE_CHAIN::Append(), TRANSFORM_TRS::Apply(), SHAPE_ARC::GetArcMid(), SHAPE_ARC::GetCenter(), SHAPE_ARC::GetCentralAngle(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), TRANSFORM_TRS::GetScaleX(), TRANSFORM_TRS::GetScaleY(), SHAPE_POLY_SET::Hole(), SHAPE_POLY_SET::HoleCount(), TRANSFORM_TRS::InverseApply(), TRANSFORM_TRS::IsUniformScale(), SHAPE_POLY_SET::IterateWithHoles(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::SetClosed(), SHAPE_POLY_SET::SetVertex(), and sweep().
Referenced by PCB_SHAPE::GetLibraryPolyShape(), PCB_SHAPE::rebakeFromTransform(), and PCB_SHAPE::syncLibCoords().
|
static |