NewTOAPIA.Drawing.rasterizer_compound_aa.add_vertex C# (CSharp) Method

add_vertex() private method

private add_vertex ( double x, double y, Path cmd ) : void
x double
y double
cmd Path
return void
        void add_vertex(double x, double y, Path.FlagsAndCommand cmd)
        {
            if (Path.is_move_to(cmd))
            {
                move_to_d(x, y);
            }
            else
                if (Path.is_vertex(cmd))
                {
                    line_to_d(x, y);
                }
                else
                    if (Path.is_close(cmd))
                    {
                        m_VectorClipper.line_to(m_Rasterizer, m_start_x, m_start_y);
                    }
        }