LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ANy way to increase IMAQ Draw line weight?

What techniques do people use to increase the line weights of items drawn using the "IMAQ Draw" function?

For simple lines I suppose I could specify the use of skinny, filled rectanges instead of the lines, but that would not work for circles or ellipses. I suppose I could draw multiple objects that are either slightly offset from or larger/smaller than the primary object I was trying to draw, but that seems to be quite cumbersome. I'm hoping someone has an easier way.

I'm finding this necessary because I have images where I'm marking points on the image with crosshairs and if the image is displayed fullsize or larger then the crosshair displays properly. However, if the image is displayed at reduced size then various portions of the crosshair disappear from view as rows & columns are eliminated from the image to reduce its size.
0 Kudos
Message 1 of 2
(2,984 Views)
Hello Warren,

I don't know of a way to increase the thickness of the lines of the overlay. One method you can use is what you descried of drawing the same shape with a one pixel offset. Another method that I like to use is the Imaq Overlay Bitmap.vi and define my own custom overlays. I believe this should work well for a crosshair. I have attached an screenshot of a simple VI I put together. I hope this helps you out.

Regards,
Nipun M
Applications Engineer
National Instruments
Message 2 of 2
(2,964 Views)