示例#1
0
 // Vertex Source Interface
 public void Rewind(int idx)
 {
     if (m_status == StrokeMath.status_e.initial)
     {
         m_src_vertices.close(m_closed != 0);
         ShapePath.shorten_path(m_src_vertices, m_shorten, m_closed);
         if (m_src_vertices.size() < 3)
         {
             m_closed = 0;
         }
     }
     m_status     = StrokeMath.status_e.ready;
     m_src_vertex = 0;
     m_out_vertex = 0;
 }