Board index » cppbuilder » Printer problems with Brush Hatch Styles
Peter Clarke
![]() CBuilder Developer |
Printer problems with Brush Hatch Styles2005-05-18 10:43:07 PM cppbuilder50 Hi everyone I have also posted this question on the nativeapi and vcl newsgroups as it seems to span all these areas. My application draws rectangles and other polygons which can be filled using the various standard hatch styles such as diagonal lines, cross, vertical lines etc. To set the hatch colours and styles, I use the Canvas->Brush->Color and Canvas->Brush->Style properties. All is fine when displayed on the monitor, but when printing, most printers draw the space between the hatch lines in black, I want the spaces left white or transparent. I thought this problem may be solved by playing with the background colour/style by using the Windows GDI functions SetBkColor() and SetBkStyle(), but nothing I do has any result. Can anyone help me get the printing right. Regards Peter |