Re: Problems with SetSnapRect() for rotated and/or sheared custom shapes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Regina,

On Mon, Nov 04, 2019 at 07:00:18PM +0100, Regina Henschel <rb.henschel@xxxxxxxxxxx> wrote:
> So my question is:
> What is SdrObjCustomShape::SetSnapRect() supposed to do?

My guess is the snap rectangle is the same as the bounding box, i.e. if
you have a shape with e.g. 45 deg rotation, the snap rectangle is larger
than the original size of the rectangle.

> A different approach would be, to keep the current version of
> SdrObjCustomShape::SetSnapRect() and change the found combinations so, that
> in case of a SdrObjCustomShape, not GetSnapRect() but GetLogicRect() is
> used.

Do we know what "logic" means in GetLogicRect()? Is that "logic" because
it's in mm100/twips, not pixels or something else?

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux