Program Listing for File DrawerProperties.h

Program Listing for File DrawerProperties.h#

Return to documentation for file (src/main/cpp/lib/DrawerProperties.h)

#ifndef DRAWERPROPERTIES_H_
#define DRAWERPROPERTIES_H_

#include <algorithm>
#include "Color.h"

template<typename FillT = Color>
  struct DrawerProperties
  {
    double line_width;
    Color line_color;
    FillT fill_color;

    DrawerProperties (double line_width_, const Color& line_color_,
              const FillT& fill_color_) :
    line_width (line_width_), line_color (line_color_), fill_color (
        fill_color_)
    {
    }
};

#endif /* DRAWERPROPERTIES_H_ */