micropython/tests/extmod
Mat Booth 04a655c744 extmod/modframebuf: Add polygon drawing methods.
Add method for drawing polygons.

For non-filled polygons, uses the existing line-drawing code to render
arbitrary polygons using the given coords list, at the given x,y position,
in the given colour.

For filled polygons, arbitrary closed polygons are rendered using a fast
point-in-polygon algorithm to determine where the edges of the polygon lie
on each pixel row.

Tests and documentation updates are also included.

Signed-off-by: Mat Booth <mat.booth@gmail.com>
2022-08-19 23:31:28 +10:00
..
btree1.py
btree1.py.exp
btree_error.py
btree_error.py.exp
btree_gc.py
btree_gc.py.exp
framebuf1.py
framebuf1.py.exp
framebuf2.py
framebuf2.py.exp
framebuf4.py
framebuf4.py.exp
framebuf8.py
framebuf8.py.exp
framebuf16.py
framebuf16.py.exp
framebuf_ellipse.py extmod/modframebuf: Add ellipse drawing method. 2022-08-19 23:31:28 +10:00
framebuf_ellipse.py.exp extmod/modframebuf: Add ellipse drawing method. 2022-08-19 23:31:28 +10:00
framebuf_palette.py
framebuf_palette.py.exp
framebuf_polygon.py extmod/modframebuf: Add polygon drawing methods. 2022-08-19 23:31:28 +10:00
framebuf_polygon.py.exp extmod/modframebuf: Add polygon drawing methods. 2022-08-19 23:31:28 +10:00
framebuf_subclass.py
framebuf_subclass.py.exp
machine1.py
machine1.py.exp
machine_i2s_rate.py
machine_i2s_rate.py.exp
machine_pinbase.py
machine_pinbase.py.exp
machine_pulse.py
machine_pulse.py.exp
machine_signal.py
machine_signal.py.exp
machine_timer.py
machine_timer.py.exp
ticks_diff.py
ticks_diff.py.exp
time_ms_us.py
time_ms_us.py.exp
uasyncio_await_return.py
uasyncio_await_return.py.exp
uasyncio_basic.py
uasyncio_basic.py.exp
uasyncio_basic2.py
uasyncio_basic2.py.exp
uasyncio_cancel_fair.py
uasyncio_cancel_fair.py.exp
uasyncio_cancel_fair2.py
uasyncio_cancel_fair2.py.exp
uasyncio_cancel_self.py
uasyncio_cancel_self.py.exp
uasyncio_cancel_task.py
uasyncio_cancel_task.py.exp
uasyncio_cancel_wait_on_finished.py
uasyncio_cancel_wait_on_finished.py.exp
uasyncio_current_task.py
uasyncio_current_task.py.exp
uasyncio_event.py
uasyncio_event.py.exp
uasyncio_event_fair.py
uasyncio_event_fair.py.exp
uasyncio_exception.py
uasyncio_exception.py.exp
uasyncio_fair.py
uasyncio_fair.py.exp
uasyncio_gather.py extmod/uasyncio: Handle gather with no awaitables. 2022-07-26 18:16:19 +10:00
uasyncio_gather.py.exp extmod/uasyncio: Handle gather with no awaitables. 2022-07-26 18:16:19 +10:00
uasyncio_gather_notimpl.py
uasyncio_gather_notimpl.py.exp
uasyncio_get_event_loop.py
uasyncio_heaplock.py
uasyncio_heaplock.py.exp
uasyncio_lock.py
uasyncio_lock.py.exp
uasyncio_lock_cancel.py
uasyncio_lock_cancel.py.exp
uasyncio_loop_stop.py
uasyncio_loop_stop.py.exp
uasyncio_micropython.py
uasyncio_micropython.py.exp
uasyncio_new_event_loop.py
uasyncio_new_event_loop.py.exp
uasyncio_set_exception_handler.py
uasyncio_set_exception_handler.py.exp
uasyncio_task_done.py
uasyncio_task_done.py.exp
uasyncio_threadsafeflag.py extmod/uasyncio: Add clear method to ThreadSafeFlag. 2022-08-12 17:06:28 +10:00
uasyncio_threadsafeflag.py.exp extmod/uasyncio: Add clear method to ThreadSafeFlag. 2022-08-12 17:06:28 +10:00
uasyncio_wait_for.py
uasyncio_wait_for.py.exp
uasyncio_wait_for_fwd.py
uasyncio_wait_for_fwd.py.exp
uasyncio_wait_task.py
uasyncio_wait_task.py.exp
ubinascii_a2b_base64.py
ubinascii_b2a_base64.py
ubinascii_crc32.py
ubinascii_hexlify.py tests/extmod/ubinascii: Add tests for bytes.hex etc. 2022-08-12 12:44:30 +10:00
ubinascii_unhexlify.py tests/extmod/ubinascii: Add tests for bytes.hex etc. 2022-08-12 12:44:30 +10:00
ucryptolib_aes128_cbc.py
ucryptolib_aes128_cbc.py.exp
ucryptolib_aes128_ctr.py
ucryptolib_aes128_ctr.py.exp
ucryptolib_aes128_ecb.py
ucryptolib_aes128_ecb.py.exp
ucryptolib_aes128_ecb_enc.py
ucryptolib_aes128_ecb_enc.py.exp
ucryptolib_aes128_ecb_inpl.py
ucryptolib_aes128_ecb_inpl.py.exp
ucryptolib_aes128_ecb_into.py
ucryptolib_aes128_ecb_into.py.exp
ucryptolib_aes256_cbc.py
ucryptolib_aes256_cbc.py.exp
ucryptolib_aes256_ecb.py
ucryptolib_aes256_ecb.py.exp
uctypes_32bit_intbig.py
uctypes_32bit_intbig.py.exp
uctypes_array_assign_le.py
uctypes_array_assign_le.py.exp
uctypes_array_assign_native_le.py
uctypes_array_assign_native_le.py.exp
uctypes_array_assign_native_le_intbig.py
uctypes_array_assign_native_le_intbig.py.exp
uctypes_array_load_store.py
uctypes_array_load_store.py.exp
uctypes_bytearray.py
uctypes_bytearray.py.exp
uctypes_byteat.py
uctypes_byteat.py.exp
uctypes_error.py
uctypes_error.py.exp
uctypes_le.py
uctypes_le.py.exp
uctypes_le_float.py
uctypes_le_float.py.exp
uctypes_native_float.py
uctypes_native_float.py.exp
uctypes_native_le.py
uctypes_native_le.py.exp
uctypes_print.py
uctypes_print.py.exp
uctypes_ptr_le.py
uctypes_ptr_le.py.exp
uctypes_ptr_native_le.py
uctypes_ptr_native_le.py.exp
uctypes_sizeof.py
uctypes_sizeof.py.exp
uctypes_sizeof_float.py
uctypes_sizeof_float.py.exp
uctypes_sizeof_layout.py
uctypes_sizeof_layout.py.exp
uctypes_sizeof_native.py
uctypes_sizeof_native.py.exp
uctypes_sizeof_od.py
uctypes_sizeof_od.py.exp
uhashlib_final.py
uhashlib_final.py.exp
uhashlib_md5.py
uhashlib_sha1.py
uhashlib_sha256.py
uheapq1.py
ujson_dump.py
ujson_dump_iobase.py
ujson_dump_separators.py
ujson_dumps.py
ujson_dumps_extra.py
ujson_dumps_extra.py.exp
ujson_dumps_float.py
ujson_dumps_ordereddict.py
ujson_dumps_separators.py
ujson_load.py
ujson_loads.py
ujson_loads_bytes.py
ujson_loads_bytes.py.exp
ujson_loads_float.py
urandom_basic.py
urandom_basic.py.exp
urandom_extra.py
urandom_extra_float.py
urandom_seed_default.py
ure1.py
ure_debug.py
ure_debug.py.exp
ure_error.py
ure_group.py
ure_groups.py
ure_limit.py
ure_limit.py.exp
ure_namedclass.py
ure_span.py
ure_split.py
ure_split_empty.py
ure_split_empty.py.exp
ure_split_notimpl.py
ure_split_notimpl.py.exp
ure_stack_overflow.py
ure_stack_overflow.py.exp
ure_sub.py
ure_sub_unmatched.py
ure_sub_unmatched.py.exp
uselect_poll_basic.py
uselect_poll_udp.py
usocket_tcp_basic.py
usocket_udp_nonblock.py
ussl_basic.py
ussl_basic.py.exp
ussl_keycert.py
ussl_keycert.py.exp
utime_res.py
utime_res.py.exp
utime_time_ns.py
utime_time_ns.py.exp
utimeq1.py
utimeq1.py.exp
utimeq_stable.py
utimeq_stable.py.exp
uzlib_decompio.py
uzlib_decompio.py.exp
uzlib_decompio_gz.py
uzlib_decompio_gz.py.exp
uzlib_decompress.py
vfs_basic.py
vfs_basic.py.exp
vfs_blockdev.py
vfs_blockdev.py.exp
vfs_fat_fileio1.py
vfs_fat_fileio1.py.exp
vfs_fat_fileio2.py
vfs_fat_fileio2.py.exp
vfs_fat_finaliser.py
vfs_fat_finaliser.py.exp
vfs_fat_more.py
vfs_fat_more.py.exp
vfs_fat_mtime.py
vfs_fat_mtime.py.exp
vfs_fat_oldproto.py
vfs_fat_oldproto.py.exp
vfs_fat_ramdisk.py
vfs_fat_ramdisk.py.exp
vfs_fat_ramdisklarge.py
vfs_fat_ramdisklarge.py.exp
vfs_lfs.py
vfs_lfs.py.exp
vfs_lfs_corrupt.py
vfs_lfs_corrupt.py.exp
vfs_lfs_error.py
vfs_lfs_error.py.exp
vfs_lfs_file.py
vfs_lfs_file.py.exp
vfs_lfs_mount.py
vfs_lfs_mount.py.exp
vfs_lfs_mtime.py
vfs_lfs_mtime.py.exp
vfs_lfs_superblock.py
vfs_lfs_superblock.py.exp
vfs_posix.py py/modio: Remove FileIO and TextIOWrapper from io module. 2022-07-26 17:58:01 +10:00
vfs_posix.py.exp
vfs_userfs.py
vfs_userfs.py.exp
websocket_basic.py
websocket_basic.py.exp