notcurses/tests
Nick Black 4e58747709
ncplane_rotate_cw() and ncplane_rotate_ccw() (#396)
Introduce limited plane rotation capability. We currently support clockwise and counterclockwise rotation of planes. Square and rectangular geometries are both supported, but there must be an even number of columns. The atomic unit of rotation is a 2x1 "square" (this assumes .5 cell aspect ratio). We can only rotate those glyphs which have rotated equivalents, and not even all of those. We currently handle only:

* null glyph
* space
* upper half block
* lower half block
* full block

I've added unit tests as well. This functionality is used by our Tetris example in the book
2020-03-07 18:36:49 -05:00
..
cell.cpp Cell: non-OPAQUE always sets non-default bit 2020-02-23 12:11:28 -05:00
channel.cpp Prep for serious rusting #101 (#354) 2020-02-18 12:36:16 -05:00
direct.cpp notcurses_directmode()->ncdirect_init() 2020-03-02 20:19:16 -05:00
egcpool.cpp Prep for serious rusting #101 (#354) 2020-02-18 12:36:16 -05:00
fade.cpp ncplane_rotate_cw() and ncplane_rotate_ccw() (#396) 2020-03-07 18:36:49 -05:00
fills.cpp gradient: implement + test 1d fills 2020-02-24 22:54:21 -05:00
input.cpp Accept US-ASCII/C encoding, with warning. 2020-02-06 22:05:48 -05:00
internal.cpp Out with googletest, in with doctest #202 (#231) 2019-12-27 17:20:20 -05:00
main.cpp Accept US-ASCII/C encoding, with warning. 2020-02-06 22:05:48 -05:00
main.h Prep for serious rusting #101 (#354) 2020-02-18 12:36:16 -05:00
menu.cpp ncmenu: remove dumb restrictions/special casing 2020-02-10 15:18:28 -05:00
metric.cpp enmetric->ncmetric #324 2020-02-05 20:18:11 -05:00
ncplane.cpp ncplane_mouseevent_p()->ncplane_translate_abs() 2020-03-03 00:59:44 -05:00
notcurses.cpp Cell: non-OPAQUE always sets non-default bit 2020-02-23 12:11:28 -05:00
palette.cpp Prep for serious rusting #101 (#354) 2020-02-18 12:36:16 -05:00
reel.cpp Accept US-ASCII/C encoding, with warning. 2020-02-06 22:05:48 -05:00
render.cpp Accept US-ASCII/C encoding, with warning. 2020-02-06 22:05:48 -05:00
resize.cpp ncplane_rotate_cw() and ncplane_rotate_ccw() (#396) 2020-03-07 18:36:49 -05:00
rotate.cpp ncplane_rotate_cw() and ncplane_rotate_ccw() (#396) 2020-03-07 18:36:49 -05:00
selector.cpp ncmenu_selected() fills in an ncinput #333 2020-02-12 09:11:28 -05:00
visual.cpp Prep for serious rusting #101 (#354) 2020-02-18 12:36:16 -05:00
zaxis.cpp Accept US-ASCII/C encoding, with warning. 2020-02-06 22:05:48 -05:00