24 #ifndef PREVIEW_ITEMS_CENTERLINE_RECT_ITEM_H 25 #define PREVIEW_ITEMS_CENTERLINE_RECT_ITEM_H 40 class TWO_POINT_GEOMETRY_MANAGER;
74 #endif // PREVIEW_ITEMS_CENTERLINE_RECT_ITEM_H Represent an area drawn by drawing a rectangle of a given aspect along a vector, with the midpoint of...
The Cairo implementation of the graphics abstraction layer.
Represent a very simple geometry manager for items that have a start and end point.
SIMPLE_OVERLAY_ITEM is class that represents a visual area drawn on a canvas, used to temporarily dem...
void drawPreviewShape(KIGFX::VIEW *aView) const override
Draw the preview onto the given GAL.
Represent a set of closed polygons.
CENTRELINE_RECT_ITEM(const TWO_POINT_GEOMETRY_MANAGER &aGeomMgr, double aAspect)
Gets the bounding box of the rectangle.
virtual const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
SHAPE_POLY_SET getOutline() const
< Get the rectangular outline
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
const TWO_POINT_GEOMETRY_MANAGER & m_geomMgr
The aspect ratio of the rectangle to draw.