On Mon, Sep 12, 2016 at 11:56:05AM +0200, Nicolai Hess wrote:
During debugging the Athens-Crash I found something strange about TRCanvas (not responsible for the crash)
- TRCanvas canvas instance variable is not a AthensCairoCanvas at all but
an AthensCairoSurface 2. the canvas resp. surface is initialized with TRCanvas initial extent but a change on TRCanvas extent does not change the surfaces extent 3. Is this canvas resp. surface actually used ? Do we only need it to manage some external resources (path/ image forms) ?
the surface is recreated when the extent has changed (in TRMorph), plus for some reason it is always initialized twice (presumably by accident), so I think some fixes are needed there.
Peter