20#ifndef PREVIEW_ITEMS_ELLIPSE_ASSISTANT_H
21#define PREVIEW_ITEMS_ELLIPSE_ASSISTANT_H
60 void Show(
int x, std::ostream& st )
const override {}
63 wxString
GetClass()
const override {
return "ELLIPSE_ASSISTANT"; }
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
std::vector< int > ViewGetLayers() const override
Return the all the layers within the VIEW the object is painted on.
wxString GetClass() const override
Return the class name.
void SetUnits(EDA_UNITS aUnits)
const EDA_IU_SCALE & m_iuScale
EDA_UNITS m_units
Draw the arc segment (or just the radius lines).
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override final
Draw the parts of the object belonging to layer aLayer.
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
ELLIPSE_ASSISTANT(const ELLIPSE_GEOM_MANAGER &aManager, const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits)
const ELLIPSE_GEOM_MANAGER & m_constructMan
Manage the construction of an elliptical arc through sequential setting of critical points: two bound...
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.