Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: core/src/fxge/agg/agg23/agg_renderer_scanline.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « core/src/fxge/agg/agg23/agg_renderer_base.h ('k') | core/src/fxge/agg/agg23/agg_rendering_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698