- Real angle = (end - begin).arg();
- Array<Offset> points;
-
- //construct the arrow
- points.push (Offset (0, 0));
- points.push (Offset (-length, width));
- points.push (Offset (-length, -width));
-
- // rotate and translate the arrow
- for (int i = 0; i < points.size(); i++)
+ Real angle = (end - begin).arg ();
+ vector<Offset> points;
+
+ points.push_back (Offset (0, 0));
+ points.push_back (Offset (-length, width));
+ points.push_back (Offset (-length, -width));
+
+ for (vsize i = 0; i < points.size (); i++)