Hugo van Kemenade
38931c1e47
Merge pull request #6278 from radarhere/polygon
...
Fixed drawing translucent 1px high polygons
2022-06-04 09:34:37 +03:00
Andrew Murray
62c7ee0f00
Only try to connect discontiguous corners at the end of edges
2022-05-16 22:31:49 +10:00
Andrew Murray
c824ab048f
Fixed drawing translucent 1px high polygons
2022-05-06 22:35:26 +10:00
Andrew Murray
b894c8c73d
Connected discontiguous polygon corners
2022-01-21 11:55:59 +11:00
Andrew Murray
4222605442
Fixed freeing pointer
2021-12-27 13:39:37 +11:00
Andrew Murray
90a52d3c0d
Added width argument to polygon
2021-11-16 22:02:54 +11:00
Andrew Murray
ca15c684ea
Only prevent repeated polygon pixels when drawing with transparency
2021-11-15 23:28:29 +11:00
Hugo van Kemenade
f3db65db09
Merge pull request #5347 from radarhere/edge
2021-06-28 17:17:17 +03:00
Stanislau Tsitsianok
0c9ffcfa14
Fixed #5432
2021-05-02 17:12:07 +03:00
Andrew Murray
5491bd5eda
Merge parallel horizontal edges in ImagingDrawPolygon
2021-04-11 12:41:32 +10:00
Andrew Murray
c0ee869c2c
Only draw each rectangle outline pixel once
2021-02-22 07:48:58 +11:00
Andrew Murray
46b7e86bab
Format with ClangFormat
2021-01-03 14:17:51 +11:00
Andrew Murray
26e5929617
Fixed comparison between int and unsigned long
2020-12-22 16:06:44 +11:00
Stanislau T
17d83d6a7c
Fix comment grammar
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-09-11 19:51:57 +03:00
Stanislau Tsitsianok
88651c334f
Try to fix CI
2020-06-29 23:58:58 +03:00
Stanislau Tsitsianok
7dedb1402f
Merge remote-tracking branch 'upstream/master' into ellipse
2020-06-29 23:31:25 +03:00
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
Andrew Murray
c1fe0b4e0c
Use hypot function
2020-06-23 19:17:00 +10: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