| 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 // |
| 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 // | 16 // |
| 17 // Line dash generator | 17 // Line dash generator |
| 18 // | 18 // |
| 19 //---------------------------------------------------------------------------- | 19 //---------------------------------------------------------------------------- |
| 20 #ifndef AGG_VCGEN_DASH_INCLUDED | 20 #ifndef AGG_VCGEN_DASH_INCLUDED |
| 21 #define AGG_VCGEN_DASH_INCLUDED | 21 #define AGG_VCGEN_DASH_INCLUDED |
| 22 #include "agg_basics.h" | 22 #include "agg_basics.h" |
| 23 #include "agg_vertex_sequence.h" | 23 #include "agg_vertex_sequence.h" |
| 24 namespace agg | 24 namespace agg |
| 25 { | 25 { |
| 26 class vcgen_dash : public CFX_Object | 26 class vcgen_dash |
| 27 { | 27 { |
| 28 enum max_dashes_e { | 28 enum max_dashes_e { |
| 29 max_dashes = 32 | 29 max_dashes = 32 |
| 30 }; | 30 }; |
| 31 enum status_e { | 31 enum status_e { |
| 32 initial, | 32 initial, |
| 33 ready, | 33 ready, |
| 34 polyline, | 34 polyline, |
| 35 stop | 35 stop |
| 36 }; | 36 }; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 66 FX_FLOAT m_curr_rest; | 66 FX_FLOAT m_curr_rest; |
| 67 const vertex_dist* m_v1; | 67 const vertex_dist* m_v1; |
| 68 const vertex_dist* m_v2; | 68 const vertex_dist* m_v2; |
| 69 vertex_storage m_src_vertices; | 69 vertex_storage m_src_vertices; |
| 70 unsigned m_closed; | 70 unsigned m_closed; |
| 71 status_e m_status; | 71 status_e m_status; |
| 72 unsigned m_src_vertex; | 72 unsigned m_src_vertex; |
| 73 }; | 73 }; |
| 74 } | 74 } |
| 75 #endif | 75 #endif |
| OLD | NEW |