--- a/src/document.h Wed Jun 15 12:41:57 2022 +0300 +++ b/src/document.h Wed Jun 15 13:03:20 2022 +0300 @@ -76,6 +76,7 @@ private: const std::vector<ModelAction> actions() const; void closeShape(); + void renderPreview(QPainter* painter, const void* pensptr); void removeLastPoint(); bool isCloseToExistingPoints() const; };