You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In interactive mode you can write something like this:
// Import IGraphics extensions and Color structusingSharpDebug.Drawing.Interfaces;// Create canvasvarcanvas=Graphics.CreateCanvas();// Create some objectsvarcircle=Grapchics.CreateCircle(Color.Cyan,100,100,10);varline=Grapchics.CreateLine(Color.Gray,10,10,200,200);// Add objects to canvascanvas.AddDrawing(circle);canvas.AddDrawing(line);// Show canvas on screencanvas.Dump();
Basic idea of drawing interfaces is that you want to visualize some existing data using primitive objects and don't care if you are in UI thread, remote debugging, etc. If you are executing some computer vision algorithm and you want to debug it, you can visualize image and draw results on top of it at every breakpoint. You can also use scripts not to type it over and over again.
Are there examples on how to use the drawing interface?
The text was updated successfully, but these errors were encountered: