DrawingArea help needed
Posted
#1
(In Topic #163)
Regular

How can I clear the drawingarea for a different form of chart.
drawingarea.clear doesn't do it and I can't see a paint method.
Also,is there a convenient way to print the drawingarea image to a printer?
Any advice would be appreciated
Posted
Guru

Have a look at ChartExample in the Gambas Farm, that uses a DrawingArea but no drawing is needed.
I'm not sure about printing yet!
Let us know how you get on.
Posted
Regular

Posted
Guru

Unfortunately it doesn't tell you how to print the contents of a DrawingArea.
Posted
Regular

Posted
Regular

With cairo you can even draw to PDF or SVG: /comp/gb.cairo - Gambas Documentation
Posted
Regular

I suggest this Wiki page of italian forum:cogier said
Unfortunately it doesn't tell you how to print the contents of a DrawingArea.
Stampare il contenuto di una DrawingArea - Gambas-it.org - Wikipedia
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

Posted
Regular

1 guest and 0 members have just viewed this.


