Commit Graph

8 Commits

Author SHA1 Message Date
olikraus 0917449a09 fixed drawBitmap, #391 2017-10-19 21:10:18 +02:00
Hendry Kaak fdb19f866e Bitmaps: add bitmap mode
This new mode work in the same way as the existing font mode: It allows drawing
solid (both white and black pixels in the bitmap affect the output) or
transparent (only white pixels in the bitmap affect the output). Transparent
bitmaps may be used to draw multiple bitmaps over each other, for example when
drawing animations. As a side effect, transparent XOR mode now also works by
setting the bitmap mode to transparent and the draw color to 2.

Before this commit, the bitmaps XBM bitmaps were being drawn as solid
object, while the regular bitmaps were drawn as transparent.

The structure of the code is based on how `u8g2_font_decode_len()` handles the
same thing when drawing glyphs.
2017-03-15 17:58:35 +01:00
olikraus c763d55f94 update for XBM functions to support XOR mode, issue #56 2017-01-07 16:22:25 +01:00
olikraus b4db8002ec XBM & japanese 2016-10-01 08:37:18 +02:00
olikraus 8f60e80c71 little rook chess... port almost finished 2016-06-18 15:28:31 +02:00
olikraus 3c484fd2fd bitmap 2016-05-05 11:52:11 +02:00
olikraus db0cafb67a xbm 2016-05-05 08:43:16 +02:00
olikraus 864657b244 bitmap 2016-05-05 07:49:31 +02:00