Melissa LeBlanc-Williams
4a161f1e00
Merge branch 'master' of https://github.com/adafruit/Adafruit-GFX-Library
2019-06-12 14:00:37 -07:00
Melissa LeBlanc-Williams
60e0e6335f
Revert "Revert "Text magnification factor can be defined separately for X and for Y axis""
2019-06-12 13:53:17 -07:00
Melissa LeBlanc-Williams
988f73af04
Revert "Text magnification factor can be defined separately for X and for Y axis"
2019-06-12 13:47:08 -07:00
jonnieZG
098fa70aae
Fixed @param argument documentation
2019-06-12 22:11:21 +02:00
jonnieZG
022e8920cc
Text magnification factor can be defined separately for X and for Y axis level. It allows you to print "tall" or "wide" text.
2019-06-12 20:31:45 +02:00
Oleksandr Masliuchenko
7c26ed40f5
Fix indentation (tab vs spaces)
2019-06-07 09:21:25 +03:00
Oleksandr Masliuchenko
50c1a22d20
Re-apply warning fix patch
2019-06-07 09:09:30 +03:00
Phillip Burgess
b0dc94def7
Inline some of the trivial functions, add byteSwap() for GFXcanvas16
2019-05-29 20:33:31 -07:00
Calvin Hass
37ac3a5b52
Fix overflow in fillTriangle()
...
Addresses integer overflow fix identified by @prenticedavid in https://github.com/adafruit/Adafruit-GFX-Library/issues/218
2019-05-09 08:26:37 -07:00
Marc MERLIN
85023ccbaf
Fixed Height typo ( #214 )
2019-04-29 13:24:18 -04:00
Phillip Burgess
d81e3351f3
Fix some ESP8266 batshittery
2019-03-01 13:38:18 -08:00
Phillip Burgess
03cf2d917e
Round rects; limit radius to 1/2 minor axis
2018-11-26 13:41:26 -08:00
Phillip Burgess
0521944f9f
Fix fillCircleHelper for SSD1306 INVERT mode
...
Function would previously draw certain line segments repeatedly; minor performance drain on most displays, but especially problematic for SSD1306's INVERT drawing mode.
2018-11-08 15:01:27 -08:00
Limor "Ladyada" Fried
f379d7070c
Merge pull request #130 from vortigont/dev
...
Added String overload to getTextBounds() #90
2018-08-10 08:37:32 -07:00
Ville Karaila
675c972170
Added a cast to int_16 since height and width are uint_16s.
...
Note: Consider harmonizing types since uints might spill if someone
invents a 64k wide or high oled.. Jk. Changing h and w might be nice
tho, but keeping changes at minimum here.
2018-08-08 16:53:58 -07:00
Emil Muratov
15344e4ff9
Add doxygen for getTextBounds()
...
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2018-08-09 00:06:59 +03:00
Emil Muratov
05df41d963
Added String overload to getTextBounds() #90
2018-08-06 17:25:57 +03:00
ladyada
5614790a99
*falls over*
2018-07-14 15:21:57 -04:00
ladyada
df54898306
more doxy, add a travis
2018-07-14 14:24:10 -04:00
ladyada
ed59d3ea4a
more doxy
2018-07-14 13:05:06 -04:00
Phillip Burgess
07f8f65e40
Back off on the PROGMEM declarations; const is sufficient.
2017-05-09 15:35:44 -07:00
Phillip Burgess
7589ecaf0f
Extra-persnickety declarations in PROGMEM bitmap functions
2017-05-06 12:06:51 -07:00
Phillip Burgess
d0e78f9db1
Fixed text wrap & bounds issues, changed drawRGBBitmap PROGMEM behavior + added masking
2017-05-05 19:57:52 -07:00
Phillip Burgess
868d3ed67e
Add 8-bit canvas type, because reasons. Also some 1- and 16-bit canvas cleanup.
2017-05-04 22:06:09 -07:00
Paint Your Dragon
4b1a8a6850
Merge pull request #39 from marcmerlin/drawrgb
...
Added support for multicolor pixmaps in drawRGBBitmap.
2017-05-04 21:34:13 -07:00
Marc MERLIN
aad430de1b
Allow for drawing bitmaps in RAM (not in progmem).
2017-04-06 12:08:10 -07:00
Phillip Burgess
cb95e0307b
drawLine(): sort inputs on horizontal/vertical lines
...
C'mon guys, this is Graphics 101 stuff
2017-04-05 09:03:34 -07:00
ladyada
44568a85f2
Merge branch 'master' of github.com:adafruit/Adafruit-GFX-Library
...
Conflicts:
Adafruit_GFX.cpp
2017-03-17 20:44:20 -04:00
Phillip Burgess
b8f2200766
Handle larger button dimensions, add initButtonUL() for buttons w/upper-left coord
2017-03-07 10:24:06 -08:00
me-no-dev
4290f0b161
Implement transaction based drawing
...
With using transactions to draw, we save huge amount of time in pin
changing and SPI setup. This new model, together with the updated
ILI9341 lib give a much better performance.
2017-02-23 03:11:09 +02:00
Paint Your Dragon
2fced4b700
Merge pull request #71 from markwal/lastlinewidth
...
getTextBounds should consider the last line width
2016-08-23 15:16:40 -07:00
Phillip Burgess
c349ad5e4f
Improved(?) 32-bit CPU compatibility for fonts
2016-02-22 13:20:35 -08:00
Phillip Burgess
f5ec45e42b
adagfxswap() renamed and localized to .cpp file to avoid collisions
2016-01-26 10:37:56 -08:00
Mark Walker
39c2bb8173
getTextBounds counts the last line width too
...
In the default 5x7 font handling, the last line isn't considered when
determining the longest line. Also, for the same reason, when there is
only one line, getTextBounds returns 65535 as the width.
2016-01-04 16:50:49 -08:00
Mark Walker
0f2f32586b
ESP8266 has 32-bit pgm pointers
2016-01-02 01:22:44 -08:00
Phillip Burgess
a6a9359352
Further AVR bitmask tweaks, sorry about that
2015-12-28 13:52:26 -08:00
Phillip Burgess
9cb1ec4401
Bitmap fixes, initial canvas support
2015-12-28 10:58:40 -08:00
Phillip Burgess
fb9e169398
Manual merge of TheNotary's RAM-based bitmap functions.
2015-12-27 21:29:50 -08:00
Phillip Burgess
f2e454dcf4
Added pgm_read_word() def for non-AVR chips
2015-12-24 20:20:11 -08:00
Phillip Burgess
80b1bc48cb
Fonts FONTS fonts! 1.1 release
2015-12-22 12:02:47 -08:00
ladyada
793879809e
parenz
2015-12-19 23:01:41 -05:00
ladyada
944f3d9d9f
ok its a hack to make esp8266 happier but it works! swap() already exists in the tensilica codebase
2015-11-24 00:06:48 -05:00
driverblock
0acee33cfe
Fix bug in Adafruit_GFX_Button::contains
2015-07-29 11:22:52 -04:00
Phillip Burgess
7628b4744a
Update to support ESP8266
2015-06-26 20:42:34 -07:00
Phillip Burgess
ea4c4c5596
cp437() workaround for Code Page 437 missing symbol bug
...
‘Wrong’ behavior is default, so old code will continue to work. New
code can call cp437() after initializing the display to use correct
symbol numbers for upper ASCII characters.
2015-06-17 00:37:36 -07:00
Paint Your Dragon
b03b3fcd90
Merge pull request #45 from Mokolea/getCursor
...
Get current cursor position
2015-06-12 21:34:40 -07:00
ladyada
734b107c39
Add UI Button element
2015-05-20 13:55:54 -04:00
Mario Ban
7a3f84e966
Get current cursor position
2015-04-25 19:22:29 +02:00
Marc MERLIN
b11992a9fd
Need to use pgm_read_word to read 2 byte colors.
2015-01-12 01:31:26 -08:00
Marc MERLIN
2261b1e46c
Added support for multicolor pixmaps in drawRGBBitmap.
2015-01-04 13:55:42 -08:00