Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
preview.cpp File Reference

Utility functions for generating export previews. More...

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::UI
 User interface code.
 
namespace  Inkscape::UI::Preview
 

Functions

Cairo::RefPtr< Cairo::ImageSurface > Inkscape::UI::Preview::render_preview (SPDocument *doc, std::shared_ptr< Inkscape::Drawing > drawing, uint32_t bg_color, Inkscape::DrawingItem *item, unsigned width_in, unsigned height_in, Geom::Rect const &dboxIn)
 Launch a background task to render a drawing to a surface.
 

Detailed Description

Utility functions for generating export previews.

Definition in file preview.cpp.