KiCad PCB EDA Suite
lib_arc.cpp File Reference
#include <fctsys.h>
#include <gr_basic.h>
#include <macros.h>
#include <sch_draw_panel.h>
#include <plotter.h>
#include <trigo.h>
#include <base_units.h>
#include <msgpanel.h>
#include <bitmaps.h>
#include <general.h>
#include <lib_arc.h>
#include <transform.h>

Go to the source code of this file.

Functions

static wxPoint twoPointVector (const wxPoint &startPoint, const wxPoint &endPoint)
 

Function Documentation

◆ twoPointVector()

static wxPoint twoPointVector ( const wxPoint &  startPoint,
const wxPoint &  endPoint 
)
inlinestatic

Definition at line 44 of file lib_arc.cpp.

45 {
46  return endPoint - startPoint;
47 }

Referenced by LIB_ARC::BeginEdit(), LIB_ARC::CalcRadiusAngles(), and LIB_ARC::HitTest().