1 //----------------------------------------------------------------------------
2 // Anti-Grain Geometry - Version 2.4
3 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
5 // Permission to copy, use, modify, sell and distribute this software
6 // is granted provided this copyright notice appears in all copies.
7 // This software is provided "as is" without express or implied
8 // warranty, and with no claim as to its suitability for any purpose.
10 //----------------------------------------------------------------------------
11 // Contact: mcseem@antigrain.com
12 // mcseemagg@yahoo.com
13 // http://www.antigrain.com
14 //----------------------------------------------------------------------------
16 // Simple arrowhead/arrowtail generator
18 //----------------------------------------------------------------------------
19 #ifndef AGG_ARROWHEAD_INCLUDED
20 #define AGG_ARROWHEAD_INCLUDED
22 #include "agg_basics.h"
27 //===============================================================arrowhead
29 // See implementation agg_arrowhead.cpp
36 void head(double d1
, double d2
, double d3
, double d4
)
45 void head() { m_head_flag
= true; }
46 void no_head() { m_head_flag
= false; }
48 void tail(double d1
, double d2
, double d3
, double d4
)
57 void tail() { m_tail_flag
= true; }
58 void no_tail() { m_tail_flag
= false; }
60 void rewind(unsigned path_id
);
61 unsigned vertex(double* x
, double* y
);
77 unsigned m_curr_coord
;