Drawing rectangles, sectors, variable shapes

Questions and answers on developing, deploying and using plugins and JavaBeans

Drawing rectangles, sectors, variable shapes

Postby Robert Huber » Mon May 29, 2006 5:59 pm

Hi All

I have GIS data (let's say to be simple longitude/latitude) and would like to draw airspace info (see attached file) which in the simplest form is a rectangle, but can be composed of lines, sector parts or can be a circle.
Is there a bean in Servoy which I could try to accomplish that?

Are there examples out there?

Best regards, Robert
Attachments
Picture 10.png
I like to draw the lines surrounding the (altitude) numbers, e. g. 2000, 2900, 4600
Picture 10.png (261.2 KiB) Viewed 3851 times
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Postby cybersack » Wed May 31, 2006 1:27 am

Hi Robert.

I am about to release R1.2.9 of my software which contains beans for image, browser and ole.
I am also working on a DrawBean for R1.2.10 which will be released about 1 week thereafter.
As soon as I have a stable beta-level bean, I will send you a link to download. I have been contacted by some other developers who are looking for something in this area as well (hence the driving force to build one).
If anyone else is interested, please post back.

cheers
J
User avatar
cybersack
 
Posts: 302
Joined: Sun Jan 02, 2005 1:17 am

Postby Robert Huber » Sun Jun 04, 2006 2:10 pm

Hi J...

Thanks for the reply. Yes I am interested in such a bean and are looking forward to hear from you.

Best regards, Robert

cybersack wrote:Hi Robert.

I am about to release R1.2.9 of my software which contains beans for image, browser and ole.
I am also working on a DrawBean for R1.2.10 which will be released about 1 week thereafter.
As soon as I have a stable beta-level bean, I will send you a link to download. I have been contacted by some other developers who are looking for something in this area as well (hence the driving force to build one).
If anyone else is interested, please post back.

cheers
J
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Postby fdoddridge » Sat Jul 01, 2006 2:46 am

Is there a bean in Servoy which I could try to accomplish that?


You mean something like this?

It's just a simple little app I'd written one day that I converted to work with Servoy. Enjoy.
Attachments
DrawingBean.jar
Simple drawing bean
(382.18 KiB) Downloaded 253 times
fdoddridge
 
Posts: 64
Joined: Mon Jul 18, 2005 4:30 pm
Location: SLC, UT

Postby fdoddridge » Sat Jul 01, 2006 7:39 am

I guess I could publish a demo solution too.
Attachments
DrawingDemo.servoy
Sample works of art... so good they belong in a museum :)
(1.63 MiB) Downloaded 248 times
fdoddridge
 
Posts: 64
Joined: Mon Jul 18, 2005 4:30 pm
Location: SLC, UT

Postby Westy » Mon Jul 03, 2006 2:25 pm

Very nice! Even supports multiple undos.

Dean
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Postby Riccardino » Mon Jul 03, 2006 2:41 pm

fdoddridge wrote:
Is there a bean in Servoy which I could try to accomplish that?


You mean something like this?

It's just a simple little app I'd written one day that I converted to work with Servoy. Enjoy.


Hei: really nice. Do you think you can also put a text tool in it?

And, most important, are you planning to sell it?
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby fdoddridge » Mon Jul 03, 2006 10:42 pm

Thanks Ric and Dean.

Do you think you can also put a text tool in it?


Yeah, when I wrote it a while ago I'd started on a text tool but haven't gotten around to finishing it. It started as just a little project to prove it could be done... I'd originally envisioned turning it into kind of a photoshop-ish platform for experimenting with different graphics techniques in Java. I suppose I'll revisit it again someday.

The record-aware behavior was something I'd toyed around with on the calendar bean I did but never seemed to get it right.

And, most important, are you planning to sell it?


To be honest I'm not really sure what to do with the bean. Would I like to make some money? of course... but selling it implies supporting it and making endless feature upgrades, etc. which all take time. Time unfortunately is something woefully lacking in my life (except on lovely holidays like this :) ) so even thinking about taking on that commitment makes my brain tired.

I suppose I have a few options: open source it, sell it as-is, or sell the source code and IP to someone else to upgrade and support it. In the interest of making it somewhat worth my time to write these fun little apps I'd be partial to the latter two... any takers? PM for more info.
fdoddridge
 
Posts: 64
Joined: Mon Jul 18, 2005 4:30 pm
Location: SLC, UT


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 8 guests