U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Single Pixel Wide Straight Lines
Single Pixel Wide Straight Lines [message #59012] Fri, 14 October 2022 16:15 Go to previous message
devilsclaw is currently offline  devilsclaw
Messages: 76
Registered: August 2022
Member
So if I use Draw directly from the Paint function parameter I can draw Straight lines that are a single pixel wide.

If I use PaintingPainter, ImageBuffer BufferPainter combo, or DrawPainter Nearly all lines that are supposed to be single pixel wide are two pixels with fading effects applied to them. this is with MODE_ANTIALIASED, MODE_NOAA, MODE_SUBPIXEL as well. The reason why I say nearly all is because in some cases when I do a grid some lines are actually single lines but most are not.

The reason I can;t just use Draw is because I need the ability to draw in the same place twice and have them show both sort of mixed together.

Is there a way to draw single pixel wide straight lines or is there a way to paint pixels in an array or buffer or something so I can do that my self.

 
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 Jun 23 13:58:34 GMT+2 2026

Total time taken to generate the page: 0.00717 seconds