Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Single Pixel Wide Straight Lines
Re: Single Pixel Wide Straight Lines [message #59018 is a reply to message #59012] Fri, 14 October 2022 20:46 Go to previous messageGo to previous message
devilsclaw is currently offline  devilsclaw
Messages: 72
Registered: August 2022
Member
So I tried what you suggested moved it by 0.5 of a pix which moved it from 10 to 10.5 and then the line was a single pixel. But that is not possible to do with DrawLine since its integer. This to me feels like a bug that you have to be half a pixel off to get a pixel line width.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Text painting issue with 'const char*'
Next Topic: Crash when loading some jpeg files
Goto Forum:
  


Current Time: Tue May 07 07:40:45 CEST 2024

Total time taken to generate the page: 0.02689 seconds