Okay... making a "scratchpad" app. Got most of the code from LazPlanet
However, I am adding more features.
Yes, I am drawing Rect, Oval, Triangle with NO FILL
See screenshot
Red squares and numbering mark my reference.
If #1 (a checkbox) is checked, then draw fill, if unchecked NO FILL
No #2 shows a circle with a white fill. I want that to be NO Fill
So, the code I provided above earlier specifies clNone
CODE:
paintbmp.Canvas.Brush.Color := clNone;
paintbmp.Canvas.FloodFill(X, Y, clNone, fsSurface);
I ALSO TRIED: (but still paints white)
paintbmp.Canvas.Brush.Style:=bsClear;
MyCanvas.Canvas.Brush.Style:=bsClear;
However, as LAINZ mentioned, I may not be using the right BGRA Canvas control.
I am looking into it now
But here is the screen
You should get the idea.
I don't want a white fill, but I want none, so the square underneath shows through.