24#ifndef PREVIEW_ITEMS_TWO_POINT_ASSISTANT_H
25#define PREVIEW_ITEMS_TWO_POINT_ASSISTANT_H
70 void Show(
int x, std::ostream& st )
const override
81 return "TWO_POINT_ASSISTANT";
A base class for most all the KiCad significant classes used in schematics and boards.
Represents an assistant draw when interactively drawing a line or circle on a canvas.
void SetUnits(EDA_UNITS aUnits)
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
const EDA_IU_SCALE & m_iuScale
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override final
Draw the assistance (with reference to the construction manager.
std::vector< int > ViewGetLayers() const override
Return the all the layers within the VIEW the object is painted on.
const TWO_POINT_GEOMETRY_MANAGER & m_constructMan
wxString GetClass() const override
Get class name.
Represent a very simple geometry manager for items that have a start and end point.
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.