Commit graph

47 commits

Author SHA1 Message Date
bendn 1c218cd1a9
optimize tri further 2023-10-05 08:13:30 +07:00
bendn 853b51fc50
add a madd function 2023-10-05 07:06:34 +07:00
bendn a0f555439e
add Image::boxed 2023-10-04 11:34:14 +07:00
bendn f465e25077
use AsRef instead of Deref 2023-10-04 11:10:48 +07:00
bendn 248bba7bb9
do 270 degree rot out of place 2023-10-03 13:55:26 +07:00
bendn f863d295d6
transpose out of place for rot_90 cloner 2023-10-02 21:09:24 +07:00
bendn ed92acb021
fix incorrect safety doc 2023-10-02 19:33:47 +07:00
bendn 7faa5261a6
remove unused nightly features 2023-10-02 16:40:30 +07:00
bendn 43da761a4e
optimize Image::repeat
also removes some unsafe
2023-10-02 13:30:35 +07:00
bendn ac3f07c797
add Image::circle 2023-09-30 06:08:52 +07:00
bendn e405062947
add Image::poly 2023-09-29 07:04:26 +07:00
bendn c33594e995
add Image::quad 2023-09-28 15:33:51 +07:00
bendn af0be2af34
use into_flattened 2023-09-27 08:45:51 +07:00
bendn e09c667231
add stroked box drawing 2023-09-27 08:19:28 +07:00
bendn 7c800b700e
remove redundant bounds (Deref is supertrait of DerefMut) 2023-09-26 12:32:12 +07:00
bendn eed6423cba
thick lines 2023-09-26 12:20:35 +07:00
bendn 611739ee6d
add points 2023-09-26 07:47:51 +07:00
bendn 2e0b8fd7d6
make functions more generic 2023-09-26 06:05:17 +07:00
bendn 4eb9c336b0
must_use all cloner functions 2023-09-26 05:41:32 +07:00
bendn 89b1596db2
feeble attempt to fix docs.rs 2023-09-25 19:03:44 +07:00
bendn 5293fe3d77
seal Cloner* traits 2023-09-25 17:18:35 +07:00
bendn 214f25bbab
reexport cloner overlays 2023-09-25 16:49:49 +07:00
bendn 5af9c16dc7
optimize tri (wtf) 2023-09-25 14:04:46 +07:00
bendn 829cfa680e
add a ImageCloner 2023-09-25 13:48:58 +07:00
bendn 1b5b06c36f
make drawing functions safe 2023-09-22 16:50:08 +07:00
bendn f74d3dc450
optimize transposition for powers of two 2023-09-22 06:59:12 +07:00
bendn 94d9d60f03
add image scaling 2023-09-21 10:35:58 +07:00
bendn 5c00d7449f
box drawing 2023-09-11 07:58:21 +07:00
bendn 1dab1af17a
triangle drawing 2023-09-11 06:40:34 +07:00
bendn 546fb23d81
add line drawing 2023-09-11 05:16:59 +07:00
bendn d270f656de
fix doc problems 2023-09-09 17:58:13 +07:00
bendn 36355a5c83
fix debug_assert and add test for repeat 2023-09-09 17:54:54 +07:00
bendn 51c506425c
use iai 2023-09-07 10:02:44 +07:00
bendn c997bf1990
Image::to_owned for &mut [T] too 2023-09-06 19:28:53 +07:00
bendn b618a22c88
Image::take_buffer && Image::to_owned 2023-09-06 18:49:51 +07:00
bendn 5139fa82f7
add make() 2023-09-06 18:43:27 +07:00
bendn 58a769292b
remove Default 2023-09-06 13:56:15 +07:00
bendn a8fe89c87a
fix unsoundness 2023-09-06 11:21:32 +07:00
bendn 4322efc5c7
document unsafe blocks
i never said well
2023-09-06 09:24:41 +07:00
bendn f8ea570db0
full documentation 2023-09-06 08:31:53 +07:00
bendn e2128bb9f2
fix affine bench 2023-09-05 18:08:48 +07:00
bendn fd41988c10
fix saveless 2023-09-05 12:37:04 +07:00
bendn 82c597213b
remove needless traits 2023-09-05 11:48:21 +07:00
bendn 5168d0f6d9
save vecs too 2023-09-05 09:58:07 +07:00
bendn 7b3e67fd19
move benchmarks out 2023-09-05 09:55:20 +07:00
bendn 0a5f7f14fd
fix transpose comments 2023-09-05 07:27:10 +07:00
bendn 62fbd6fd1a
init 2023-09-05 06:45:23 +07:00