Roy Hooper
1b7709f325
use the stack
2020-08-10 18:42:05 -04:00
Roy Hooper
e73dba21d2
make pixelbuf handle floats and iterables
2020-08-07 18:42:06 -04:00
Scott Shawcroft
2bd6d05663
Add externs. GCC10 complains about duplicate defines
2020-07-22 16:26:46 -07:00
George Waters
c592a2b4db
Simplify pixelbuf set_pixels function
2020-05-22 21:19:17 -04:00
George Waters
f078055f59
Use mp_int_t for setting pixelbuf slice indices
...
When handling negative steps, start and stop need to be mp_int_t so they
can be checked against a potential negative value during the for loop
used to set the slice values.
2020-05-22 16:28:09 -04:00
George Waters
16ffc731f3
Implement negative step for pixelbuf slices
2020-05-21 21:57:45 -04:00
Scott Shawcroft
39971794dd
Encapsulate buffers inside PixelBuf and refactor it.
2020-01-24 18:23:07 -08:00
Roy Hooper
fdddb54db4
rename call_show to pixelbuf_call_show
2020-01-02 17:56:04 -05:00
Roy Hooper
0d267eaee1
fix compile fails
2019-12-02 14:25:57 -05:00
Roy Hooper
2970680e6a
fix show and fix step > 1
2019-10-20 19:54:25 -04:00
Roy Hooper
dc8c27d129
make dotstar byteorder constants start with P. fix small bugs.
2019-10-06 22:44:00 -04:00
Roy Hooper
55c688cbeb
restructure to be subclassable
2019-10-05 15:53:53 -04:00
Roy Hooper
db84445a62
WIP: refactor _pixelbuf to use strings instead of classes
2019-07-21 16:21:39 -04:00
Roy Hooper
8fa81fe003
move headers to __init__.h
2019-01-19 17:03:16 -05:00
Roy Hooper
ffe734edf7
Fresh combined checkin of _pixelbuf library.
2019-01-13 23:51:13 -05:00