//---------------------------------------------------------------------------- // 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 //---------------------------------------------------------------------------- // // Line dash generator // //---------------------------------------------------------------------------- #include <cmath> #include "agg_shorten_path.h" #include "agg_vcgen_dash.h" #include "core/fxcrt/check_op.h" namespace pdfium { namespace agg { vcgen_dash::vcgen_dash() : … { … } void vcgen_dash::remove_all_dashes() { … } void vcgen_dash::add_dash(float dash_len, float gap_len) { … } void vcgen_dash::dash_start(float ds) { … } void vcgen_dash::calc_dash_start(float ds) { … } void vcgen_dash::remove_all() { … } void vcgen_dash::add_vertex(float x, float y, unsigned cmd) { … } void vcgen_dash::rewind(unsigned) { … } unsigned vcgen_dash::vertex(float* x, float* y) { … } } } // namespace pdfium