DrawLine / Draw Ellipse - want an inverted color to background monochrome color (to draw highly visible crosshairs on a camera display) RRS feed

  • Question

  • I have an industrial camera, ad need to draw a cross hair with circles in the middle.

    Currently I use Color.FromArgb(64, 255, 0, 0) as the color, with a thickness of 2 -3

    However making the line more opaque, hides details under the line, and making it less opaque makes it less visible.

    I wouild l;ike to optinally be able to make the line 1 pixel thick and set it as a color of am 8 bit invert of the current greyscale value. (ie 255 -> 0. 0->255, 10->245 etc).

    Is there a feature where this could be done with the drawline/drawellipse functions. I don';t want to have to set each pixel individually.


    Friday, May 15, 2020 1:03 AM

All replies