graphics port drawing and coordinates as real numbers
Hello - LW 6.1 Pro, Windows. I have so called "problems" with drawing straight one pixel-wide lines using GP and CAPI. In LW6.1 with default settings for graphics port when I try to draw a rectangle with black one pixel-wide line width like (gp:draw-rectangle port 60 159 100 100) I get a gray rectangle with two pixel-wide line width and "rounded" corners. To me this is an effect of the new capi graphics anti-aliasing system and using real numbers for coordinates. So, (gp:draw-rectangle port 60.5 159.5 100 100) does to me what I wanted. But drawing straight vertical/horizontal lines where coordinates are calculated by some algorithm doesn't always do the desired result (straight one pixel lines). Question: a) do I miss something in capi or b) it's the design of CAPI and GP and that how it is and will be? (Honestly, CAPI and GP look overengineered to me based on my two recent small projects involving capi and gp to draw things. Right now I cannot imagine using CAPI and GP in big projects.) Best, Art _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html