KiCad PCB EDA Suite
|
#include <preview_items/centreline_rect_item.h>
#include <preview_items/two_point_geom_manager.h>
#include <gal/graphics_abstraction_layer.h>
#include <view/view.h>
#include <trigo.h>
Go to the source code of this file.
Functions | |
static SHAPE_POLY_SET | getRectangleAlongCentreLine (const VECTOR2D &aClStart, const VECTOR2D &aClEnd, double aAspect) |
|
static |
Definition at line 32 of file centreline_rect_item.cpp.
References ANGLE_90, SHAPE_POLY_SET::Append(), SHAPE_POLY_SET::NewOutline(), RotatePoint(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by KIGFX::PREVIEW::CENTRELINE_RECT_ITEM::getOutline().