44 wxString
GetClass()
const override {
return wxT(
"MIRROR_AXIS_ITEM" ); }
47 void Show(
int, std::ostream& )
const override {}
constexpr BOX2< Vec > & Normalize()
Ensure that the height and width are positive.
Abstract interface for drawing on a 2D-surface.
virtual void SetLineWidth(float aLineWidth)
Set the line width.
virtual void DrawLine(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
Draw a line.
SIMPLE_OVERLAY_ITEM is class that represents a visual area drawn on a canvas, used to temporarily dem...
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...
GAL * GetGAL() const
Return the GAL this view is using to draw graphical primitives.
VECTOR2D ToWorld(const VECTOR2D &aCoord, bool aAbsolute=true) const
Converts a screen space point/vector to a point/vector in world space coordinates.
wxString GetClass() const override
Get class name.
MIRROR_AXIS_ITEM(const KIGFX::PREVIEW::TWO_POINT_GEOMETRY_MANAGER &aGeomMgr)
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
const KIGFX::PREVIEW::TWO_POINT_GEOMETRY_MANAGER & m_geomMgr
void drawPreviewShape(KIGFX::VIEW *aView) const override
Draw the preview onto the given GAL.