KiCad PCB EDA Suite
|
#include "array_creator.h"
#include <array_pad_number_provider.h>
#include <board_commit.h>
#include <pcb_group.h>
#include <pad.h>
#include <dialogs/dialog_create_array.h>
#include <tool/tool_manager.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. More... | |
|
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 43 of file array_creator.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_CREATOR::Invoke().