Example #1
0
 public void end_poly(ShapePath.FlagsAndCommand flags)
 {
     if (ShapePath.is_vertex(vertices.last_command()))
     {
         vertices.AddVertex(0.0, 0.0, ShapePath.FlagsAndCommand.CommandEndPoly | flags);
     }
 }
Example #2
0
 // Make path functions
 //--------------------------------------------------------------------
 public int start_new_path()
 {
     if (!ShapePath.is_stop(vertices.last_command()))
     {
         vertices.AddVertex(0.0, 0.0, ShapePath.FlagsAndCommand.CommandStop);
     }
     return(vertices.total_vertices());
 }