2#ifndef SEEN_CANVAS_ITEM_RECT_H
3#define SEEN_CANVAS_ITEM_RECT_H
43 void set_fill(uint32_t color)
override;
50 void _update(
bool propagate)
override;
Path - a sequence of contiguous curves.
Two-dimensional point that doubles as a vector.
Axis aligned, non-empty rectangle.
void set_rect(Geom::Rect const &rect)
Set a control rect.
void set_is_page(bool is_page)
void set_dashed(bool dash=true)
void _render(Inkscape::CanvasItemBuffer &buf) const override
Render rect to screen via Cairo.
void set_fill(uint32_t color) override
double get_shadow_size() const
~CanvasItemRect() override=default
void visit_page_rects(std::function< void(Geom::Rect const &)> const &) const override
Run a callback for each rectangle that should be filled and painted in the background.
bool contains(Geom::Point const &p, double tolerance=0) override
Returns true if point p (in canvas units) is within tolerance (canvas units) distance of rect.
void set_inverted(bool inverted=false)
void _update(bool propagate) override
Update and redraw control rect.
void set_shadow(uint32_t color, int width)
Helper class to stream background task notifications as a series of messages.
Class used when rendering canvas items.