File: Path.h
    1| #ifndef _Path_h
    2| #define _Path_h
    3| 
    4| //. A Vertex is a 2D point.
    5| struct Vertex
    6| {
    7|   double x//.< the x coordinate
    8|   double y//.< the y coordinate
    9| };
   10| 
   11| //. Path is the basic abstraction
   12| //. used for drawing (curved) paths.
   13| class Path
   14| {
   15| public:
   16|   virtual ~Path() {}
   17|   //. Draw this path.
   18|   virtual void draw() = 0;
   19|   // temporarily commented out...
   20|   // void intersects(const Path &);
   21| private:
   22| };
   23| 
   24| #endif