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 22 matching lines...) Expand all Loading... |
33 #ifndef AGG_INT32U | 33 #ifndef AGG_INT32U |
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 |
| 44 #include "core/include/fxcrt/fx_system.h" // For FX_FLOAT |
| 45 |
43 namespace agg | 46 namespace agg |
44 { | 47 { |
45 typedef AGG_INT8 int8; | 48 typedef AGG_INT8 int8; |
46 typedef AGG_INT8U int8u; | 49 typedef AGG_INT8U int8u; |
47 typedef AGG_INT16 int16; | 50 typedef AGG_INT16 int16; |
48 typedef AGG_INT16U int16u; | 51 typedef AGG_INT16U int16u; |
49 typedef AGG_INT32 int32; | 52 typedef AGG_INT32 int32; |
50 typedef AGG_INT32U int32u; | 53 typedef AGG_INT32U int32u; |
51 typedef AGG_INT64 int64; | 54 typedef AGG_INT64 int64; |
52 typedef AGG_INT64U int64u; | 55 typedef AGG_INT64U int64u; |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 }; | 276 }; |
274 struct vertex_type { | 277 struct vertex_type { |
275 FX_FLOAT x, y; | 278 FX_FLOAT x, y; |
276 unsigned cmd; | 279 unsigned cmd; |
277 vertex_type() {} | 280 vertex_type() {} |
278 vertex_type(FX_FLOAT x_, FX_FLOAT y_, unsigned cmd_) : | 281 vertex_type(FX_FLOAT x_, FX_FLOAT y_, unsigned cmd_) : |
279 x(x_), y(y_), cmd(cmd_) {} | 282 x(x_), y(y_), cmd(cmd_) {} |
280 }; | 283 }; |
281 } | 284 } |
282 #endif | 285 #endif |
OLD | NEW |