Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
lpegroupbbox.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2#ifndef INKSCAPE_LPEGROUPBBOX_H
3#define INKSCAPE_LPEGROUPBBOX_H
4
5/*
6 * Inkscape::LivePathEffect_group_bbox
7 *
8 * Copyright (C) Steren Giannini 2008 <steren.giannini@gmail.com>
9 *
10 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
11 */
12
13class SPLPEItem;
14
15#include <2geom/affine.h> // for identity, Affine (ptr only)
16#include <2geom/interval.h> // for Interval
17
18namespace Inkscape {
19namespace LivePathEffect {
20
22protected:
23 // Bounding box of the item the path effect is applied on
26
27 //This sets boundingbox_X and boundingbox_Y
29 void original_bbox(SPLPEItem const* lpeitem, bool absolute = false, bool clip_mask = false, Geom::Affine base_transform = Geom::identity());
30};
31
32}; //namespace LivePathEffect
33}; //namespace Inkscape
34
35#endif
3x3 affine transformation matrix.
3x3 matrix representing an affine transformation.
Definition affine.h:70
Range of real numbers that is never empty.
Definition interval.h:59
Axis-aligned rectangle that can be empty.
Definition rect.h:203
void original_bbox(SPLPEItem const *lpeitem, bool absolute=false, bool clip_mask=false, Geom::Affine base_transform=Geom::identity())
Geom::OptRect clip_mask_bbox(SPLPEItem *item, Geom::Affine transform)
Updates the boundingbox_X and boundingbox_Y values from the geometric bounding box of lpeitem.
auto absolute(Geom::Point const &a)
Definition geom.h:93
SPItem * item
Simple closed interval class.
Affine identity()
Create an identity matrix.
Definition affine.h:210
Helper class to stream background task notifications as a series of messages.