summaryrefslogtreecommitdiff
path: root/dwr/tools.hh
blob: 8e7bb2b20334a88da29c3752f5e741a6c5a450ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __DWR_TOOLS_HH__
#define __DWR_TOOLS_HH__

#include "dw/core.hh"

namespace rtfl {

namespace dw {

namespace tools {

void drawArrowHead (::dw::core::View *view, ::dw::core::style::Style *style,
                    int x1, int y1, int x2, int y2, int aheadlen);

void drawBSpline (::dw::core::View *view, ::dw::core::style::Style *style,
                  int degree, int numPoints, int *x, int *y);

} // namespace tools

} // namespace rtfl

} // namespace dw

#endif // __DWR_TOOLS_HH__