| 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 // |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // | 28 // |
| 29 //---------------------------------------------------------------------------- | 29 //---------------------------------------------------------------------------- |
| 30 #ifndef AGG_RASTERIZER_SCANLINE_AA_INCLUDED | 30 #ifndef AGG_RASTERIZER_SCANLINE_AA_INCLUDED |
| 31 #define AGG_RASTERIZER_SCANLINE_AA_INCLUDED | 31 #define AGG_RASTERIZER_SCANLINE_AA_INCLUDED |
| 32 | 32 |
| 33 #include "agg_array.h" | 33 #include "agg_array.h" |
| 34 #include "agg_basics.h" | 34 #include "agg_basics.h" |
| 35 #include "agg_clip_liang_barsky.h" | 35 #include "agg_clip_liang_barsky.h" |
| 36 #include "agg_math.h" | 36 #include "agg_math.h" |
| 37 #include "agg_render_scanlines.h" | 37 #include "agg_render_scanlines.h" |
| 38 #include "core/fxcrt/include/fx_coordinates.h" | 38 #include "core/fxcrt/fx_coordinates.h" |
| 39 #include "core/fxcrt/include/fx_memory.h" | 39 #include "core/fxcrt/fx_memory.h" |
| 40 | 40 |
| 41 namespace agg | 41 namespace agg |
| 42 { | 42 { |
| 43 enum poly_base_scale_e { | 43 enum poly_base_scale_e { |
| 44 poly_base_shift = 8, | 44 poly_base_shift = 8, |
| 45 poly_base_size = 1 << poly_base_shift, | 45 poly_base_size = 1 << poly_base_shift, |
| 46 poly_base_mask = poly_base_size - 1 | 46 poly_base_mask = poly_base_size - 1 |
| 47 }; | 47 }; |
| 48 inline int poly_coord(FX_FLOAT c) | 48 inline int poly_coord(FX_FLOAT c) |
| 49 { | 49 { |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 int m_prev_x; | 466 int m_prev_x; |
| 467 int m_prev_y; | 467 int m_prev_y; |
| 468 unsigned m_prev_flags; | 468 unsigned m_prev_flags; |
| 469 unsigned m_status; | 469 unsigned m_status; |
| 470 rect m_clip_box; | 470 rect m_clip_box; |
| 471 bool m_clipping; | 471 bool m_clipping; |
| 472 int m_cur_y; | 472 int m_cur_y; |
| 473 }; | 473 }; |
| 474 } | 474 } |
| 475 #endif | 475 #endif |
| OLD | NEW |