X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgraphicprimitives.h;h=1513ebbe4ba23c4617f31e5891fca79e2008e8c5;hb=3599953dec39d0ae662b039378a0b3eda39424e8;hp=dbc7a116f5a6f76867ed84b17fb95e0e56838d02;hpb=5c7c36b21d0f2a88accd8ff12c05dcc3004ce0e8;p=ttedit diff --git a/src/graphicprimitives.h b/src/graphicprimitives.h index dbc7a11..1513ebb 100755 --- a/src/graphicprimitives.h +++ b/src/graphicprimitives.h @@ -1,27 +1,27 @@ -// -// Graphics primitives -// -// Various graphic functions that are slightly more complex than those that -// come with various widget libraries. -// - -#ifndef __GRAPHICPRIMITIVES_H__ -#define __GRAPHICPRIMITIVES_H__ - -#include // For device context -#include "types.h" // For int32 - -struct point -{ - float x, y; - - point(float xx = 0, float yy = 0): x(xx), y(yy) {} -}; - -void Bezier(wxDC &, point, point, point); -void DrawRoundDot(wxDC &, int32, int32); -void DrawSquareDot(wxDC &, int32, int32); -void DrawRoundDotN(wxDC &, int32, int32, uint32); -void DrawSquareDotN(wxDC &, int32, int32, uint32); - -#endif // __GRAPHICPRIMITIVES_H__ +// +// Graphics primitives +// +// Various graphic functions that are slightly more complex than those that +// come with various widget libraries. +// + +#ifndef __GRAPHICPRIMITIVES_H__ +#define __GRAPHICPRIMITIVES_H__ + +#include // For QPainter +#include "types.h" // For int32 + +struct point +{ + float x, y; + + point(float xx = 0, float yy = 0): x(xx), y(yy) {} +}; + +void Bezier(QPainter &, point, point, point); +void DrawRoundDot(QPainter &, int32, int32); +void DrawSquareDot(QPainter &, int32, int32); +void DrawRoundDotN(QPainter &, int32, int32, uint32); +void DrawSquareDotN(QPainter &, int32, int32, uint32); + +#endif // __GRAPHICPRIMITIVES_H__