24#ifndef PREVIEW_POLYGON_ITEM__H_
25#define PREVIEW_POLYGON_ITEM__H_
A preview item which shows an in-progress polygon, which can be used for zone outlines,...
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 rectangle and center line onto GAL
SHAPE_LINE_CHAIN m_lockedChain
void SetPoints(const SHAPE_LINE_CHAIN &aLockedInPts, const SHAPE_LINE_CHAIN &aLeaderPts, const SHAPE_LINE_CHAIN &aLoopPts)
Set the polygon points.
static const double POLY_LINE_WIDTH
SHAPE_LINE_CHAIN m_leaderChain
POLYGON_ITEM()
Gets the bounding box of the polygon.
SHAPE_POLY_SET m_polyfill
SHAPE_LINE_CHAIN m_loopChain
polygon fill
SIMPLE_OVERLAY_ITEM is class that represents a visual area drawn on a canvas, used to temporarily dem...
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
Represent a set of closed polygons.
The Cairo implementation of the graphics abstraction layer.