Questions about shape group
jaham at gmx.net
jaham at gmx.net
Tue May 3 21:41:24 BST 2011
On Tuesday 03 May 2011 07:21:50 Yue Liu wrote:
> Hello,
>
> Found that 5 years ago Thomas Zander moved KoShapeGroup::boundingRect() to
> KoCommand, which now becomes
> KoShapeGroupCommandPrivate::containerBoundingRect(). I think now it's ok to
> move it back to KoShapeGroup, what do you think?
>
> https://projects.kde.org/projects/calligra/repository/revisions/fa024de9131
> 58d68bd5fe45fb734f28aaf8db74d
>
> On Tue, May 3, 2011 at 1:53 AM, <jaham at gmx.net> wrote:
> > On Thursday 28 April 2011 18:02:34 you wrote:
> > > Also, I noticed that shadow.Insets is considered when calculating the
> > > boundingRect to a shape, is it needed to include the shadow into the
> > > boundingRect? And besides calculating boundingRect, where is
> >
> > shadow.Insets
> >
> > > being used?
> >
> > Yes the shadow insets are there to expand the bounding rect with the
> > shadows
> > size so that e.g. canvas updates for that particular shape are calculated
> > correctly.
> >
> > Ciao Jan
I think what you are looking for is this one:
https://projects.kde.org/projects/calligra/repository/revisions/de0afe7b375338167df736a88b48bac0baca0c99
Ciao Jan
More information about the calligra-devel
mailing list