@@ -949,37 +949,37 @@ STATIC mp_obj_t bitmaptools_obj_draw_circle(size_t n_args, const mp_obj_t *pos_a
949949
950950MP_DEFINE_CONST_FUN_OBJ_KW (bitmaptools_draw_circle_obj , 0 , bitmaptools_obj_draw_circle );
951951
952- //| def blit(
953- //| dest_bitmap: displayio.Bitmap,
954- //| source_bitmap: displayio.Bitmap,
955- //| x: int,
956- //| y: int,
957- //| *,
958- //| x1: int,
959- //| y1: int,
960- //| x2: int,
961- //| y2: int,
962- //| skip_source_index: int,
963- //| skip_dest_index: int
964- //| ) -> None:
965- //| """Inserts the source_bitmap region defined by rectangular boundaries
966- //| (x1,y1) and (x2,y2) into the bitmap at the specified (x,y) location.
952+ //| def blit(
953+ //| dest_bitmap: displayio.Bitmap,
954+ //| source_bitmap: displayio.Bitmap,
955+ //| x: int,
956+ //| y: int,
957+ //| *,
958+ //| x1: int,
959+ //| y1: int,
960+ //| x2: int,
961+ //| y2: int,
962+ //| skip_source_index: int,
963+ //| skip_dest_index: int
964+ //| ) -> None:
965+ //| """Inserts the source_bitmap region defined by rectangular boundaries
966+ //| (x1,y1) and (x2,y2) into the bitmap at the specified (x,y) location.
967967//|
968- //| :param bitmap dest_bitmap: Destination bitmap that the area will be copied into.
969- //| :param bitmap source_bitmap: Source bitmap that contains the graphical region to be copied
970- //| :param int x: Horizontal pixel location in bitmap where source_bitmap upper-left
971- //| corner will be placed
972- //| :param int y: Vertical pixel location in bitmap where source_bitmap upper-left
973- //| corner will be placed
974- //| :param int x1: Minimum x-value for rectangular bounding box to be copied from the source bitmap
975- //| :param int y1: Minimum y-value for rectangular bounding box to be copied from the source bitmap
976- //| :param int x2: Maximum x-value (exclusive) for rectangular bounding box to be copied from the source bitmap
977- //| :param int y2: Maximum y-value (exclusive) for rectangular bounding box to be copied from the source bitmap
978- //| :param int skip_source_index: bitmap palette index in the source that will not be copied,
979- //| set to None to copy all pixels
980- //| :param int skip_dest_index: bitmap palette index in the destination bitmap that will not get overwritten
981- //| by the pixels from the source"""
982- //| ...
968+ //| :param bitmap dest_bitmap: Destination bitmap that the area will be copied into.
969+ //| :param bitmap source_bitmap: Source bitmap that contains the graphical region to be copied
970+ //| :param int x: Horizontal pixel location in bitmap where source_bitmap upper-left
971+ //| corner will be placed
972+ //| :param int y: Vertical pixel location in bitmap where source_bitmap upper-left
973+ //| corner will be placed
974+ //| :param int x1: Minimum x-value for rectangular bounding box to be copied from the source bitmap
975+ //| :param int y1: Minimum y-value for rectangular bounding box to be copied from the source bitmap
976+ //| :param int x2: Maximum x-value (exclusive) for rectangular bounding box to be copied from the source bitmap
977+ //| :param int y2: Maximum y-value (exclusive) for rectangular bounding box to be copied from the source bitmap
978+ //| :param int skip_source_index: bitmap palette index in the source that will not be copied,
979+ //| set to None to copy all pixels
980+ //| :param int skip_dest_index: bitmap palette index in the destination bitmap that will not get overwritten
981+ //| by the pixels from the source"""
982+ //| ...
983983//|
984984STATIC mp_obj_t bitmaptools_obj_blit (size_t n_args , const mp_obj_t * pos_args , mp_map_t * kw_args ) {
985985 enum {ARG_destination , ARG_source , ARG_x , ARG_y , ARG_x1 , ARG_y1 , ARG_x2 , ARG_y2 , ARG_skip_source_index , ARG_skip_dest_index };
0 commit comments