//---------------------------------------------------------------------------- // 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 //---------------------------------------------------------------------------- // // Stroke generator // //---------------------------------------------------------------------------- #include "agg_vcgen_stroke.h" namespace pdfium { namespace agg { vcgen_stroke::vcgen_stroke() : … { … } void vcgen_stroke::remove_all() { … } void vcgen_stroke::add_vertex(float x, float y, unsigned cmd) { … } static inline void calc_butt_cap(float* cap, const vertex_dist& v0, const vertex_dist& v1, float len, float width) { … } void vcgen_stroke::rewind(unsigned) { … } unsigned vcgen_stroke::vertex(float* x, float* y) { … } } } // namespace pdfium