Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Good idea Kohait, I spend a lot of time debugging broken scaling in my apps Smile 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Slight changes in DHCtrl
Next Topic: HELPER: Value grouping to ValueArray
Goto Forum:
  


Current Time: Wed Jun 05 09:37:53 CEST 2024

Total time taken to generate the page: 0.02022 seconds