bitmaptools: add missing types

These diagnostics occurred, but weren't treated as errors:
```
[WARN] Missing return type: alphablend on line 38
[WARN] Missing argument type: dest_bitmap on line 38
[WARN] Missing argument type: source_bitmap_1 on line 38
[WARN] Missing argument type: source_bitmap_2 on line 38
```
This commit is contained in:
Jeff Epler 2021-12-22 11:15:02 -06:00
parent 166793f843
commit fb79d1c1d1
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(bitmaptools_rotozoom_obj, 0, bitmaptools_obj_rotozoom
// requires at least 2 arguments (destination bitmap and source bitmap) // requires at least 2 arguments (destination bitmap and source bitmap)
//| //|
//| def alphablend(dest_bitmap, source_bitmap_1, source_bitmap_2, colorspace: displayio.Colorspace, factor1: float=.5, factor2: float=None): //| def alphablend(dest_bitmap: displayio.Bitmap , source_bitmap_1: displayio.Bitmap, source_bitmap_2: displayio.Bitmap, colorspace: displayio.Colorspace, factor1: float=.5, factor2: float=None) -> None:
//| """Alpha blend the two source bitmaps into the destination. //| """Alpha blend the two source bitmaps into the destination.
//| //|
//| It is permitted for the destination bitmap to be one of the two //| It is permitted for the destination bitmap to be one of the two