| OLD | NEW |
| 1 | 1 |
| 2 //---------------------------------------------------------------------------- | 2 //---------------------------------------------------------------------------- |
| 3 // Anti-Grain Geometry - Version 2.3 | 3 // Anti-Grain Geometry - Version 2.3 |
| 4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) | 4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) |
| 5 // | 5 // |
| 6 // Permission to copy, use, modify, sell and distribute this software | 6 // Permission to copy, use, modify, sell and distribute this software |
| 7 // is granted provided this copyright notice appears in all copies. | 7 // is granted provided this copyright notice appears in all copies. |
| 8 // This software is provided "as is" without express or implied | 8 // This software is provided "as is" without express or implied |
| 9 // warranty, and with no claim as to its suitability for any purpose. | 9 // warranty, and with no claim as to its suitability for any purpose. |
| 10 // | 10 // |
| 11 //---------------------------------------------------------------------------- | 11 //---------------------------------------------------------------------------- |
| 12 // Contact: mcseem@antigrain.com | 12 // Contact: mcseem@antigrain.com |
| 13 // mcseemagg@yahoo.com | 13 // mcseemagg@yahoo.com |
| 14 // http://www.antigrain.com | 14 // http://www.antigrain.com |
| 15 //---------------------------------------------------------------------------- | 15 //---------------------------------------------------------------------------- |
| 16 #ifndef AGG_RENDERER_SCANLINE_INCLUDED | 16 #ifndef AGG_RENDERER_SCANLINE_INCLUDED |
| 17 #define AGG_RENDERER_SCANLINE_INCLUDED | 17 #define AGG_RENDERER_SCANLINE_INCLUDED |
| 18 #include "agg_basics.h" | 18 #include "agg_basics.h" |
| 19 #include "agg_renderer_base.h" | 19 #include "agg_renderer_base.h" |
| 20 #include "agg_render_scanlines.h" | 20 #include "agg_render_scanlines.h" |
| 21 namespace agg | 21 namespace agg |
| 22 { | 22 { |
| 23 template<class BaseRenderer, class SpanGenerator> class renderer_scanline_aa : p
ublic CFX_Object | 23 template<class BaseRenderer, class SpanGenerator> class renderer_scanline_aa |
| 24 { | 24 { |
| 25 public: | 25 public: |
| 26 typedef BaseRenderer base_ren_type; | 26 typedef BaseRenderer base_ren_type; |
| 27 typedef SpanGenerator span_gen_type; | 27 typedef SpanGenerator span_gen_type; |
| 28 renderer_scanline_aa() : m_ren(0), m_span_gen(0) {} | 28 renderer_scanline_aa() : m_ren(0), m_span_gen(0) {} |
| 29 renderer_scanline_aa(base_ren_type& ren, span_gen_type& span_gen) : | 29 renderer_scanline_aa(base_ren_type& ren, span_gen_type& span_gen) : |
| 30 m_ren(&ren), | 30 m_ren(&ren), |
| 31 m_span_gen(&span_gen) | 31 m_span_gen(&span_gen) |
| 32 {} | 32 {} |
| 33 void attach(base_ren_type& ren, span_gen_type& span_gen) | 33 void attach(base_ren_type& ren, span_gen_type& span_gen) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 } while(m_ren->next_clip_box()); | 86 } while(m_ren->next_clip_box()); |
| 87 } | 87 } |
| 88 private: | 88 private: |
| 89 base_ren_type* m_ren; | 89 base_ren_type* m_ren; |
| 90 SpanGenerator* m_span_gen; | 90 SpanGenerator* m_span_gen; |
| 91 }; | 91 }; |
| 92 } | 92 } |
| 93 #endif | 93 #endif |
| OLD | NEW |