[Gambas-user] Drawing again

Benoit Minisini gambas at ...1...
Fri May 26 01:12:51 CEST 2006


On Friday 26 May 2006 00:19, javier romero wrote:
> Ok, now its works, but, in the printing drawing example, the "escaling"
> dont works, now i have the width and the height and when i try escaling it,
> dont works.
>
> in the example:
> draw.begin(printer)
>         draw.drawing(drw, (printer.width - DrawWidth) / 2, (printer.height
> - DrawHeight) / 2, DrawWidth, DrawHeigt) draw.end
>
> the content of the draw is printing very small
>
> when i draw into image object an then stretch this, the print fits the
> page, but is so slowly, and the others forms opens are redrawings, what i
> can do?
>
> Thanks
> Javier
>

At the moment, Gambas does not know how to scale drawings. The width and 
height parameters of Draw.Drawing() are just for clipping!

I will add some rotation/scale/translation support to the Draw class, and 
maybe change the meaning of the Draw.Drawing() parameters. But when? :-)

Regards,

-- 
Benoit Minisini





More information about the User mailing list