//---------------------------------------------------------------------------- // 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: [email protected] // [email protected] // http://www.antigrain.com //---------------------------------------------------------------------------- // // vertex_sequence container and vertex_dist struct // //---------------------------------------------------------------------------- #ifndef AGG_VERTEX_SEQUENCE_INCLUDED #define AGG_VERTEX_SEQUENCE_INCLUDED #include "agg_basics.h" #include "agg_array.h" #include "agg_math.h" namespace pdfium { namespace agg { template<class T, unsigned S = 6> class vertex_sequence : public pod_deque<T, S> { … }; template<class T, unsigned S> void vertex_sequence<T, S>::add(const T& val) { … } template<class T, unsigned S> void vertex_sequence<T, S>::modify_last(const T& val) { … } template<class T, unsigned S> void vertex_sequence<T, S>::close(bool closed) { … } const float vertex_dist_epsilon = …; struct vertex_dist { … }; struct vertex_dist_cmd : public vertex_dist { … }; } } // namespace pdfium #endif