X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgraphicprimitives.h;h=81e15abf8da68afecde87fafbda8549de4d0e0ea;hb=c84263bb8b0d16e4c6da49aa0b7d0bc904ae02b1;hp=dbc7a116f5a6f76867ed84b17fb95e0e56838d02;hpb=5c7c36b21d0f2a88accd8ff12c05dcc3004ce0e8;p=ttedit diff --git a/src/graphicprimitives.h b/src/graphicprimitives.h index dbc7a11..81e15ab 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 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__