public void Display(HWindow windowHandle)
        {
            windowHandle.SetColor("magenta");
            LineRegions?.DispObj(windowHandle);


            windowHandle.SetColor("green");
            CrossedUsed?.DispObj(windowHandle);

            windowHandle.SetDraw("margin");
            windowHandle.SetColor("orange");
            FindLineRects?.DispObj(windowHandle);

            windowHandle.SetColor("green");
            windowHandle.SetDraw("fill");
            windowHandle.SetLineWidth(3);
            Edges?.DispObj(windowHandle);
            windowHandle.SetLineWidth(1);
            windowHandle.SetDraw("margin");

            windowHandle.SetColor("red");
            Line.DisplayGraphics(windowHandle);

            windowHandle.SetColor("firebrick");
            DisplayPointMarkers(windowHandle);
        }
Esempio n. 2
0
 private void DisplayEdges(HWindow windowHandle)
 {
     if (Edges == null)
     {
         return;
     }
     windowHandle.SetLineWidth(5);
     windowHandle.SetColor("orange");
     Edges.DispObj(windowHandle);
     windowHandle.SetLineWidth(1);
 }