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/fa024de913158d68bd5fe45fb734f28aaf8db74d

On Tue, May 3, 2011 at 1:53 AM, <ja...@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
>



-- 
Yue Liu
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to