Reworked Signed Distance Field for shaped fill

Based on http://www.codersnotes.com/notes/signed-distance-fields/
by Richard Mitton
This commit is contained in:
Bill Kendrick 2023-02-25 15:57:18 -08:00
parent e5a817e1cd
commit ecab00d4a9
3 changed files with 197 additions and 68 deletions

View file

@ -6,7 +6,7 @@ Copyright (c) 2002-2023
Various contributors (see below, and CHANGES.txt)
https://tuxpaint.org/
June 17, 2002 - February 22, 2023
June 17, 2002 - February 25, 2023
* Design and Coding:
@ -18,6 +18,10 @@ June 17, 2002 - February 22, 2023
http://www.wikipedia.org/wiki/Flood_fill/C_example
by Damian Yerrick - http://www.wikipedia.org/wiki/Damian_Yerrick
Shaped fill (Signed Distance Field routine) based on
http://www.codersnotes.com/notes/signed-distance-fields/
by Richard Mitton
800x600 resolution support patch by:
TOYAMA Shin-ichi <dolphin6k@wmail.plala.or.jp>

View file

@ -7,7 +7,7 @@ Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/
2023.February.24 (0.9.29)
2023.February.25 (0.9.29)
* Improvements to "Stamp" tool:
-----------------------------
* Stamps may now be rotated.
@ -78,8 +78,8 @@ https://tuxpaint.org/
* [WIP] Shaped fill tool (similar to radial gradient, but
follows the shape of the object).
Bill Kendrick <bill@newbreedsofware.com>
(Based on https://github.com/mattdesl/image-sdf
by Matt DesLauriers (https://www.mattdesl.com/), MIT License)
(Based on http://www.codersnotes.com/notes/signed-distance-fields/
by Richard Mitton)
* New Starter
-----------