Go to the source code of this file.
|
namespace | Inkscape |
| Helper class to stream background task notifications as a series of messages.
|
|
namespace | Inkscape::Colors |
| A set of useful color modifying functions which do not fit as generic methods on the color class itself but which are used in various places.
|
|
|
Cairo::RefPtr< Cairo::Surface > | Inkscape::add_background_to_image (Cairo::RefPtr< Cairo::Surface > image, uint32_t rgb, double margin, double radius, int device_scale, std::optional< uint32_t > border=std::optional< uint32_t >()) |
|
std::unique_ptr< SPDocument > | Inkscape::ink_markers_preview_doc (const Glib::ustring &group_id) |
| Returns a new document containing default start, mid, and end markers.
|
|
Cairo::RefPtr< Cairo::Surface > | Inkscape::create_marker_image (const Glib::ustring &group_id, SPDocument *_sandbox, Gdk::RGBA marker_color, Geom::IntPoint pixel_size, const char *mname, SPDocument *source, Inkscape::Drawing &drawing, std::optional< guint32 > checkerboard, bool no_clip, double scale, int device_scale) |
| Creates a copy of the marker named mname, determines its visible and renderable area in the bounding box, and then renders it.
|
|
void | Inkscape::draw_gradient (const Cairo::RefPtr< Cairo::Context > &cr, SPGradient *gradient, int x, int width) |
| Renders a preview of a gradient into the passed context.
|
|
void | set_source_inkscape_color (Cairo::RefPtr< Cairo::Context > context, Inkscape::Colors::Color const &color, double opacity) |
|
◆ set_source_inkscape_color()
void set_source_inkscape_color |
( |
Cairo::RefPtr< Cairo::Context > |
context, |
|
|
Inkscape::Colors::Color const & |
color, |
|
|
double |
opacity |
|
) |
| |