erkanokman-zz / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

How to invert individual pixels #341

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello.
I'm trying to invert individual pixels,part of the display, or let say bitmap, 
not entire display, i'm trying to make something like in this picture(see 
attachment).
This is what i find in internet about this.
http://forums.adafruit.com/viewtopic.php?f=47&p=244335 
Please help me.
Thank you

Original issue reported on code.google.com by hpvide...@gmail.com on 12 May 2015 at 5:39

Attachments:

GoogleCodeExporter commented 8 years ago
It is not possible to invert a single pixel with u8glib. However it would be 
possible to create a picture like in your image: Write the bitmap not inverted 
and complete first. Then draw the progress bar,then draw the bitmap again, but 
with inverted pixel and only that part of the image which overlaps with the 
progress bar.

Original comment by olikr...@gmail.com on 12 May 2015 at 8:21