this is mainly to prevent RgbaBitmap's from being initialized by default to all black with alpha=0. this can still be manually done if desired, but the assumption is that most of the time you'd want alpha=255. for the most part this doesn't matter one way or the other except when we get to blending (not yet done for RgbaBitmaps, but coming soon) and saving RgbaBitmap's to PNG files where it becomes blatantly obvious when you have a bitmap with all/mostly alpha=0 pixels! |
||
---|---|---|
.. | ||
assets | ||
benches | ||
src | ||
test-assets | ||
tests | ||
Cargo.toml |