On Thu, 21 Jan 1999, Alexander Larsson said:

> On 21 Jan, Lars Clausen wrote:
>> A freaky idea: Transitive selection.  Either just select everything you
>> can transitively get to via connections, or select any object connected
>> to the selected objects.
>  Mmm, could be nice. Maybe ctrl-click or something.

Maybe... but at least a menu item.

>> Nice with the align-menuitems.  Maybe some align size items?  To
>> largest, smallest and average size, horizontally and vertically.
>  Size:ing is a more difficult thing in Dia. A lot of objects control
>  and limit their size, all the user can do is move movable handles.
>  Some (like the uml class) calculates size based ONLY on the objects
>  properties.

Well, aligning size should not change the unchangeable... it's one of those
things that are not critical (you can get by in most cases with some work
with grids), but should be there at some point.

>> An arrow select widget could have these choices:
>> 
>> |  |  V  ^  V
>> |  |  |  |  |
>> |  V  V  V  |
>> 
>> A pop-up option box could then allow more control over arrow head
>> styles.
> 
>  Well, i rather though it would be just a pop-up selection of arrow
>  types, and then the line objects has two of these, one for each end.

So you'd have to manually add the arrows on each line?  Or should this be
part of the options box (both default and individual) for lines?

>>>> Splines.
>>>  They exist in the back-end of the program. Just not tested very much
>>>  or used in any object yet. Check out draw_bezier() in
>>>  app/render_gdk.c.
>> 
>> Then I'll try adding a standard widget for that.  Just for starters.
> 
>  Try it out.

I've started working on it (copying from orth_conn).  Now I don't know the
first thing about bezier (so I'm very happy the drawing function is
there:).  I notice that you require 4+3n points, is that because of the
specific method you use?  Xfig has two splines with no such limit (at least
not visibly).  But I guess I have to dig into it to figure out a bounding
box. 
We should also have a generic polyline, I think.  That should be even
easier than bezier, possibly they should be derived from some common
class.  There is a common element of making new midpoints that they should
share, though I'd like to find a better way than Xfig's.

>>>> A limit on the width of a text 'box', with word wrap.  E.g. if you
>>>>   drag the text 'cursor' at the start, you indicate a width.
>>> Hmmmm..
>> 
>> You can look at
>> <URL:http://shasta.cs.uiuc.edu/~lrclause/hastyassault.ps> for one thing
>> I'm currently using Xfig for, and that would benefit a lot from a
>> limited-width tex box.
> 
>  Hmm, i don't see this as exactly the work dia is most usable for, but
>  i see your point.

Except for picture inclusion, I think dia is more usable than xfig for
this.
But this is a low-priority thing.  Just having multiline text removes a lot
of bother.

>>>> When having created an object, it shouldn't switch back to the pointer
>>>>   tool.
>>>  It was like this earlier, but i changed it. I'll probably change it
>>>  back as it's starting to irritate me.
>> 
>> That was surprisingly easy to fix.
>  I fixed it in cvs. Did you mean that? I just commented out the
>  tool_reset() call.

So did I:)  It's nice source that you can get into that quickly.

>>>> Transparent boxes.
>>>  Fully transparent boxes are easy. Semi-transparent (alpha) are
>>>  impossible due to the architecture and the exporting to PS.
>> 
>> The fully-transparent boxes are the most important.  I don't like having
>> to move things up and down all the time.
>  Yeah, this is easy. Maybe should be added as an boolean flag in the
>  standard box object.

Yes, I think so.

>>>> More formats to export to.
>>>  What formats?
>> 
>> Hmmm... pdf? gif? fim?  Well, it's not so important.  Maybe conversion
>> from xfig format is more important.
>  Yeah, i'm not good at file-formats. pdf is ~ postscript. I got a wish
>  for exporting to WMF (windows meta files) yesterday.

If we can export to xfig format, there are several converters to other
formats available.

>> BTW, it is remarkably stable for such a low version number.  Very soon,
>> I might not go back to Xfig ever again.
>  Well, i tend to make rather stable stuff. Dunno why.

Then I gotta be extra careful.  My stuff is not really legendary for its
stability.  But at least I got a good base to work from here.

It's fun connecting lines at their midpoints and moving them around.  Looks
almost 3D:)

-Lars

-- 
Lars R. Clausen ([EMAIL PROTECTED])
A *real* smart bomb would call in sick, perhaps move to another country,
changing its name in the process, open a beach bar maybe and live out its
days in safe anonymity.                          -- Barry O'Neill in rhod

Reply via email to