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

Side by Side Diff: third_party/agg23/agg_rasterizer_scanline_aa.h

Issue 1425163004: Merge to XFA: Fix all relative includes to core. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « third_party/agg23/agg_path_storage.cpp ('k') | third_party/agg23/agg_vcgen_dash.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 //
(...skipping 11 matching lines...) Expand all
22 // 22 //
23 // Adaptation for 32-bit screen coordinates has been sponsored by 23 // Adaptation for 32-bit screen coordinates has been sponsored by
24 // Liberty Technology Systems, Inc., visit http://lib-sys.com 24 // Liberty Technology Systems, Inc., visit http://lib-sys.com
25 // 25 //
26 // Liberty Technology Systems, Inc. is the provider of 26 // Liberty Technology Systems, Inc. is the provider of
27 // PostScript and PDF technology for software developers. 27 // PostScript and PDF technology for software developers.
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 #include "../../core/include/fxcrt/fx_coordinates.h" 32
33 #include "../../core/include/fxcrt/fx_memory.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_math.h" 36 #include "agg_math.h"
36 #include "agg_array.h"
37 #include "agg_clip_liang_barsky.h"
38 #include "agg_render_scanlines.h" 37 #include "agg_render_scanlines.h"
38 #include "core/include/fxcrt/fx_coordinates.h"
39 #include "core/include/fxcrt/fx_memory.h"
40
39 namespace agg 41 namespace agg
40 { 42 {
41 enum poly_base_scale_e { 43 enum poly_base_scale_e {
42 poly_base_shift = 8, 44 poly_base_shift = 8,
43 poly_base_size = 1 << poly_base_shift, 45 poly_base_size = 1 << poly_base_shift,
44 poly_base_mask = poly_base_size - 1 46 poly_base_mask = poly_base_size - 1
45 }; 47 };
46 inline int poly_coord(FX_FLOAT c) 48 inline int poly_coord(FX_FLOAT c)
47 { 49 {
48 return int(c * poly_base_size); 50 return int(c * poly_base_size);
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 int m_prev_x; 466 int m_prev_x;
465 int m_prev_y; 467 int m_prev_y;
466 unsigned m_prev_flags; 468 unsigned m_prev_flags;
467 unsigned m_status; 469 unsigned m_status;
468 rect m_clip_box; 470 rect m_clip_box;
469 bool m_clipping; 471 bool m_clipping;
470 int m_cur_y; 472 int m_cur_y;
471 }; 473 };
472 } 474 }
473 #endif 475 #endif
OLDNEW
« no previous file with comments | « third_party/agg23/agg_path_storage.cpp ('k') | third_party/agg23/agg_vcgen_dash.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698