1 /* === S I N F G =========================================================== */
2 /*! \file boolean_curve.h
3 ** \brief Boolean Curve Header
5 ** $Id: booleancurve.h,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_BOOLEAN_CURVE_H
25 #define __SINFG_BOOLEAN_CURVE_H
27 /* === H E A D E R S ======================================================= */
28 #include <sinfg/layer_shape.h>
29 #include <sinfg/blinepoint.h>
33 /* === M A C R O S ========================================================= */
35 /* === T Y P E D E F S ===================================================== */
37 /* === C L A S S E S & S T R U C T S ======================================= */
41 class BooleanCurve : public Layer_Shape
43 //dynamic list of regions and such
44 typedef std::vector< std::vector<BLinePoint> > region_list_type;
45 region_list_type regions;
62 virtual bool set_param(const String & param, const sinfg::ValueBase &value);
63 virtual ValueBase get_param(const String & param)const;
65 virtual Vocab get_param_vocab()const;
67 virtual Color get_color(Context context, const Point &pos)const;
68 virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const;
71 } //end of namespace sinfg
72 /* === E N D =============================================================== */