Re: [Gambas-user] DrawingArea error: Pending Path

2015-05-15 Thread Gian
Il 14/05/2015 22:37, Gian ha scritto: Il 14/05/2015 21:24, Gian ha scritto: Il 14/05/2015 14:54, Gian ha scritto: Hello all, In this attached small example that before it worked well now I get an error (Pending path) and do not understand why. Regards Gianluigi ---

Re: [Gambas-user] DrawingArea error: Pending Path

2015-05-14 Thread Gian
Il 14/05/2015 21:24, Gian ha scritto: > Il 14/05/2015 14:54, Gian ha scritto: >> Hello all, >> In this attached small example that before it worked well now I get an >> error (Pending path) and do not understand why. >> Regards >> Gianluigi >> >> >> -

Re: [Gambas-user] DrawingArea error: Pending Path

2015-05-14 Thread Gian
Il 14/05/2015 14:54, Gian ha scritto: Hello all, In this attached small example that before it worked well now I get an error (Pending path) and do not understand why. Regards Gianluigi -- One dashboard for servers and

[Gambas-user] DrawingArea error: Pending Path

2015-05-14 Thread Gian
Hello all, In this attached small example that before it worked well now I get an error (Pending path) and do not understand why. Regards Gianluigi TextRotate-0.0.1.tar.gz Description: application/gzip -- One dashboard

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-28 Thread Jussi Lahtinen
> Because you must to set explicitelly the background color. > > Picture =new picture(w,h,gb.transparent) > Ummm... no. There argument is boolean type for mask, and it doesn't change the issue. Even if you do it correctly; PictureBox1.Picture.Fill(Color.White) , it doesn't fix the limitation Beno

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-28 Thread Fabien Bodard
Because you must to set explicitelly the background color. Picture =new picture(w,h,gb.transparent) Le 28 août 2014 16:40, "Jussi Lahtinen" a écrit : > > > It seems picture of PictureBox doesn't like to be drew on. Not sure > why, > > > > The Picture property is NULL by default: it just owns a

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-28 Thread Jussi Lahtinen
> > It seems picture of PictureBox doesn't like to be drew on. Not sure why, > > The Picture property is NULL by default: it just owns a reference to a > Picture object you must create by yourself! > I noticed that and it wasn't the problem. This was the code I tried: PictureBox1.Picture = New Pi

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-28 Thread Benoît Minisini
Le 28/08/2014 13:55, Jussi Lahtinen a écrit : > It seems picture of PictureBox doesn't like to be drew on. Not sure why, The Picture property is NULL by default: it just owns a reference to a Picture object you must create by yourself! -- Benoît Minisini ---

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-28 Thread Jussi Lahtinen
It seems picture of PictureBox doesn't like to be drew on. Not sure why, but we have DrawingArea for that purpose... Anyway, here is proper way (this didn't work?): Dim tmp As New Picture(DrawingArea1.Width, DrawingArea1.Height) If Not bPrinter Then Draw.Begin(tmp) Draw.Clear mo

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-28 Thread abbat81
Hi Jussi, Draw.Begin(PictureBox1) -> Not a printable object Draw.Begin(PictureBox1.Picture) -> Null Object Any idea? Thanks for reply. -- View this message in context: http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47874.html Sent from the gambas-user mailing l

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread Jussi Lahtinen
I think just change this: 'Draw.Begin(DrawingArea1) Draw.Clear modCrBcode.PrintBarcode(txtBarcode.Text, Val(txtPosX.text), Val(txtPosY.text), Val(txtHeight.text), Val(txtWidth.text), True) 'Draw.End() To: Draw.Begin(PictureBox1) Draw.Clear modCrBcode.PrintBarcode(txtB

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread Tobias Boege
On Wed, 27 Aug 2014, abbat81 wrote: > Thank you Tobi, > > But I could not understand it. > > Can you tell what to add to BarCode Example to reprint drawingarea > image/picture to PictureBox1? > This example is really messy (e.g. it assumes the drawing device is large enough to contain the barco

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread abbat81
Thank you Tobi, But I could not understand it. Can you tell what to add to BarCode Example to reprint drawingarea image/picture to PictureBox1? Thaks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47854.html Sent fro

Re: [Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread Tobias Boege
On Wed, 27 Aug 2014, abbat81 wrote: > Hi, > > I tried to use BarCode Example to make a picture or image with barcode. > But I can't do it > > Can you help me? > >From all the questions which occur regularly on this list, I think this one is my favourite. Look at the archives: [0]. There is als

[Gambas-user] DrawingArea to Picture or Image

2014-08-27 Thread abbat81
Hi, I tried to use BarCode Example to make a picture or image with barcode. But I can't do it Can you help me? Thanks. Public Sub Button1_Click() Dim hPicture As New Picture(DrawingArea1.W, DrawingArea1.H) PictureBox1.Picture = hPicture End -- View this message in context: http://gam

Re: [Gambas-user] DrawingArea and Draw.RichText

2012-06-04 Thread Rolf-Werner Eilert
My mistake, I found that I forgot to convert something in the strings, now everything seems to be fine. Rolf Am 04.06.2012 16:14, schrieb Rolf-Werner Eilert: > Hi, > > In Gambas2 I'm drawing a RichText on a DrawingArea and I'm wondering why > it makes all line breaks but doesn't show any bold, i

[Gambas-user] DrawingArea and Draw.RichText

2012-06-04 Thread Rolf-Werner Eilert
Hi, In Gambas2 I'm drawing a RichText on a DrawingArea and I'm wondering why it makes all line breaks but doesn't show any bold, italics and stuff. My experimental text string has some words bold, italics and so on. When I show it in a TextLabel or a TextArea, no problem, everything appears as

Re: [Gambas-user] DrawingArea not drawn under qt4

2012-05-22 Thread Rolf-Werner Eilert
Am 22.05.2012 11:19, schrieb Benoît Minisini: > Le 22/05/2012 10:09, Rolf-Werner Eilert a écrit : >> Am 21.05.2012 13:25, schrieb Benoît Minisini: >>> Le 21/05/2012 08:39, Rolf-Werner Eilert a écrit : Last afternoon I downloaded and installed the latest trunk version of Gambas3 to see if

Re: [Gambas-user] DrawingArea not drawn under qt4

2012-05-22 Thread Benoît Minisini
Le 22/05/2012 10:09, Rolf-Werner Eilert a écrit : > Am 21.05.2012 13:25, schrieb Benoît Minisini: >> Le 21/05/2012 08:39, Rolf-Werner Eilert a écrit : >>> Last afternoon I downloaded and installed the latest trunk version of >>> Gambas3 to see if my qt4 DrawingArea problem has been solved. >>> >>>

Re: [Gambas-user] DrawingArea not drawn under qt4

2012-05-22 Thread Rolf-Werner Eilert
Am 21.05.2012 13:25, schrieb Benoît Minisini: Le 21/05/2012 08:39, Rolf-Werner Eilert a écrit : Last afternoon I downloaded and installed the latest trunk version of Gambas3 to see if my qt4 DrawingArea problem has been solved. It has not :-( I still don't see anything drawn on the DrawingArea

Re: [Gambas-user] DrawingArea not drawn under qt4

2012-05-21 Thread Benoît Minisini
Le 21/05/2012 08:39, Rolf-Werner Eilert a écrit : > Last afternoon I downloaded and installed the latest trunk version of > Gambas3 to see if my qt4 DrawingArea problem has been solved. > > It has not :-( I still don't see anything drawn on the DrawingArea when > under KDE4. > > So, this is why I a

[Gambas-user] DrawingArea not drawn under qt4

2012-05-20 Thread Rolf-Werner Eilert
Last afternoon I downloaded and installed the latest trunk version of Gambas3 to see if my qt4 DrawingArea problem has been solved. It has not :-( I still don't see anything drawn on the DrawingArea when under KDE4. So, this is why I ask everyone again: Does anyone here have any problems with

Re: [Gambas-user] drawingarea limits

2009-12-02 Thread Doriano Blengino
abdurrahman ulusoy ha scritto: > hi > i cant set drawing area width(or drawing area height) bigger then 32767 . > how can i set bigger then 32767. > It would be a very very bad idea to do that. An area of 32767x26000 pixels would take 2.5 gigabyte of ram (yes, I said 2555 megabyte), counting

Re: [Gambas-user] drawingarea limits

2009-12-02 Thread Benoît Minisini
> hi > i cant set drawing area width(or drawing area height) bigger then 32767 . > how can i set bigger then 32767. > I'm afraid that on X-Window width and height are 16-bits integer. So that limit... -- Benoît Minisini --

[Gambas-user] drawingarea limits

2009-12-02 Thread abdurrahman ulusoy
hi i cant set drawing area width(or drawing area height)  bigger then 32767 . how can i set bigger then  32767. ___ Yahoo! Türkiye açıldı! http://yahoo.com.tr İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!

Re: [Gambas-user] DrawingArea

2009-07-28 Thread nic
Is there a way I could define a symbol (I don't know how to do that) for the X,Y, and radius? That way my code could actively modify the circle while the programming is running. Thanks again! 2009/7/28 Benoît Minisini > > How do I draw a circle (any size, I will modify it) in a drawing area? > >

Re: [Gambas-user] DrawingArea

2009-07-28 Thread Benoît Minisini
> How do I draw a circle (any size, I will modify it) in a drawing area? in the DrawingArea Draw event handler: Draw.Circle(XCenter, YCenter, Radius) Regards, -- Benoît -- Let Crystal Reports handle the reporting - Fr

[Gambas-user] DrawingArea

2009-07-28 Thread nic
How do I draw a circle (any size, I will modify it) in a drawing area? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and foc

[Gambas-user] DrawingArea Help

2009-07-27 Thread nic
Hi! I'm wondering how to draw a small circle in the DrawingArea at a XY position of a certain picture box and have the circle shoot forward. Or, maybe forget the picture box and just have a bigger circle drawn and have the small circles shoot out of it while being able to control the big circle wit

[Gambas-user] drawingarea resize

2009-07-08 Thread abdurrahman ulusoy
hi when i  resize to drawingarea gambas console show me this error. X Error: BadAlloc (insufficient resources for operation) 11 Major opcode: 53 Minor opcode: 0 Resource id: 0x7c X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 70 Minor opcode: 0 Resource i

[Gambas-user] DrawingArea Problem

2009-06-01 Thread juelin
hello, I wrote a program where I drawing 2 lines and read the images. first I draw a first line from x=6 and y=6 to x=517 and y=517 then I call function read_pixel then I call funftion clear_area then I draw a second line x=6 and y=517 to x=517 and y=6 then I call function read_pixel But after tha

Re: [Gambas-user] drawingarea - clipping when saving to file

2009-05-17 Thread Björn Röder
Hello everyone! I found the solution for my problem. I use a Picturebox instead of a Drawingarea and synchronize it with the internal picture that I'm drawing to (as drawing device). It gives me the same functionality with only little more work. Regards, Björn Björn Röder schrieb: > Hello ever

[Gambas-user] drawingarea - clipping when saving to file

2009-05-11 Thread Björn Röder
Hello everyone! First of all, Gambas is a really great piece of software that I really enjoy to use. I am using it as my default programming language for practical laboratory tool development. Nevertheless I got stuck while programming a tool for simple image analysis and editing of scanned data.

Re: [Gambas-user] DrawingArea capabilities

2009-04-04 Thread jbskaggs
On every screen refresh the computer redraws the area. So you only need to change the x and y points of your picture being drawn. so something like : Mind you I only did the x coordinate you will have to do the y, and I also did a example with the right arrow key. public_sub drawingarea1_keypr

Re: [Gambas-user] DrawingArea capabilities

2009-04-04 Thread Jussi Lahtinen
Hi! It is possible but you need to do work to do it... AFAIK there is no method in drawingarea to know what different pictures are drawed into. So drawingarea handles only graphics, and you have to write engine to move them. Jussi On Sat, Apr 4, 2009 at 13:08, Tomas Eroles i Forner wrote: > Hi

[Gambas-user] DrawingArea capabilities

2009-04-04 Thread Tomas Eroles i Forner
Hi all Is there any way to draw mobile objects on a DrawingArea? That is, is it possible to draw something and after to move it with mouse? The idea is to draw things in a drawingarea? and when required, to move them using the mouse Thanks in advance --