Page 1 of 1
Drawingarea print
Posted: Thursday 11th March 2021 3:59pm
by bill-lancaster
This may be a bit obvouse but is there a simple way of printing a drawing area?
Thanks
Re: Drawingarea print
Posted: Thursday 11th March 2021 6:19pm
by cogier
You can't just print what's on the screen, you will need to
Paint the details to the Printer. Have a look at the attached that draws in a DrawingArea and then to the printer. Note the differences in the routines. It should print your name on an A4 sheet.
Re: Drawingarea print
Posted: Friday 12th March 2021 8:34am
by bill-lancaster
Thanks Cogier, I was in too much of a rush and should have been more explicit.
So I draw a lot of detail in drawing area using the draw_event. Then draw the identical details in the print_event in order to print it.
It seems a bit inelegant. It there one process that will perform both operations?