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 » Developing U++ » UppHub » Scatter: Propose to add new methods
Re: Scatter: Propose to add new methods [message #28658 is a reply to message #28643] Thu, 09 September 2010 15:54 Go to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

koldo wrote on Thu, 09 September 2010 10:25

Hello Ion

Only one condition: Could you post here the description of these functions to be included in the help? Smile


Quote:

double Scatter::GetXByPoint(const int x)
double Scatter::GetYByPoint(const int y)
double Scatter::GetY2ByPoint(const int y)

This methods will return the X, Y and Y2 values by x/y point position. The x point position can be retrieved from parameter pt of the following events:
virtual void Scatter::LeftDown(Point pt, ..),
virtual void Scatter::RightDown(Point pt, ..),
virtual void Scatter::MouseWheel(Point pt, ..), and other control mouse events

double Scatter::GetXPointByValue(const double x)
double Scatter::GetYPointByValue(const double y)

This methods will return the x, y position in dots on Scatter control by X, Y Values. This methods are vice-versa of:
double Scatter::GetXByPoint(const int x)
double Scatter::GetYByPoint(const int y)


Please correct and imporve the description of this methods is is not OK.

Ion.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Docking: How to dock to the entire portion of what remains?
Next Topic: Scatter : getDrawing !!!! help !!!!
Goto Forum:
  


Current Time: Thu May 09 15:55:18 CEST 2024

Total time taken to generate the page: 0.01484 seconds