RFC: Sane rectangle class

Thorsten Behrens thb at libreoffice.org
Fri Mar 20 13:44:38 UTC 2020


Luboš Luňák wrote:
> > One question: any reason not to tweak the basegfx classes to fit this
> > model?
> 
>  Looking at those classes, I think their API serves some other
> purpose than "simple point/size/rectangle", so the closest to
> tweaking them I see is wrapping them in a completely new API.
>
No, not from what I can tell. Where to you see that other purpose?

Client code in any case is using them exactly like you need it (in
lieu of tools::Rect).

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1032 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20200320/6dfa7090/attachment.sig>


More information about the LibreOffice mailing list