FloodFill to Printer Cash $
Posted on 1997-07-19
Answer this one and I'll pay cash ! True.
I can't get FloodFill API call to work to fill an area on the Printer object. It works properly when filling the screen but not to the printer.
The following code does not work.
Printer.ScaleMode = 3 'MUST DRAW IN PIXELS
Printer.FillStyle = 0 'Set FillStyle to solid.
Printer.FillColor = wallColour 'Set FillColor.
FloodFill Printer.hDC, Printer.CurrentX, Printer.CurrentY, 0
I have tried it with numerous printers and drivers.
The point set at CurrentX CurrentY is not 0 ie Black
But the area is bounded by black line.
wallColour is not black.