Skip to content

Commit 52aa86c

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents bcf0a56 + 2dee612 commit 52aa86c

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

docs/shared_bindings_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_settings_from_makefile(port_dir, board_name):
177177
in this script, something that has proved error-prone
178178
"""
179179
contents = subprocess.run(
180-
["make", "-C", port_dir, "-f", "Makefile", f"BOARD={board_name}", "print-CFLAGS", "print-CIRCUITPY_BUILD_EXTENSIONS", "print-FROZEN_MPY_DIRS"],
180+
["make", "-C", port_dir, "-f", "Makefile", f"BOARD={board_name}", "print-CFLAGS", "print-CIRCUITPY_BUILD_EXTENSIONS", "print-FROZEN_MPY_DIRS", "print-SRC_PATTERNS"],
181181
encoding="utf-8",
182182
errors="replace",
183183
stdout=subprocess.PIPE,

shared-bindings/bitmaptools/__init__.c

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -949,37 +949,37 @@ STATIC mp_obj_t bitmaptools_obj_draw_circle(size_t n_args, const mp_obj_t *pos_a
949949

950950
MP_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
//|
984984
STATIC 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

Comments
 (0)