//---------------------------------------------------------------------------- // XYQ: 2006-01-22 Copied from AGG project. // TODO: This file uses intensive floating point operations, so it's NOT suitable // for platforms like Symbian OS. We need to change to FIX format. //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // 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 //---------------------------------------------------------------------------- #include "agg_curves.h" #include "agg_math.h" namespace pdfium { namespace agg { const float curve_collinearity_epsilon = …; enum curve_recursion_limit_e { … }; void curve4_div::init(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) { … } void curve4_div::recursive_bezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, unsigned level) { … } void curve4_div::bezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) { … } } } // namespace pdfium