[Gambas-user] Cairo

Benoît Minisini gambas at ...1...
Mon Dec 16 16:04:29 CET 2013


Le 16/12/2013 15:45, Pino Zollo a écrit :
> More infos...
>
>      Draw.Rect(0, 0, Rap, Draw.h)   <-----  FScale.class line 111
> generates the error
>         Draw.Foreground = Color.Black
>       Draw.Line(Rap, 0, Rap, Draw.H)   <------ also this
>

I think this is related to the setting of the DrawingArea.Background 
property just before. If a drawing area is cached, you should not reset 
its background after having called Draw.Begin(), but before.

Regards,

-- 
Benoît Minisini




More information about the User mailing list