Adding sub-tool support to Fill tool
Currently only one sub-tool (Solid) shown, as no code for new tools has been added yet. (Plans for linear & radial gradients.)
This commit is contained in:
parent
485723d0e4
commit
c63b86c8fa
138 changed files with 10230 additions and 7816 deletions
|
|
@ -27,12 +27,17 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
Last updated: September 14, 2019
|
||||
Last updated: February 20, 2021
|
||||
$Id$
|
||||
*/
|
||||
|
||||
#ifndef FILL_H
|
||||
#define FILL_H
|
||||
|
||||
#include "SDL.h"
|
||||
|
||||
int would_flood_fill(SDL_Surface * canvas, Uint32 cur_colr, Uint32 old_colr);
|
||||
void do_flood_fill(SDL_Surface * canvas, int x, int y, Uint32 cur_colr, Uint32 old_colr, int * x1, int * y1, int * x2, int * y2);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue