Re: Question about PNGs in a new shape set

2005-04-20 Thread anthonym
So I went and cleaned up the icons, try out http://ffem.org/~anthonym/dia/BPMN-0.5.0.tar.gz I'm going to go ahead and start the migration of these into the dia shapes and sheets directories. I know that Alan suggested a Business directory, but I think that the BPMN needs to be in

Re: Question about PNGs in a new shape set

2005-04-14 Thread anthonym
e I found this screenshot of BPMN > http://www.bpmn.org/Samples/ebXML_Business_Process/ebXML%20Example.jpg Okay, I did a quick sample of http://www.bpmn.org/Samples/Chip%20Design.GIF and you can see it here http://ffem.org/~anthonym/dia/ChipDesign.png. This needs dia 0.94 in order to get backslash ar

Question about PNGs in a new shape set

2005-04-14 Thread anthonym
Hi, About a year ago, I created a shape set for drawing BPMN diagrams (http://www.bpmn.org/). I used it for a while and have had several people emailing me asking for it, so I thought I'd submit a patch to have it included in the core dia. The question I have with this is, how do I get my PN

Re: adding connection points to UML class diagrams?

2005-01-03 Thread anthonym
One trick you can use here is to create the class, then create a straight line, attach the two ends of the straight line to two corners of the class. Then if you CTRL-click (or middle mouse button I believe), you can add as many connection points as you like. Of course, if you were using these di

Re: Rounded Polyline, and other questions?

2004-07-29 Thread anthonym
On Fri, Jul 02, 2004 at 11:56:40AM -0700, [EMAIL PROTECTED] wrote: > Anyway, I'll hopefully get around to implementing this weekend. > If I get it done should I change the rounded rects to be done in > the same way? Okay, so it wasn't that weekend and I'm keeping this thread for yet another month

Re: help wanted, trying out a few ideas for post 0.94

2004-07-19 Thread anthonym
On Sat, Jul 17, 2004 at 06:37:31PM -0700, [EMAIL PROTECTED] wrote: > > On Sat, Jul 17, 2004 at 08:42:47AM +0200, Lars Clausen wrote: > > On Fri, 2004-07-16 at 19:57, [EMAIL PROTECTED] wrote: > > > If you are looking into keybindings a couple that I've really wanted > > > (and vaguely recall exis

Re: help wanted, trying out a few ideas for post 0.94

2004-07-17 Thread anthonym
On Sat, Jul 17, 2004 at 08:42:47AM +0200, Lars Clausen wrote: > On Fri, 2004-07-16 at 19:57, [EMAIL PROTECTED] wrote: > > If you are looking into keybindings a couple that I've really wanted > > (and vaguely recall existing at some point), are for Group and Ungroup. > > > > It seems that I'm ofte

Re: help wanted, trying out a few ideas for post 0.94

2004-07-16 Thread anthonym
If you are looking into keybindings a couple that I've really wanted (and vaguely recall existing at some point), are for Group and Ungroup. It seems that I'm often grouping and ungrouping while moving things around and hunting through the menu is tedious. Also, alignment operations might be nice

Re: Rounded Polyline, and other questions?

2004-07-02 Thread anthonym
Actually that's right, I assumed there was no overlapping fills, and only glanced at the code. Looking a little closer only 2 rectangles are filled. Did my email about converting everything to polygons make it to the list? -Anthony On Fri, Jul 02, 2004 at 10:12:42PM +0100, Alan Horkan wrote: >

Re: Rounded Polyline, and other questions?

2004-07-02 Thread anthonym
So thinking about this further I think what I'll do is create a function which will generate the entire rounded polygon as a polygon, that way polygon fill will just work. I remembered that in the Graphics Gem I grabbed the fillet code from, they had a function to draw an arc made of line segments

Re: Rounded Polyline, and other questions?

2004-07-01 Thread anthonym
On Thu, Jul 01, 2004 at 09:44:57AM +0200, [EMAIL PROTECTED] wrote: > > > > Okay, attached is the patch for the per corner minimum radius. > > > > Thanks, it has been applied. > > As for making rounded corners for the polygon, unfortunately it's not just > a question of adding the corner_radius f

On Shapes and SVG

2004-06-30 Thread anthonym
I've been trying to figure out where and how SVG is supported in dia. The problem I would like to address is that currently many exported shapes do not import because the Arc path is written when you export a shape file but not properly read when a shape file is read. Looking through the archives

Re: Rounded Polyline, and other questions?

2004-06-30 Thread anthonym
On Wed, Jun 30, 2004 at 02:22:52PM +0200, [EMAIL PROTECTED] wrote: > > > > On Tue, Jun 29, 2004 at 10:29:03PM +0200, Lars Clausen wrote: > > > >> I see one weird behaviour right now: You calculate the minimum radius > >> for the entire line. This means that if you have a well-rounded > >> polyli

Re: Rounded Polyline, and other questions?

2004-06-29 Thread anthonym
On Tue, Jun 29, 2004 at 10:29:03PM +0200, Lars Clausen wrote: > On Thu, 2004-06-24 at 08:13, [EMAIL PROTECTED] wrote: > > Not a problem, it's a good thing because I realize I missed something > > with the previous patch, I didn't adjust the radius if if was bigger than > > the polyline could handl

Re: Rounded Polyline, and other questions?

2004-06-23 Thread anthonym
Not a problem, it's a good thing because I realize I missed something with the previous patch, I didn't adjust the radius if if was bigger than the polyline could handle. This only manifested itself with acute angles when rounding polylines. Anyway, this is fixed in the attached patch (which also

Re: Rounded Polyline, and other questions?

2004-06-22 Thread anthonym
Just curious if there are any comments about the patch I submitted? Thanks for any feedback. -Anthony On Wed, Jun 16, 2004 at 02:23:51PM -0700, [EMAIL PROTECTED] wrote: > Okay, here's the patch against the HEAD. Let me know if there are any > changes people might like. As for moving some thing

Re: Rounded Polyline, and other questions?

2004-06-16 Thread anthonym
Okay, here's the patch against the HEAD. Let me know if there are any changes people might like. As for moving some things to geometry, specifically I'm talking about the somewhat general point_cross, dot2, line_coef, line_to_point, and point_perp. Although the fillet function could also arguabl

Re: Rounded Polyline, and other questions?

2004-06-15 Thread anthonym
Wow, its been a while since I posted this, but I've been super busy with other stuff. Anyway, last night I finished a first pass at adding rounded corners to zigzaglines and polylines, by adding some code to the diarenderer. I was developing against the DIA_0_94_DEV tag, should I post patches aga

CVS weirdness

2004-05-05 Thread anthonym
I'm having some really weird behavior with CVS which I can only ascribe to there being multiple CVS servers for gnome.org? Basically, I've got a checkout of the DIA_0_94_DEV branch checked out yesterday by % cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvs/gnome co -r DIA_0_94_DEV dia but when I run a

Re: Rounded Polyline, and other questions?

2004-04-26 Thread anthonym
On Tue, Apr 27, 2004 at 07:58:54AM +0200, Lars Clausen wrote: > > I believe the best approach to accomplishing what I want to do would > > be to migrate the rounded arrow code from the SADT object into the > > diarenderer. I'ved create a couple of functions called 'draw_rounded_polyline' > > an

Rounded Polyline, and other questions?

2004-04-26 Thread anthonym
Hi, I mentioned in a previous email that I am working on implementing the BPMN in dia. I've done most of the shapes using the built in export to shape functionality, which seems to work well, although it is very easy to export a shape which cannot be imported (basically anything with an arc wil

PATCH: backslash arrow

2004-04-23 Thread anthonym
Hi All, Just joined the list because I've been doing a little bit of HACKING on dia, so thought I would mention what I am working on as well as submitting a patch for one of the things. I'm working on creating a BPMN sheet (http://www.bpmi.org/) which I will submit as a larger patch once I am