From: Jan Nieuwenhuizen Date: Sun, 19 Apr 1998 22:45:24 +0000 (+0200) Subject: partial: 0.1.57.jcn X-Git-Tag: release/0.1.57~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4c5b1c14d1474af33002a4ba9e8584647c4ad8c0;p=lilypond.git partial: 0.1.57.jcn --- diff --git a/lily/include/curve.hh b/lily/include/curve.hh new file mode 100644 index 0000000000..a37be5c669 --- /dev/null +++ b/lily/include/curve.hh @@ -0,0 +1,38 @@ +/* + curve.hh -- declare point and curve + + (c) 1998 Jan Nieuwenhuizen +*/ + +#ifndef CURVE_HH +#define CURVE_HH + +#ifndef STANDALONE +#include "lily-proto.hh" +#endif + +#include "real.hh" + +#include "offset.hh" +#include "varray.hh" + +class Curve : public Array +{ +public: + void flipy (); + int largest_disturbing (); + void rotate (Real phi); + void translate (Offset o); + + void operator = (Array const & src) + { + Array::operator =(src); + } + void operator = (Curve const & src) + { + Array::operator =((Array)src); + } +}; + +#endif // CURVE_HH +