Cairo-Chart/src/Point.vala

19 lines
303 B
Vala
Raw Normal View History

2018-01-08 23:33:13 +03:00
namespace CairoChart {
2017-08-28 14:47:31 +03:00
public struct Point {
2018-01-16 13:39:17 +03:00
double x;
double y;
public Point (double x = 0.0, double y = 0.0) {
this.x = x; this.y = y;
}
}
public struct Point128 {
2017-08-28 14:47:31 +03:00
Float128 x;
Float128 y;
2018-01-16 13:39:17 +03:00
public Point128 (Float128 x = 0.0, Float128 y = 0.0) {
2017-08-28 14:47:31 +03:00
this.x = x; this.y = y;
}
}
}