KiCad PCB EDA Suite
Loading...
Searching...
No Matches
snap_indicator.cpp File Reference

Go to the source code of this file.

Functions

static void DrawSnapNode (GAL &aGal, const VECTOR2I &aPosition, int aNodeRadius)
 
static void DrawCornerIcon (GAL &aGal, const VECTOR2I &aPosition, int aSize)
 
static void DrawLineEndpointIcon (GAL &aGal, const VECTOR2I &aPosition, int aSize)
 
static void DrawMidpointIcon (GAL &aGal, const VECTOR2I &aPosition, int aSize)
 
static void DrawCentrePointIcon (GAL &aGal, const VECTOR2I &aPosition, int aSize)
 
static void DrawQuadrantPointIcon (GAL &aGal, const VECTOR2I &aPosition, int aSize)
 
static void DrawIntersectionIcon (GAL &aGal, const VECTOR2I &aPosition, int aSize)
 
static void DrawOnElementIcon (GAL &aGal, const VECTOR2I &aPosition, int aSize)
 

Function Documentation

◆ DrawCentrePointIcon()

static void DrawCentrePointIcon ( GAL aGal,
const VECTOR2I aPosition,
int  aSize 
)
static

Definition at line 88 of file snap_indicator.cpp.

References KIGFX::GAL::DrawCircle(), and KIGFX::GAL::DrawLine().

Referenced by KIGFX::SNAP_INDICATOR::ViewDraw().

◆ DrawCornerIcon()

static void DrawCornerIcon ( GAL aGal,
const VECTOR2I aPosition,
int  aSize 
)
static

Definition at line 60 of file snap_indicator.cpp.

References KIGFX::GAL::DrawLine(), and DrawSnapNode().

Referenced by KIGFX::SNAP_INDICATOR::ViewDraw().

◆ DrawIntersectionIcon()

static void DrawIntersectionIcon ( GAL aGal,
const VECTOR2I aPosition,
int  aSize 
)
static

◆ DrawLineEndpointIcon()

static void DrawLineEndpointIcon ( GAL aGal,
const VECTOR2I aPosition,
int  aSize 
)
static

Definition at line 71 of file snap_indicator.cpp.

References KIGFX::GAL::DrawLine(), and DrawSnapNode().

Referenced by KIGFX::SNAP_INDICATOR::ViewDraw().

◆ DrawMidpointIcon()

static void DrawMidpointIcon ( GAL aGal,
const VECTOR2I aPosition,
int  aSize 
)
static

Definition at line 80 of file snap_indicator.cpp.

References KIGFX::GAL::DrawLine(), and DrawSnapNode().

Referenced by KIGFX::SNAP_INDICATOR::ViewDraw().

◆ DrawOnElementIcon()

static void DrawOnElementIcon ( GAL aGal,
const VECTOR2I aPosition,
int  aSize 
)
static

Definition at line 127 of file snap_indicator.cpp.

References KIGFX::GAL::DrawLine(), and DrawSnapNode().

Referenced by KIGFX::SNAP_INDICATOR::ViewDraw().

◆ DrawQuadrantPointIcon()

static void DrawQuadrantPointIcon ( GAL aGal,
const VECTOR2I aPosition,
int  aSize 
)
static

Definition at line 98 of file snap_indicator.cpp.

References KIGFX::GAL::DrawArc(), and DrawSnapNode().

Referenced by KIGFX::SNAP_INDICATOR::ViewDraw().

◆ DrawSnapNode()

static void DrawSnapNode ( GAL aGal,
const VECTOR2I aPosition,
int  aNodeRadius 
)
static