Commit graph

4 commits

Author SHA1 Message Date
Bill Kendrick
72914158dd Rocks template: bottom gravity 2023-02-12 10:50:26 -08:00
Bill Kendrick
03c57cc721 More WIP starter/template scaling
Need to actually scale, if we have no background.
2023-02-10 02:08:14 -08:00
Bill Kendrick
9b93805ef6 [WIP] Starter/Template scale/smear/bkgd color options
Now possible to set scaling and smearing options for
each starter or template image.  A ".dat" file can be
created which describes whether it's okay to scale and crop
the image's top/bottom and/or left/right, and if not both,
whether to smear the sides of the starter/template to the
edges of the canvas (the prior behavior, and the default),
or use a specific solid color background.

Once finished, will close
https://sourceforge.net/p/tuxpaint/feature-requests/190/

Still to do:
 + Document
 + Remove debugging printf()s (change to DEBUG_PRINTF()?)
 + Add files for starters & templates that ship with Tux Paint
 + Test!
2023-02-10 01:58:49 -08:00
William Kendrick
5a5dffa290 Adding a number of example templates. 2014-01-04 09:15:35 +00:00