[Gambas-user] rotating point

2009-06-25 Thread juelin
hi, I use Gambas 2.12 (at this version draw.rotate does not work) I want to rotate a market area (Top=207, Left=207, High=110, Width=110) in a drawingarea (High=512, Width=512) image1 = Drawingarea.Grab().Image image2 = image1.Copy(Top, Left, Width, High) from market area

[Gambas-user] graphic turn around

2009-06-22 Thread juelin
hi, how can I turn a graphic turn around? for example 90° or 180° I have a RECT, for example X/Y=100,100 to 200/200 and would turn it 90° left or rigth kind reagrds -- View this message in context: http://www.nabble.com/graphic-turn-around-tp24142944p24142944.html Sent from the gambas-user

[Gambas-user] rotate a line

2009-06-22 Thread juelin
hi, I have some problems with rotate. In a drawingarea I draw a line (100,100 to 300,100). Then I load the graphic into an image (90,90 to 310,110). I rotate the image with image.rotate(90) and show the image into drawingarea with draw.image(image,90,90). But the graphic is anywhere on screen

[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

[Gambas-user] a function in shared library call another function in another shared library

2009-05-20 Thread juelin
I have two shared library at my gambas program. The shared library (libftd2xx) works well. But when I call the fuction OpenDevice from sharedlibrary liblumax I got returncode 127. Curse the function OpenDevice from liblumax call the funsction SETVIDPID from libftd2xx. My gambas program

[Gambas-user] shared library in Gambas

2009-05-19 Thread juelin
hello, I have two shared linraries (ftd2xx, lumax). the first shared libray (ftd2xx) work well. But when I call a function from second shared library (lumax) I get an error-message: program returns the value 127 When I use the shared library lumax in C it works well, but in C I must compile with

[Gambas-user] define data-variable as record

2009-04-25 Thread juelin
hello, it is possible to define a record into gambas? thats mean a variable with different datatypes for example: type recorda as record a as intger b as string c[99] as float endtype dim variablename as recorda kind regards Jürgen -- View this message in context:

[Gambas-user] get color from drawingarea point

2009-04-22 Thread juelin
hi, I need to get the color of point into drawingaera. I use c = DrawingArea1.Grab().Image[x, y] This works well, but for a Area of 512 x 512 points it needs more than 10 minutes How can I accelerate this function? kind regards Jürgen -- View this message in context:

[Gambas-user] change cursor design

2009-04-22 Thread juelin
hello, how can I chnage the cursor-design when the cursor go into a drawingarea? please example kind regards Jürgen -- View this message in context: http://www.nabble.com/change-cursor-design-tp23174254p23174254.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] open office text document

2009-04-15 Thread juelin
the time or inclination to do so becuase I am just as happy with the HTML. JB SKaggs juelin wrote: hello, how can I show an open office text document (odt) into gambas textarea or some object like this? the document include pictures. the object embeded is not possible, while

[Gambas-user] open office text document

2009-04-14 Thread juelin
hello, how can I show an open office text document (odt) into gambas textarea or some object like this? the document include pictures. the object embeded is not possible, while the user do not change the document and the document is not open with open office. kind regards Jürgen -- View this

[Gambas-user] working with many formulares

2009-04-08 Thread juelin
hi, I'm new at Gambas. I'm writting an application with many windows (formulares). I create two formulares at my application. the first formular work's. 1. When I push a button in formular1 I want change to formular 2. What must I do? 2. when the work is done in formular2 I want go back to

[Gambas-user] shared librarry into gambas

2009-04-08 Thread juelin
hi, I'm new at Gambas. I'm writting an application for Laser. So I need to use the function from a shared librarry into gambas (libFTD2XX.so at /usr/lib). I'm using SuSE Open Linux 11.1 kernel 2.6 How can I fix the problem. Can anybody help with example please. Thank you and kind regards Jürgen