[Gambas-user] gb.util: Unit conversions
Benoît Minisini
gambas at ...1...
Sat Apr 25 22:42:31 CEST 2015
Le 20/04/2015 23:28, Tobias Boege a écrit :
> Hi Benoit,
>
> I have a quick feature suggestion for gb.util: when working with components
> like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new)
> to measure things, it would be nice to have a global module from somewhere
> official which implements those unit conversions.
>
> I am myself always uncertain with "graphical" units and if they could under
> any circumstances depend on resolutions or not. A bunch of working methods
> would be nice and gb.util is the right place for that it seems.
>
> Regards,
> Tobi
>
I don't see what conversion you need exactly. Can you be more precise?
--
Benoît Minisini
More information about the User
mailing list