KiCad PCB EDA Suite
|
#include "tools/array_tool.h"
#include <array_options.h>
#include <array_pad_number_provider.h>
#include <dialogs/dialog_create_array.h>
#include <pad.h>
#include <pcb_group.h>
#include <tools/board_reannotate_tool.h>
#include <tools/pcb_selection_tool.h>
Go to the source code of this file.
Functions | |
static void | TransformItem (const ARRAY_OPTIONS &aArrOpts, int aIndex, BOARD_ITEM &aItem) |
Transform a BOARD_ITEM from the given ARRAY_OPTIONS and an index into the array. | |
|
static |
Transform a BOARD_ITEM from the given ARRAY_OPTIONS and an index into the array.
aArrOpts | The array options that describe the array |
aIndex | The index in the array of this item |
aItem | The item to transform |
Definition at line 42 of file array_tool.cpp.
References EDA_ITEM::GetPosition(), ARRAY_OPTIONS::GetTransform(), ARRAY_OPTIONS::TRANSFORM::m_offset, ARRAY_OPTIONS::TRANSFORM::m_rotation, BOARD_ITEM::Move(), and BOARD_ITEM::Rotate().
Referenced by ARRAY_TOOL::onDialogClosed().