X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbezier.hh;h=94f207a33bd15397f38cab02f41880d3531aec38;hb=6a3360c40308285434e06a1de031efb073c015fa;hp=2dc8ef22d680f215e7631ab5bd89116ccb1e37f2;hpb=64313890b232c731d432e5b096f30bffc3f3756d;p=lilypond.git diff --git a/lily/include/bezier.hh b/lily/include/bezier.hh index 2dc8ef22d6..94f207a33b 100644 --- a/lily/include/bezier.hh +++ b/lily/include/bezier.hh @@ -24,8 +24,8 @@ public: void translate (Offset); Real get_other_coordinate (Axis a, Real x) const; - std::vector solve_point (Axis, Real coordinate) const; - std::vector solve_derivative (Offset) const; + vector solve_point (Axis, Real coordinate) const; + vector solve_derivative (Offset) const; Interval extent (Axis) const; Interval control_point_extent (Axis) const; @@ -37,15 +37,15 @@ public: /* Bezier curves always have 4 control points. Making this into an - std::vector<> gives unnecessary overhead, and makes debugging a royal + vector<> gives unnecessary overhead, and makes debugging a royal pain. */ Offset control_[4]; }; -void scale (std::vector *array, Real xscale, Real yscale); -void rotate (std::vector *array, Real phi); -void translate (std::vector *array, Offset o); +void scale (vector *array, Real xscale, Real yscale); +void rotate (vector *array, Real phi); +void translate (vector *array, Offset o); Bezier slur_shape (Real width, Real height_limit, Real height_proportion);