24#ifndef PREVIEW_ITEMS_ARC_ASSISTANT_H
25#define PREVIEW_ITEMS_ARC_ASSISTANT_H
61 void Show(
int x, std::ostream& st )
const override
68 return "ARC_ASSISTANT";
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override final
Draw the assistance (with reference to the construction manager.
void SetUnits(EDA_UNITS aUnits)
std::vector< int > ViewGetLayers() 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.
ARC_ASSISTANT(const ARC_GEOM_MANAGER &aManager, const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits)
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
Selected items overlay.
The Cairo implementation of the graphics abstraction layer.