diff options
Diffstat (limited to 'dwr/tools.hh')
-rw-r--r-- | dwr/tools.hh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dwr/tools.hh b/dwr/tools.hh new file mode 100644 index 0000000..8e7bb2b --- /dev/null +++ b/dwr/tools.hh @@ -0,0 +1,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__ |