I have pictureBox as canavas for displayg output of vga cam

2011/4/10 Benoît Minisini <[email protected]>

> > but it not worki'n
> >
> > I solve that with copy pictrure to separate variable, rotate it by
> property
> > rotate() and after that bring it back...
> >
> > this code
> >
> >   DIM mypic AS image
> >   mypic = PictureBox1.Picture.Image
> >   mypic = mypic.Rotate(Rad(95))
> >
> >   PictureBox1.Picture = mypic.Picture
> >
> > but this is very slow solution. Any idea how to make it faster ?
> >
> >
>
> Don't use a Picture box. Draw you rotated picture from the "Draw" event of
> a
> DrawingArea.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to