, <wx/wx.h> GetYValue (, , GetXValue), - X/Y "" , :
#define GetXValue(xy) ((xy)>>16)
#define GetYValue(xy) ((xy)&x0ff)
, :
double ((xy)>>16)(double x);
... - , , , , , , double x, , , 1.
Edit: I see that I was guessing pretty closely, but I was guessing incorrectly that “Y” was participating in it - the others, apparently, would be GetCValue, GetMValueetc. instead of GetXValue. Oh good...
source
share