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 23 matching lines...) Expand all Loading... |
34 #define AGG_INT32U unsigned | 34 #define AGG_INT32U unsigned |
35 #endif | 35 #endif |
36 #ifndef AGG_INT64 | 36 #ifndef AGG_INT64 |
37 #define AGG_INT64 signed long long | 37 #define AGG_INT64 signed long long |
38 #endif | 38 #endif |
39 #ifndef AGG_INT64U | 39 #ifndef AGG_INT64U |
40 #define AGG_INT64U unsigned long long | 40 #define AGG_INT64U unsigned long long |
41 #endif | 41 #endif |
42 #define AGG_INLINE inline | 42 #define AGG_INLINE inline |
43 | 43 |
44 #include "core/include/fxcrt/fx_system.h" // For FX_FLOAT | 44 #include "core/fxcrt/include/fx_system.h" // For FX_FLOAT |
45 | 45 |
46 namespace agg | 46 namespace agg |
47 { | 47 { |
48 typedef AGG_INT8 int8; | 48 typedef AGG_INT8 int8; |
49 typedef AGG_INT8U int8u; | 49 typedef AGG_INT8U int8u; |
50 typedef AGG_INT16 int16; | 50 typedef AGG_INT16 int16; |
51 typedef AGG_INT16U int16u; | 51 typedef AGG_INT16U int16u; |
52 typedef AGG_INT32 int32; | 52 typedef AGG_INT32 int32; |
53 typedef AGG_INT32U int32u; | 53 typedef AGG_INT32U int32u; |
54 typedef AGG_INT64 int64; | 54 typedef AGG_INT64 int64; |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 }; | 276 }; |
277 struct vertex_type { | 277 struct vertex_type { |
278 FX_FLOAT x, y; | 278 FX_FLOAT x, y; |
279 unsigned cmd; | 279 unsigned cmd; |
280 vertex_type() {} | 280 vertex_type() {} |
281 vertex_type(FX_FLOAT x_, FX_FLOAT y_, unsigned cmd_) : | 281 vertex_type(FX_FLOAT x_, FX_FLOAT y_, unsigned cmd_) : |
282 x(x_), y(y_), cmd(cmd_) {} | 282 x(x_), y(y_), cmd(cmd_) {} |
283 }; | 283 }; |
284 } | 284 } |
285 #endif | 285 #endif |
OLD | NEW |