mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
ranges) and of curve views/curve view controllers. Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
22 lines
280 B
C++
22 lines
280 B
C++
#include "curve_view_cursor.h"
|
|
#include <math.h>
|
|
|
|
CurveViewCursor::CurveViewCursor() :
|
|
m_x(NAN),
|
|
m_y(NAN)
|
|
{
|
|
}
|
|
|
|
float CurveViewCursor::x() {
|
|
return m_x;
|
|
}
|
|
|
|
float CurveViewCursor::y() {
|
|
return m_y;
|
|
}
|
|
|
|
void CurveViewCursor::moveTo(float x, float y) {
|
|
m_x = x;
|
|
m_y = y;
|
|
}
|