00001 /* 00002 File: Draw.h 00003 00004 Function: Handy drawing routines. 00005 00006 Author: Andrew Willmott 00007 00008 Copyright: (c) 1998-2000, Andrew Willmott 00009 */ 00010 00011 #ifndef __Draw__ 00012 #define __Draw__ 00013 00014 #include "gcl/Renderer.h" 00015 00016 Void DrawCircle(Renderer &r, const Point &p, const Vector &n, 00017 GCLReal radius); 00018 00019 Void PaintBox(Renderer &r, const Point &min, const Point &max); 00020 Void FrameBox(Renderer &r, const Point &min, const Point &max); 00021 00022 Void PaintRect(Renderer &r, const Coord &min, const Coord &max); 00023 Void FrameRect(Renderer &r, const Coord &min, const Coord &max); 00024 00025 Void MakeBoxCorners(const Point &min, const Point &max, Point corners[8]); 00026 Void PaintBox(Renderer &r, Point c[8]); 00027 Void FrameBox(Renderer &r, Point c[8]); 00028 00029 extern Int scRenderSteps; 00030 00031 #endif