OK In progress...
This commit is contained in:
parent
ad04ed2e2a
commit
776ff5e01b
|
@ -1,16 +1,48 @@
|
|||
namespace CairoChart {
|
||||
|
||||
/**
|
||||
* 64-bit point.
|
||||
*/
|
||||
public struct Point {
|
||||
|
||||
/**
|
||||
* X-coordinate.
|
||||
*/
|
||||
double x;
|
||||
|
||||
/**
|
||||
* Y-coordinate.
|
||||
*/
|
||||
double y;
|
||||
|
||||
/**
|
||||
* Constructs a new ``Point``.
|
||||
* @param x x-coordinate.
|
||||
* @param y y-coordinate.
|
||||
*/
|
||||
public Point (double x = 0.0, double y = 0.0) {
|
||||
this.x = x; this.y = y;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public struct Point128 {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
Float128 x;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
Float128 y;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public Point128 (Float128 x = 0.0, Float128 y = 0.0) {
|
||||
this.x = x; this.y = y;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue