scottsilverlabs / raspberrystem

raspberrySTEM(TM) Educational and Hobbyist Development Kit based on the Raspberry Pi
www.raspberrystem.com
Apache License 2.0
3 stars 0 forks source link

LED API: bitmap (supports transparent). xor, overwrite, invert #3

Closed brian-silverman closed 10 years ago

brian-silverman commented 10 years ago

Perhaps change this name from bitmap() to sprite(). May want to make this a sprite object (led.Sprite): define a sprite's bitmap. Then draw it with s.draw((x,y), mode)

jpsnyder commented 10 years ago

I currently have support for sprites which can be set to foreground or background (if in foreground the background shows through transparent bits)

scottsilverlabs commented 10 years ago

Sprite support is currently mainline. I'll close this.