24#ifndef PREVIEW_ANGLE_ITEM_H
25#define PREVIEW_ANGLE_ITEM_H
41 ANGLE_ITEM(
const std::shared_ptr<EDIT_POINTS>& aPoints );
EDIT_POINTS is a VIEW_ITEM that manages EDIT_POINTs and EDIT_LINEs and draws them.
void SetEditPoints(const std::shared_ptr< EDIT_POINTS > &aPoints)
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
std::weak_ptr< EDIT_POINTS > m_points
void drawPreviewShape(KIGFX::VIEW *aView) const override
Draw the preview onto the given GAL.
ANGLE_ITEM(const std::shared_ptr< EDIT_POINTS > &aPoints)
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
The Cairo implementation of the graphics abstraction layer.