KiCad PCB EDA Suite
|
#include <advanced_config.h>
#include <limits>
#include <board.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <fp_shape.h>
#include <fp_textbox.h>
#include <pcb_group.h>
#include <pcb_target.h>
#include <pcb_text.h>
#include <pcb_textbox.h>
#include <collectors.h>
#include <pcb_edit_frame.h>
#include <drawing_sheet/ds_proxy_view_item.h>
#include <kiway.h>
#include <array_creator.h>
#include <status_popup.h>
#include <tool/selection_conditions.h>
#include <tool/tool_manager.h>
#include <tools/pcb_actions.h>
#include <tools/pcb_selection_tool.h>
#include <tools/edit_tool.h>
#include <tools/pcb_picker_tool.h>
#include <tools/tool_event_utils.h>
#include <tools/pcb_grid_helper.h>
#include <tools/pad_tool.h>
#include <view/view_controls.h>
#include <connectivity/connectivity_algo.h>
#include <connectivity/connectivity_items.h>
#include <core/kicad_algo.h>
#include <bitmaps.h>
#include <cassert>
#include <functional>
#include "kicad_clipboard.h"
#include <wx/hyperlink.h>
#include <router/router_tool.h>
#include <dialogs/dialog_move_exact.h>
#include <dialogs/dialog_track_via_properties.h>
#include <dialogs/dialog_unit_entry.h>
#include <board_commit.h>
#include <zone_filler.h>
#include <pcb_bitmap.h>
Go to the source code of this file.
Functions | |
static VECTOR2I | mirrorPointX (const VECTOR2I &aPoint, const VECTOR2I &aMirrorPoint) |
Mirror a point about the vertical axis passing through another point. More... | |
static VECTOR2I | mirrorPointY (const VECTOR2I &aPoint, const VECTOR2I &aMirrorPoint) |
Mirror a point about the vertical axis passing through another point. More... | |
static void | mirrorPadX (PAD &aPad, const VECTOR2I &aMirrorPoint) |
Mirror a pad in the vertical axis passing through a point (mirror left to right). More... | |
static void | mirrorPadY (PAD &aPad, const VECTOR2I &aMirrorPoint) |
Mirror a pad in the vertical axis passing through a point (mirror left to right). More... | |
Mirror a pad in the vertical axis passing through a point (mirror left to right).
Definition at line 1555 of file edit_tool.cpp.
References CUSTOM, PAD::FlipPrimitives(), PAD::GetDelta(), PAD::GetOffset(), PAD::GetOrientation(), PAD::GetPosition(), PAD::GetShape(), mirrorPointX(), PAD::SetDelta(), PAD::SetOffset(), PAD::SetOrientation(), PAD::SetPosition(), PAD::SetX0(), and VECTOR2< T >::x.
Referenced by EDIT_TOOL::Mirror().
Mirror a pad in the vertical axis passing through a point (mirror left to right).
Definition at line 1580 of file edit_tool.cpp.
References CUSTOM, PAD::FlipPrimitives(), PAD::GetDelta(), PAD::GetOffset(), PAD::GetOrientation(), PAD::GetPosition(), PAD::GetShape(), mirrorPointY(), PAD::SetDelta(), PAD::SetOffset(), PAD::SetOrientation(), PAD::SetPosition(), PAD::SetY0(), and VECTOR2< T >::y.
Referenced by EDIT_TOOL::Mirror().
Mirror a point about the vertical axis passing through another point.
Definition at line 1525 of file edit_tool.cpp.
References VECTOR2< T >::x.
Referenced by mirrorPadX().
Mirror a point about the vertical axis passing through another point.
Definition at line 1540 of file edit_tool.cpp.
References VECTOR2< T >::y.
Referenced by mirrorPadY().