X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbezier.hh;h=a04d449725ab17f346df4d20daa5286df7de0d4c;hb=0e5d83a9ceb4a143f83d22406d7eb816314ff9f7;hp=2dc8ef22d680f215e7631ab5bd89116ccb1e37f2;hpb=64313890b232c731d432e5b096f30bffc3f3756d;p=lilypond.git diff --git a/lily/include/bezier.hh b/lily/include/bezier.hh index 2dc8ef22d6..a04d449725 100644 --- a/lily/include/bezier.hh +++ b/lily/include/bezier.hh @@ -1,7 +1,7 @@ /* bezier.hh -- declare Bezier and Bezier_bow - (c) 1998--2006 Jan Nieuwenhuizen + (c) 1998--2009 Jan Nieuwenhuizen */ #ifndef 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);