Re: Differentiating between Connectors and Objects

2008-07-10 Thread Sameer Sahasrabuddhe
On Wed, Jul 9, 2008 at 11:20 PM, Fred Morcos <[EMAIL PROTECTED]> wrote: > (pseudo code) > if (objtype == "Standard - Line" || "UML - Generalization" || "UML - > Dependency" || etc...) It seems from the rest of the conversation that you will indeed be stuck with comparing strings. If that is actua

[whish someone will] Add bgcolor_0..9 and fgcolor_0..9 to custom-shapes module?

2008-07-10 Thread Thomas Harding
Hello, I'm currently working on something tedious: adding 5 color models to the custom-shape "desktop computer" from Jean Cartier. Note this can also apply to "cisco" shape set, and other complex color models sets. There are currently only a few user-defined colors: * background * foreground

about Shape Properties

2008-07-10 Thread Marleine Daoud
I have difficulties finding out the properties of each shape. How can I, for example, print out the properties, color, line style, etc..., of a certain shape drawn on the canvas? Can object->ops->get_properties(object, FALSE) or object->ops->get_props help? If yes, how to use it or how to get the G

Re: Differentiating between Connectors and Objects

2008-07-10 Thread Fred Morcos
For starters, I'll go with the standard elements. BTW, I have a prototype of the code here (Objective-C): svn co http://fredmorcos.googlecode.com/svn/projects/sandbox and a screencast of it here: http://fredmorcos.googlecode.com/files/sandbox.ogv Note: the repelling force of a node is proporti