News for hackers. Stuff that matters.
Re:X and NeWS history by badsectoracula on Tuesday September 26, 2017 @12:29AM (#15336175)
Yeah the details are kinda weird (although i wonder if there is some reasoning behind that because Windows also has the same off-by-one-pixel thing - and even more confusingly it is done through the same API call but it is a special case when you use a null pen) but for me the most important thing is that they are there and you can safely rely on that they are there despite the weirdness.
Re:X and NeWS history by adrianratnapala on Tuesday September 26, 2017 @08:46PM (#15343980)
Off-by-one pixel stuff is not surprising in world where your API deals explicitly with individual pixels. Newer systems are a bit simpler here because they treat the screen as continuous plane that only gets mapped to pixels at the last moment.

The flip side is that you have to worry about weird aliasing (or anti-aliasing!) artifacts, such as black lines turning grey.