QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: krovit on November 11, 2020, 05:47:15 pm
-
Hello everyone!
it should be simple... but I can't do it: how do you fill the triangle with a color?
-
Don't use _RGB32 in legacy screen modes, use just _RGB(), which will find a color in the current palette that most closely matches your desired color.
In the change above, after drawing the triangle, I turn the drawing off (B) then (M)ove to a pixel inside the drawn triangle and (P)aint using that color until a border of the same color is found.
-
Thank you Fellippe,
i could have tried for a whole month and i wouldn't have solved anything...