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  |
|
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? 
|
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.
|
|
|
Goto Forum:
Current Time: Sun Jul 13 09:29:15 CEST 2025
Total time taken to generate the page: 0.03584 seconds
|