Joel Bodenmann
9c0678a291
Avoid duplicate const specifier compiler warnings
...
The original code is perfectly valid standard C. However, some compilers (especially GCC) complain about duplicate const specifiers anyway.
At this point we cave in as there doesn't seem to be any efforts to fix this problem by the corresponding compiler vendors.
uGFX v3 will no longer suffer from this problem as the driver interface works differently in this area.
2021-08-12 12:20:07 +02:00
inmarket
7c5a6c928f
For all source files update integer types to the new gI8 etc type names
2018-11-03 10:51:23 +10:00
Tibo Clausen
0840c8e784
Update license header
2018-10-01 17:34:15 +02:00
inmarket
e61f0ae424
Added type gOrientation to replace V2.x orientation_t, and values gOrientationX replace GDISP_ROTATE_X
2018-07-08 13:51:20 +10:00
inmarket
d9258efd4d
Added macros JUSTIFYMASK_HORIZONTAL, JUSTIFYMASK_VERTICAL to replace macros JUSTIFYMASK_LEFTRIGHT, JUSTIFYMASK_TOPBOTTOM
2018-07-08 13:25:20 +10:00
inmarket
cbf1d4dfa0
Added type gFont to replace V2.x font_t
2018-07-08 13:05:27 +10:00
inmarket
a24fab0d72
Added type gFontmetric to replace V2.x fontmetric_t, and values gFontXXX replace fontXXX
2018-07-08 12:50:05 +10:00
inmarket
2e8eaa3471
Added type gJustify to replace V2.x justify_t, and values gJustifyXXX replace justifyXXX
2018-07-08 12:19:30 +10:00
inmarket
bda8c738b1
Added type gPowermode to replace V2.x powermode_t, and values gPowerXXX replace powerXXX
2018-07-08 11:47:36 +10:00
inmarket
f9c848e985
Change color_t to gColor
2018-07-08 11:19:43 +10:00
inmarket
cfb1b2a488
Change pixel_t to gPixel
2018-07-08 11:08:55 +10:00
inmarket
2ab2d77fcb
Change coord_t to gCoord
2018-07-08 10:54:19 +10:00
inmarket
7e95acb731
Change point and point_t to gPoint
2018-07-08 10:43:30 +10:00
inmarket
e8b789bfb1
Fix some missing gBool conversions
2018-07-08 10:05:34 +10:00
inmarket
41271d632b
Added new type definitions - moving towards V3.0
2018-06-23 13:02:07 +10:00
inmarket
94f1cc2f0a
Change new colors to GFX_RED instead of GFXRED. Use the new color defs
2018-03-10 20:36:12 +10:00
inmarket
f265924396
First set of V3 macro changes
2018-02-27 17:44:21 +10:00
inmarket
87ec4b7c77
Bug fix for drawing boxes of size 3x3 pixels
2017-11-07 17:47:55 +10:00
inmarket
2a249e6140
Update to hacked alpha support - now uses pre-multiplied color blending algorithm
2017-10-10 09:21:06 +10:00
inmarket
f9be386e52
Add alpha blending support
2017-10-02 16:47:18 +10:00
inmarket
5c84885995
Improve handling of streaming drivers with a setpos and a fillarea acceleration
2017-06-24 10:08:59 +10:00
Joel Bodenmann
64a8f8dde1
Fixing clipping issue with gdispGDrawString()
2017-05-24 10:52:44 +02:00
inmarket
d8c9ca184f
Fix font baseline_x problem, decrease word-wrap stack usage, add text justification options
2017-03-11 14:39:53 +10:00
inmarket
b90055d2f9
Fixed extra dots when drawing anti-aliased fonts with wordwrap
2017-01-20 08:04:03 +10:00
Corentin Barman
0b4b99163b
Fixed drawThickArc function
2016-12-11 15:46:55 +01:00
Corentin Barman
2bcb2155ca
Added a function to draw thick arcs
2016-11-27 19:06:53 +01:00
Corentin Barman
2823c3605a
Fixed and improved the get_normal_vector function
2016-11-12 16:45:51 +01:00
Corentin Barman
ff65d4f220
Fixing bug in gdispGFillConvexPoly
2016-11-09 19:22:06 +01:00
inmarket
545a719db9
New dual circle drawing in GDISP
2016-11-09 16:41:44 +10:00
inmarket
b3ba618c2a
Add protection for a font not being supplied.
2016-10-01 18:54:18 +10:00
inmarket
e3a0cff000
Fix 3 bugs in filled arc drawing...
...
1. Certain small angles would fill the inverse angle
2. Certain angles would draw a spurios horizontal line
3. Integer rounding improvements (now also improved for arc drawing)
2016-10-01 18:15:05 +10:00
inmarket
02dbca0454
(void)var statements must come after any variable definitions in strict c
2016-08-13 11:46:32 +10:00
Joel Bodenmann
b9b555eae2
Fixing possible crash when GDISP_NEED_TEXT_WORDWRAP is enabled.
2016-08-13 00:49:19 +02:00
Joel Bodenmann
9bd3dd6ce8
Fix clipping of gdispGFillString()
2016-07-13 12:54:13 +02:00
Martijn Stommels
ff6d26c70f
Fix clipping of gdispGDrawString.
2016-07-11 13:26:27 +02:00
Joel Bodenmann
02e793e5db
using GFX_PI internally to avoid issues with M_PI
2015-11-28 23:41:24 +01:00
inmarket
c5a86757bd
Make all include paths in ugfx relative.
...
The only include path now needed is for drivers (in particular GDISP drivers)
2015-11-21 19:27:08 +10:00
Joel Bodenmann
14b5184d60
Fixing vertical center alignment issue when word-wrap is turned on
2015-11-14 19:42:58 +01:00
inmarket
1ed7559ef0
Handle antialiased font drawing when using word-wrap
2015-11-04 15:05:16 +10:00
Joel Bodenmann
615819441b
Fixing previously introduced bug in gdispDrawStringBox()
2015-11-02 12:25:24 +01:00
Joel Bodenmann
58f6e0452e
Fixing compiler warnings
2015-11-02 12:24:13 +01:00
Joel Bodenmann
2dcd3509c9
Fixing word-wrap
2015-11-02 09:26:32 +01:00
Joel Bodenmann
ee2b82271d
Adding word-wrap support for gdispDrawStringBox() and gdispFillStringBox()
...
Thanks to Koryagin Dmitry for this contribution
2015-10-30 15:37:55 +01:00
inmarket
48a9d334b7
Replace all inline definitions with GFXINLINE
2015-10-23 18:24:49 +10:00
Joel Bodenmann
fd7e047bf8
Moving INLINE macro to gfx.h main file as inlined functions are also used outside of gdisp.h
2015-10-20 20:00:45 +02:00
inmarket
53cb1af757
Add extra font metrics
2015-10-06 12:02:58 +10:00
inmarket
9d62e631cf
Allow a zero sized clipping region
2015-07-08 13:34:53 +10:00
inmarket
ccde54722f
Added ability to compile ugfx as a single file (excluding driver and board files).
...
Simply compile src/gfx_mk.c
2015-06-08 14:14:40 +10:00
inmarket
f44b1c6412
Small fix for scrolling
2015-04-07 23:18:32 +10:00
inmarket
39459872b2
Fix pixel error rounding in gdispDrawConvexPoly().
...
The corrects strange gwin arrow button appearances for certain sizes.
2015-02-14 10:38:24 +10:00