Stanislau Tsitsianok
5830a641cc
Added more tests
2020-06-29 23:31:04 +03:00
Stanislau Tsitsianok
9a9d3a050a
Fixed tests
2020-06-29 22:49:11 +03:00
Stanislau Tsitsianok
96f69eb287
Replaced drawing algorithm for arcs, chords and pies
2020-06-29 17:21:53 +03:00
Stanislau Tsitsianok
27109c9011
Merge remote-tracking branch 'upstream/master' into ellipse
2020-06-16 20:20:44 +03:00
Stanislau Tsitsianok
70aea26781
Added core clipping tools for ellipses
2020-06-16 20:20:29 +03:00
Andrew Murray
eeb9e719e3
Fixed drawing a 1px high polygon
2020-06-07 12:07:13 +10:00
Andrew Murray
3a75e843f4
Added braces
2020-05-11 07:46:12 +10:00
Andrew Murray
c1d9931adc
Added braces
2020-05-10 19:56:36 +10:00
Stanislau T
68f87e14ca
Fix grammar
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-04-06 22:01:42 +10:00
Stanislau Tsitsianok
8aa2386c77
added stdint.h for MSVC builds
2020-04-06 22:01:42 +10:00
Stanislau Tsitsianok
a491ed6889
fixed failing tests
2020-04-06 22:01:42 +10:00
Stanislau Tsitsianok
e5ac436a51
implemented another ellipse drawing algorithm
2020-04-06 22:01:42 +10:00
Hugo van Kemenade
c57e4b3a85
Merge pull request #4333 from radarhere/polygon
...
Only draw each polygon pixel once
2020-02-15 11:57:14 +02:00
Andrew Murray
d24e4f44c1
Fixed typo
2020-01-09 20:00:32 +11:00
Andrew Murray
8e8f63d4a5
Only draw each polygon pixel once
2020-01-05 17:43:51 +11:00
Andrew Murray
8fff9a2444
Fixed arc drawing bug for a non-whole number of degrees
2019-08-12 06:50:58 +10:00
Andrew Murray
8fd1ed9b73
Added explicit braces
2019-07-01 22:07:45 +10:00
Hugo
555e305a60
Merge pull request #3225 from DerDakon/unaligned-access
...
Use explicit memcpy() to avoid unaligned memory accesses
2019-07-01 08:22:18 +03:00
Rolf Eike Beer
220bfee19a
replace copy operations with memcpy()
...
This replaces trivial instances where a copy from one pointer to the other
involves no further calculations or casts. The compiler will optimize this to
whatever the platform offers.
2019-06-29 19:30:24 +02:00
Andrew Murray
e0cbfb2708
Consider I;16 pixel size when drawing
2019-06-23 07:33:55 +10:00
Andrew Murray
d30264ec5d
Fixed warnings that variable may be uninitialized
2019-05-09 12:24:27 +10:00
Andrew Murray
21c7fd251c
Fixed arc gaps
2019-05-03 23:37:37 +10:00
Andrew Murray
d6d61b35dc
Only draw pieslice's inner lines once
2018-09-29 21:45:37 +10:00
Andrew Murray
558e70d8cd
Removed less than condition
2018-09-09 13:57:01 +10:00
Hugo
fbe5bdb6b6
Also apply width to pieslice's inner lines
2018-09-01 14:40:36 +03:00
Hugo
f70f952f85
Merge branch 'master' into add-width-to-shapes
2018-07-14 14:58:48 +03:00
Andrew Murray
448beaa9aa
Improved wording [ci skip]
2018-07-12 19:48:59 +10:00
Hugo
d6e3ef85c2
Add width parameter to arc, chord, ellipse, pieslice
2018-07-02 11:26:42 +03:00
Hugo
9dedbff713
Add width parameter to rectangle
2018-07-02 11:21:30 +03:00
Andrew Murray
8d8d00f304
Changed ellipse point calculations to be more evenly distributed
2018-05-27 15:32:22 +10:00
Jon Dufresne
b56fe11086
Remove unnecessary #if 1
directive
...
The preprocessor directive `#if 1` always evaluates as true, so the
enclosed code is always compiled.
The directive has existed since the original fork from PIL,
9a640e3157
.
2018-04-04 05:30:05 -07:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00