summaryrefslogtreecommitdiff
path: root/agg/inc/agg_conv_smooth_poly1.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg/inc/agg_conv_smooth_poly1.h')
-rwxr-xr-xagg/inc/agg_conv_smooth_poly1.h80
1 files changed, 0 insertions, 80 deletions
diff --git a/agg/inc/agg_conv_smooth_poly1.h b/agg/inc/agg_conv_smooth_poly1.h
deleted file mode 100755
index f50a48747f9a..000000000000
--- a/agg/inc/agg_conv_smooth_poly1.h
+++ /dev/null
@@ -1,80 +0,0 @@
-//----------------------------------------------------------------------------
-// Anti-Grain Geometry - Version 2.3
-// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
-//
-// Permission to copy, use, modify, sell and distribute this software
-// is granted provided this copyright notice appears in all copies.
-// This software is provided "as is" without express or implied
-// warranty, and with no claim as to its suitability for any purpose.
-//
-//----------------------------------------------------------------------------
-// Contact: mcseem@antigrain.com
-// mcseemagg@yahoo.com
-// http://www.antigrain.com
-//----------------------------------------------------------------------------
-//
-// Smooth polygon generator
-//
-//----------------------------------------------------------------------------
-#ifndef AGG_CONV_SMOOTH_POLY1_INCLUDED
-#define AGG_CONV_SMOOTH_POLY1_INCLUDED
-
-#include "agg_basics.h"
-#include "agg_vcgen_smooth_poly1.h"
-#include "agg_conv_adaptor_vcgen.h"
-#include "agg_conv_curve.h"
-
-
-namespace agg
-{
-
- //-------------------------------------------------------conv_smooth_poly1
- template<class VertexSource>
- struct conv_smooth_poly1 :
- public conv_adaptor_vcgen<VertexSource, vcgen_smooth_poly1>
- {
- typedef conv_adaptor_vcgen<VertexSource, vcgen_smooth_poly1> base_type;
-
- conv_smooth_poly1(VertexSource& vs) :
- conv_adaptor_vcgen<VertexSource, vcgen_smooth_poly1>(vs)
- {
- }
-
- void smooth_value(double v) { base_type::generator().smooth_value(v); }
- double smooth_value() const { return base_type::generator().smooth_value(); }
-
- private:
- conv_smooth_poly1(const conv_smooth_poly1<VertexSource>&);
- const conv_smooth_poly1<VertexSource>&
- operator = (const conv_smooth_poly1<VertexSource>&);
- };
-
-
-
- //-------------------------------------------------conv_smooth_poly1_curve
- template<class VertexSource>
- struct conv_smooth_poly1_curve :
- public conv_curve<conv_smooth_poly1<VertexSource> >
- {
- conv_smooth_poly1_curve(VertexSource& vs) :
- conv_curve<conv_smooth_poly1<VertexSource> >(m_smooth),
- m_smooth(vs)
- {
- }
-
- void smooth_value(double v) { m_smooth.generator().smooth_value(v); }
- double smooth_value() const { return m_smooth.generator().smooth_value(); }
-
- private:
- conv_smooth_poly1_curve(const conv_smooth_poly1_curve<VertexSource>&);
- const conv_smooth_poly1_curve<VertexSource>&
- operator = (const conv_smooth_poly1_curve<VertexSource>&);
-
- conv_smooth_poly1<VertexSource> m_smooth;
- };
-
-}
-
-
-#endif
-