20#ifndef INKSCAPE_UTIL_PREVIEW_H
21#define INKSCAPE_UTIL_PREVIEW_H
24#include <cairomm/surface.h>
55Cairo::RefPtr<Cairo::ImageSurface>
57 unsigned width_in,
unsigned height_in,
Geom::Rect const &dboxIn);
Axis aligned, non-empty rectangle.
SVG drawing item for display.
Typed SVG document implementation.
Base class for visual SVG elements.
Cairo::RefPtr< Cairo::ImageSurface > render_preview(SPDocument *doc, std::shared_ptr< Inkscape::Drawing > drawing, uint32_t bg, Inkscape::DrawingItem *item, unsigned width_in, unsigned height_in, Geom::Rect const &dboxIn)
Launch a background task to render a drawing to a surface.
Helper class to stream background task notifications as a series of messages.