Paint 2 (for coloring) - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Prolific Programmers (https://staging.qb64phoenix.com/forumdisplay.php?fid=26) +---- Forum: Petr (https://staging.qb64phoenix.com/forumdisplay.php?fid=52) +---- Thread: Paint 2 (for coloring) (/showthread.php?tid=1507) |
Paint 2 (for coloring) - Petr - 02-26-2023 As you know, if you need to color an object, for example a rectangle, but it have its borders not colored with the same color, you cannot use the Paint statement because the color will spread everywhere. This version solves this and with this program you can color solids even though they have different colored borders. This problem is solved using mask image, this version is just for 32 bit images. Code: (Select All) Screen _NewImage(1024, 768, 32) RE: Paint 2 (for coloring) - bplus - 02-26-2023 Yep! That's a nice one for my tool box, thanks! |