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);
        }
示例#2
0
 public FindLineManager(ISnackbarMessageQueue messageQueue = null)
 {
     CrossesIgnored.GenEmptyObj();
     LineRegions.GenEmptyObj();
     FindLineRects.GenEmptyObj();
     Edges.GenEmptyObj();
     MessageQueue = messageQueue;
 }
示例#3
0
 public FindLineManager(Dictionary <string, FindLineFeeding> findLineFeedings,
                        ISnackbarMessageQueue messageQueue = null)
 {
     FindLineFeedings = findLineFeedings;
     CrossesIgnored.GenEmptyObj();
     LineRegions.GenEmptyObj();
     FindLineRects.GenEmptyObj();
     Edges.GenEmptyObj();
     MessageQueue = messageQueue;
 }
示例#4
0
        private void DisplayCrosses(HWindow windowHandle)
        {
            windowHandle.SetDraw("margin");
            windowHandle.SetLineWidth(1);



            windowHandle.SetColor("red");
            CrossesIgnored?.DispObj(windowHandle);

            windowHandle.SetColor("magenta");
            windowHandle.SetLineWidth(3);
            FindLineRects?.DispObj(windowHandle);


            windowHandle.SetColor("blue");
            LineRegions?.DispObj(windowHandle);
        }