Commit graph

60 commits

Author SHA1 Message Date
Jonathan Dahan
1991606d9f format 2023-02-05 16:34:37 -05:00
Jonathan Dahan
4839047e45 Fix fill 2023-02-04 22:44:46 -05:00
Jonathan Dahan
97d197ed0b remove comments 2023-02-04 14:37:36 -05:00
Jonathan Dahan
3959f9bef6 pylint 2023-02-04 14:36:01 -05:00
Jonathan Dahan
d84d55093b Fix fill 2023-02-04 14:24:48 -05:00
Jonathan Dahan
d8b8238509 Run black formatter 2023-02-04 14:09:49 -05:00
Jonathan Dahan
6e6f8db423 fix pylint warnings 2023-02-04 14:09:33 -05:00
Jonathan Dahan
0c0084dae9 Add 2bit grayscale support
This lets people use framebuf for 2 color displays like the 8x8x2
matrix. It is a mostly mechanical port of the circuitpython GS2_HMSB
code.
2023-02-04 14:03:34 -05:00
Phil Sutherland
3db43b395f
Break too-long line 2022-12-02 18:30:43 +08:00
Phil Sutherland
3befa993e8
Fix pylint issues 2022-12-02 18:19:11 +08:00
Phil Sutherland
7090f0dbba
Perform some small optimizations 2022-12-02 17:37:22 +08:00
Phil Sutherland
ad9c752e75
Code blacked 2022-11-25 18:37:19 +08:00
Phil Sutherland
d3a74b3df2
WIP checkin - format improvements 2022-11-25 18:36:07 +08:00
Phil Sutherland
5b1b4f25a6
Initial working version of rgb565 format extension 2022-11-25 17:20:31 +08:00
Alec Delaney
18309e87e0 Update version string 2022-08-16 18:09:15 -04:00
dherrada
ae22f03f19 Linted 2021-11-05 17:03:55 -04:00
foamyguy
96cdadc1ef update authors 2021-01-18 18:11:20 -06:00
dherrada
0a1688b446 Ran pre-commit, added licenses 2021-01-14 11:23:23 -05:00
mdroberts1243
e821086460 Add logic to text() method
The text() method did not account for rotations when checking if a character could be rendered to the framebuf.

This change adjusts frame_width and frame_height checks taking rotation setting into account.

Tested working with SH1107 128 x 64 OLED Featherwing.
2020-09-18 20:23:08 -04:00
Melissa LeBlanc-Williams
f98d45ab42 Fixed handling tuple from the image function 2020-09-17 17:13:41 -06:00
Melissa LeBlanc-Williams
5f7b50b159 Added RGB888 support to image function 2020-09-10 11:12:14 -07:00
Melissa LeBlanc-Williams
a0d51a4161 Merge branch 'master' of https://github.com/adafruit/Adafruit_CircuitPython_framebuf 2020-09-10 09:59:39 -07:00
Melissa LeBlanc-Williams
3a2873b264 Text optimizations 2020-09-10 09:58:16 -07:00
Melissa LeBlanc-Williams
28168a5686 Added RGB888 support 2020-09-10 09:52:17 -07:00
Jason Harper
9e38772fa0 Fix image function when display rotated 90 or 270 degrees 2020-09-07 13:46:54 -07:00
Nick Martinez
bf19811a05 Add font_name to BitmapFont call for custom fonts 2020-05-15 14:08:14 -07:00
dherrada
6b924a0da9 Ran black, updated to pylint 2.x 2020-03-16 15:37:22 -04:00
caternuson
8a4236fe6b catch small int overflow 2019-11-02 22:02:17 -07:00
boo 13
cede4f47ad Shorten comment line length 2019-10-22 14:59:02 -04:00
boo 13
c9d695e1f8 Add ability to draw circle 2019-10-22 13:43:28 -04:00
siddacious
f9264dd2f1
Merge pull request #23 from dherrada/master
Made #14 pass
2019-10-20 17:16:07 -07:00
dherrada
28cd1c2158 Moved pylint disabl to end of def line 2019-10-20 20:05:55 -04:00
dherrada
23167c3d11 Not sure why, but this fixed the sphinx issue 2019-10-20 19:17:43 -04:00
Carter Nelson
b7c793787a add font file check 2019-08-13 23:20:47 +01:00
ladyada
cd1c6be81a try lint again! 2019-03-31 00:40:18 -04:00
ladyada
2bc3144f7a linted 2019-03-31 00:10:26 -04:00
ladyada
1e31b86918 fix rectangle rotation 2019-03-30 23:27:23 -04:00
ladyada
8a17b6065e fix pixel rotaion 2019-03-30 21:14:09 -04:00
ladyada
8febfe8d4c todo: fix later to handle rotation 2019-03-30 21:14:09 -04:00
ladyada
389375c74f remove unsupported RGB, add rotation 2019-03-30 21:14:08 -04:00
TG-Techie
e7362323f3 last one? (jinxes it) 2019-02-25 20:11:00 -05:00
TG-Techie
986816b4a7 travis, are you out there? 2019-02-25 20:01:23 -05:00
TG-Techie
4d24cacdee try index 1 2019-02-25 19:44:08 -05:00
TG-Techie
9ac3fccfe8 line ending for travis? maybe? 2019-02-25 19:32:10 -05:00
TG-Techie
54886c13d3 combine text into one func 2019-02-25 19:06:12 -05:00
TG-Techie
c8e520653e adding text scaling 2019-02-25 18:44:24 -05:00
Pascal Deneaux
b2827a22c3
Update adafruit_framebuf.py
this indentation is driving me crazy.
2019-02-03 14:08:21 +01:00
Pascal Deneaux
efc7d0516c
Update adafruit_framebuf.py 2019-02-03 14:06:13 +01:00
Pascal Deneaux
a3aa5b6e1b
fixed bad-continuation
added 2 whitespaces
2019-02-03 13:57:44 +01:00
Pascal Deneaux
cad680a3e3
implemented scroll method to framebuf (2nd attempt)
pythonIZED the scroll method from modframebuf.c
b9ec6037ed/extmod/modframebuf.c (L513)
2019-02-03 13:51:06 +01:00