I had been hoping to be able to mark an image location with subpixel accuracy using an overlay constructed from a short pair of crossed lines (a "+" mark). I first looked at the IMAQ Overlay Line function, but when I saw that it accepted only I32 coordinates for its inputs, I went looking for another solution. I eventually found the IMAQ Overlay Multiple Lines 2 function and when I saw that it accepted DBL coordinates for its inputs, I thought that I had found my solution and the HELP topic for the function didn't say anything to dissuaded me. But after I got to using the function, I found that it cannot position the lines that it draws with subpixel accuracy, instead rounding them, to what appears to me to be boundary positions between pixels. I found that to be both disheartening (no subpixel solution) and odd (line location). I built a test VI (attached, LabVIEW 2014, IMAQ Vision library required) to confirm the behavior and to compare it with what the IMAQ Overlay Line function did as far as line placement goes. It turns out that the lines drawn by the IMAQ Overlay Line function do align with whole pixel locations like I was expecting. None of this behavior is documented in any NI documentation that I've been able to find so I thought that it would be worth mentioning here for others that might stumble into this behavior as well. Below are screenshots from the attached Test VI showing the resultant 1-pixel-wide overlay line position for the same DBL X ("4.67" here) position.
the IMAQ Overlay Line function
the IMAQ Overlay Multiple Lines 2 function