Printer.Canvas.FloodFill does not work.

Printer.Canvas.FloodFill does not work.

Post by Big A » Wed, 04 Nov 1998 04:00:00



I have a color printer that I want to do a floodfill of some odd shapes. It
does not work for me.

Is there some trick to do this?

--

(To reply change Intelli-Dent to IntelliDent in my email address.)

 
 
 

Printer.Canvas.FloodFill does not work.

Post by Joe C. Hech » Wed, 04 Nov 1998 04:00:00



> I have a color printer that I want to do a floodfill of some odd shapes. It
> does not work for me.

> Is there some trick to do this?

Yes. Don't try to do a floodfill on a high res device. Use a polygon
instead.

Joe
--
Joe C. Hecht

(850) 689-0877 121 Louise Dr. Crestview, FL 32536
http://home1.gte.net/joehecht/index.htm

 
 
 

1. Floodfill doesn't work on Printer.Canvas

I want to use Printer.Canvas.Floodfill but it seems that when I want do
this the Rectangle isn't drawn to the Printer.Canvas yet.
Any suggestions?? Do I need to update the Printer.Canvas before using
floodfill? How do I do this?

Printer.BeginDoc;
Printer.Canvas.Brush.Color := clWhite;
Printer.Canvas.Pen.Color := ClBlack;
Printer.Canvas.Pen.Width := 10;
Printer.Canvas.Rectangle(100, 100, 300, 300);
Printer.Canvas.Brush.Color := clRed;
Printer.Canvas.FloodFill(200, 200, ClWhite, fsSurface);
Printer.EndDoc;

I use delphi 3
--
Peter Van der Voort
Bits & Pieces

2. Metagraphics file format and conversion

3. FloodFill does not work with TPrinter.Canvas!

4. DXF to wire-model OR wire-model editor

5. printer.canvas.rectangle not working on NT

6. tool to create wavefront object files from data points

7. FloodFill in Printer()->Canvas

8. about 88x31 butttons

9. Using floodfill on the printer canvas

10. Printer Canvas and FloodFill

11. FillRect doesn't work at Printer()->Canvas

12. Canvas Rectangle not working

13. Seperations not working right, need help PM6/Win95/ Epson 600 printer