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:
parent
166793f843
commit
fb79d1c1d1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue