24#ifndef PREVIEW_ITEMS_CENTERLINE_RECT_ITEM_H
25#define PREVIEW_ITEMS_CENTERLINE_RECT_ITEM_H
40class TWO_POINT_GEOMETRY_MANAGER;
Represent an area drawn by drawing a rectangle of a given aspect along a vector, with the midpoint of...
virtual const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
void drawPreviewShape(KIGFX::VIEW *aView) const override
Draw the preview onto the given GAL.
SHAPE_POLY_SET getOutline() const
< Get the rectangular outline
const TWO_POINT_GEOMETRY_MANAGER & m_geomMgr
The aspect ratio of the rectangle to draw.
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...
Represent a set of closed polygons.
The Cairo implementation of the graphics abstraction layer.