28 using namespace KIGFX;
47 const TRACK* track = static_cast<const TRACK*>(
m_item );
49 auto gal = aView->
GetGAL();
52 gal->SetIsFill(
false );
void SetLineWidth(double aWidth)
The Cairo implementation of the graphics abstraction layer.
const wxPoint & GetStart() const
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
static const double PCB_LINE_WIDTH
GAL * GetGAL() const
Return the #GAL this view is using to draw graphical primitives.
class TRACK, a track segment (segment on a copper layer)
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
const wxPoint & GetEnd() const
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
virtual void SetIsStroke(bool aIsStrokeEnabled)
Enable/disable stroked outlines.
KICAD_T Type() const
Returns the type of object.