24#ifndef PREVIEW_ITEMS_ARC_ASSISTANT_H
25#define PREVIEW_ITEMS_ARC_ASSISTANT_H
60 void Show(
int x, std::ostream& st )
const override
67 return "ARC_ASSISTANT";
A base class for most all the KiCad significant classes used in schematics and boards.
Represents an assistant draw when interactively drawing an arc on a canvas.
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override final
Draw the assistance (with reference to the construction manager.
void SetUnits(EDA_UNITS aUnits)
void ViewGetLayers(int aLayers[], int &aCount) const override
Return the all the layers within the VIEW the object is painted on.
const ARC_GEOM_MANAGER & m_constructMan
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
wxString GetClass() const override
Return the class name.
const EDA_IU_SCALE & m_iuScale
Manage the construction of a circular arc though sequential setting of critical points: center,...
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
@ LAYER_GP_OVERLAY
general purpose overlay
@ LAYER_SELECT_OVERLAY
currently selected items overlay
The Cairo implementation of the graphics abstraction layer.