File: Path.h
    1#ifndef Path_h_
    2#define Path_h_
    3
    4//. A Vertex is a 2D point.
    5struct 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.
   13class Path
   14{
   15public:
   16  virtual ~Path() {}
   17  //. Draw this path.
   18  virtual void draw() = 0;
   19  // temporarily commented out...
   20  // bool intersects(const Path &);
   21private:
   22};
   23
   24#endif