[Gambas-user] Drawing again

javier romero cjro99 at ...67...
Thu May 25 00:01:20 CEST 2006


Hi, how i can install the patches?, I replace the original CDrawing.h and CDrawing.cpp in /gambas/src/lib/qt directory, its correct?, after that, I run my proyect, but width and height doesnt works, when i print width after draw the drawing sends me a 0.

Thanks
Javier

----------------------------------------
> From: gambas at ...1...
> To: gambas-user at lists.sourceforge.net
> Subject: Re: [Gambas-user] Drawing again
> Date: Wed, 24 May 2006 20:54:04 +0200
> 
> On Wednesday 24 May 2006 20:19, javier romero wrote:
> > I have this:
> >
> > dim pagina as drawing
> >
> > pagina = new drawing
> >
> > draw.begin(pagina)
> >   draw.text("RELACION DE CLIENTE", 10, 10)
> > draw.end
> >
> > print pagina.width
> > print pagina.height
> >
> > when print the width and height of the drawing "pagina" i obtain that:
> > 0
> > 0
> >
> > why the width and the height dont shows the actuals width and height after
> > drawing? I need this ou use this for the printer example for prints a
> > drawing in the printer and for escalable porpuses.
> >
> > I'm using gambas 1.0.15
> >
> > Thanks
> > Javier Romero
> 
> Can you try these patches?
> 
> Thanks in advance.
> 
> -- 
> Benoit Minisini

_________________________________________________________________
Descarga gratis la Barra de Herramientas de MSN
http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH



More information about the User mailing list