public override string CanvasFigureLoop(Mgcg.CanvasFigureLoop value)
        {
            switch (value)
            {
            case Mgcg.CanvasFigureLoop.Open:
                return("D2D1_FIGURE_END_OPEN");

            case Mgcg.CanvasFigureLoop.Closed:
                return("D2D1_FIGURE_END_CLOSED");

            default:
                throw new InvalidOperationException();
            }
        }
Example #2
0
 public override string CanvasFigureLoop(Mgcg.CanvasFigureLoop value) =>
 value switch
 {