Home » U++ Library support » U++ Core » PROPOSAL: linear Scaler helper for different min/max domains
Re: PROPOSAL: linear Scaler helper for different min/max domains [message #29960 is a reply to message #29942] |
Wed, 01 December 2010 16:08 |
|
Good idea Kohait, I spend a lot of time debugging broken scaling in my apps A reliable class to use repeatedly would probably save a lot of time, work and code. I would use this e.g. in PlotCtrl.
I would prefer little bit different interface, I somehow don't like the idea that I need two scalers to perform any conversion. I understand that you were aiming for a universal tool that can be used to convert even between multiple scales (lets think px,pt,cm,m,...), but in simple cases (e.g. I know I only need to convert px<->cm) it adds complexity... Maybe such simpler interface could be made by using class with two Scalers, that would only hide the detail of using two of them.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Wed Jun 05 09:37:53 CEST 2024
Total time taken to generate the page: 0.02022 seconds
|