RFC: Sane rectangle class

Tomaž Vajngerl quikee at gmail.com
Fri Mar 20 17:13:22 UTC 2020


Do you know a specific case where that actually matters? My personal
> position
> on integers is "use int, unless you explicitly need something else".
We are dealing with 100th-mm or twip units, which can get quite big (in
writer we are always referencing relative from page 1 AFAIK) and could go
to use EMU in the future (because it resolves lovely both imperial and
metric, so my hope is that we could get rid of MapMode nonsense), so I
would go with sal_Int64. Anyway, a compiler / architecture dependent type
is the last one I would use.

>  Luboš Luňák
>  l.lunak at collabora.com

Regards, Tomaž
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20200320/d031e2c5/attachment.htm>

More information about the LibreOffice mailing list