In progress...
This commit is contained in:
parent
a2ed8e2e25
commit
229adb7028
|
@ -28,10 +28,10 @@ namespace CairoChart {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal bool rect_cross (Cairo.Rectangle r1, Cairo.Rectangle r2) {
|
/*internal bool rect_cross (Cairo.Rectangle r1, Cairo.Rectangle r2) {
|
||||||
return coord_cross(r1.x, r1.x + r1.width, r2.x, r2.x + r2.width)
|
return coord_cross(r1.x, r1.x + r1.width, r2.x, r2.x + r2.width)
|
||||||
&& coord_cross(r1.y, r1.y + r1.height, r2.y, r2.y + r2.height);
|
&& coord_cross(r1.y, r1.y + r1.height, r2.y, r2.y + r2.height);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
internal bool point_belong (Float128 p, Float128 a, Float128 b) {
|
internal bool point_belong (Float128 p, Float128 a, Float128 b) {
|
||||||
if (a > b) { Float128 tmp = a; a = b; b = tmp; }
|
if (a > b) { Float128 tmp = a; a = b; b = tmp; }
|
||||||
|
|
Loading…
Reference in New Issue