2#ifndef INKSCAPE_DISPLAY_DRAWINGITEM_PTR_H
3#define INKSCAPE_DISPLAY_DRAWINGITEM_PTR_H
8namespace Inkscape {
class DrawingItem; }
18 static_assert(std::is_base_of_v<Inkscape::DrawingItem, T>);
35template <
typename T,
typename... Args>
std::unique_ptr< T, UnlinkDeleter > DrawingItemPtr
Smart pointer used by the Object Tree to hold items in the Display Tree, like std::unique_ptr.
auto make_drawingitem(Args &&... args)
Convienence function to create a DrawingItemPtr, like std::make_unique.
Helper class to stream background task notifications as a series of messages.
Deleter object which calls the unlink() method of DrawingItem to schedule deferred destruction.