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";
 
 
 
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
 
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.
 
TWO_POINT_ASSISTANT(const TWO_POINT_GEOMETRY_MANAGER &aManager, const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits, GEOM_SHAPE aShape)
 
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
Selected items overlay.
 
The Cairo implementation of the graphics abstraction layer.