Fwd: Re: [Gimp-developer] Current state of path tool.

2003-09-02 Thread Joao S. O. Bueno
I've sent this yesterday, but I have bnot seen it on the list. I think 
my local IP may  have got blacklisted, so I am trying again.

Js
-><-


--  Forwarded Message  --

ok, 4:21 n the morning...
I just could run gimp 1.3.19 now.

I don't know how many of these changes came in after 1.3.19, but
I can only see 2 modes on the tools options.

I am feeling sleepy, and  I could not follow the guidelines below .
 It seens me that the edit mode is not there at all. I will try to
 build the gimp from HEAD tomorrow (I sometimes have problens with
 this, but I am interested enough in the vector tool to help out. So,
 if  I cannot build it, expect me on #gimp looking for some help)

I hope you are willing to change some of these key strokes. I
 remember being able to iamgine something that would make more sense,
 while awake - so I will write more on later. Now I can only note
 that the behavior of the SHIFT key on the simetry of Handles should
 not toggle like that, and IMO should be more consistent. But I will
 have more to say on the keys once I get all the functionality you
 list bellow.

The ability of changing a segment curvature by draging a randon point
of  it is quite amazing, rest assured.

As for teh future plans, inr egards to import and export to other
 file formats, There is Python code from both Sven, and another
implementation by me to export bezier paths to SVG. There is also
some python code of mine to export them to Postscript and POV-Ray
sphere sweeps.
(http://hopey.nervo.org/~gwidion/gimp , Sven's code seens to float up
somewhere in the Tools directory, and I am not certain if it moves to
anywhere that makes sense when installing) . Needless to say, there
is no code to read any of these back.

If you feel like python will not be universal enough in Gimp
 installs, I can rewrite some of my scripts in C.

So far, expect me to write more about vectors tomorrow.
I will get some sleep now.

Regards,

JS
-><-

On Friday 29 August 2003 6:04 pm, Simon Budig wrote:
> Hi all.
>
> Here is an overview on the current state of the path tool as well
> as a summary of its usage.
>
> Please try to use the tool and tell me about problems. If you have
> suggestions on how to improve the tool, please discuss them on the
> list.
>
> Bye,
> Simon
>
>
> Overview on the current state of the path tool.
> ---
>
> The path tool has three major modes. The Edit-Mode allows to create
> anchors/handles as well as moving of
> anchors/handles/curve-segments.
>
> The Insert/Delete-Mode enables you to insert anchors on
> curve-segments, connect strokes as well as deleting anchors and
> segments (splitting up a curve).
>
> The Move Mode moves whole strokes or the whole vectors object.
>
>
> Changing between modes:
> ---
>
> You can change between these modes either by clicking in the tool
> options or by using the CTRL/ALT modifiers. If CTRL is pressed the
> tool will switch to the Insert/Delete Mode, ALT does the same for
> the Move Mode.
>
> When you selected the mode in the tool options please note, that
> the CTRL/ALT modifier will switch back to the Edit-Mode when
> released.
>
>
> Edit-Mode:
> --
>
> If there exists no vectors object, a click will create a new one.
> If a stroke exists and there is just one marked anchor at the end
> of a stroke a click in the canvas will extend the stroke. If there
> is no marked anchor or it is in the middle of a stroke a new stroke
> will be started. You can click on open ends of strokes and
> extending will continue there.
>
> If you click over an anchor or handle you can move them around.
> When dragging around handles the SHIFT-Key will restrict the
> opposite handle to symmetric movement.
> (Also after pressing down the mouse button to place the anchor you
> can drag out control handles and position them until you release
> the mousebutton. Both anchors will initially move symmetrically. If
> you want to break the symmetric movement you can push down and
> release the SHIFT key while dragging. This is a special case to
> enable quick creation of bezier strokes).
>
> If you click over a segment you can drag it around without the need
> to add more anchors to the curve. Also pressing SHIFT restricts the
> movement of the adjacent handles to symmetric ones.
>
>
> Insert/Create Mode:
> ---
>
> This tool only works when over the curve or over anchors. If over a
> handle. Clicking on the curve will insert a new anchor, you can
> drag it around directly afterwards. SHIFT-Clicking on a node will
> delete it.
>
> Clicking on an endpoint of a stroke enables you to drag out a
> straight line you can drag to another endpoint to connect these
> strokes. Please note that the resulting connection will be curved
> according to the existing handles. You can delete a segment of the
> curve by clicking on it while SHIFT is pressed.
>
>
> Move Mode:
> --

Re: [Gimp-developer] Current state of path tool.

2003-09-01 Thread Joao S. O. Bueno
ok, 4:21 n the morning...
I just could run gimp 1.3.19 now. 

I don't know how many of these changes came in after 1.3.19, but  
I can only see 2 modes on the tools options.

I am feeling sleepy, and  I could not follow the guidelines below . It 
seens me that the edit mode is not there at all. I will try to build 
the gimp from HEAD tomorrow (I sometimes have problens with this, but 
I am interested enough in the vector tool to help out. So, if  I 
cannot build it, expect me on #gimp looking for some help)

I hope you are willing to change some of these key strokes. I remember 
being able to iamgine something that would make more sense, while 
awake - so I will write more on later. Now I can only note that the 
behavior of the SHIFT key on the simetry of Handles should not toggle 
like that, and IMO should be more consistent. But I will have more to 
say on the keys once I get all the functionality you list bellow.

The ability of changing a segment curvature by draging a randon point 
of  it is quite amazing, rest assured.

As for teh future plans, inr egards to import and export to other file 
formats, There is Python code from both Sven, and another 
implementation by me to export bezier paths to SVG. There is also 
some python code of mine to export them to Postscript and POV-Ray 
sphere sweeps.
(http://hopey.nervo.org/~gwidion/gimp , Sven's code seens to float up 
somewhere in the Tools directory, and I am not certain if it moves to 
anywhere that makes sense when installing) . Needless to say, there 
is no code to read any of these back.

If you feel like python will not be universal enough in Gimp installs, 
I can rewrite some of my scripts in C.

So far, expect me to write more about vectors tomorrow.
I will get some sleep now.

Regards,

JS
-><-
On Friday 29 August 2003 6:04 pm, Simon Budig wrote:
> Hi all.
>
> Here is an overview on the current state of the path tool as well
> as a summary of its usage.
>
> Please try to use the tool and tell me about problems. If you have
> suggestions on how to improve the tool, please discuss them on the
> list.
>
> Bye,
> Simon
>
>
> Overview on the current state of the path tool.
> ---
>
> The path tool has three major modes. The Edit-Mode allows to create
> anchors/handles as well as moving of
> anchors/handles/curve-segments.
>
> The Insert/Delete-Mode enables you to insert anchors on
> curve-segments, connect strokes as well as deleting anchors and
> segments (splitting up a curve).
>
> The Move Mode moves whole strokes or the whole vectors object.
>
>
> Changing between modes:
> ---
>
> You can change between these modes either by clicking in the tool
> options or by using the CTRL/ALT modifiers. If CTRL is pressed the
> tool will switch to the Insert/Delete Mode, ALT does the same for
> the Move Mode.
>
> When you selected the mode in the tool options please note, that
> the CTRL/ALT modifier will switch back to the Edit-Mode when
> released.
>
>
> Edit-Mode:
> --
>
> If there exists no vectors object, a click will create a new one.
> If a stroke exists and there is just one marked anchor at the end
> of a stroke a click in the canvas will extend the stroke. If there
> is no marked anchor or it is in the middle of a stroke a new stroke
> will be started. You can click on open ends of strokes and
> extending will continue there.
>
> If you click over an anchor or handle you can move them around.
> When dragging around handles the SHIFT-Key will restrict the
> opposite handle to symmetric movement.
> (Also after pressing down the mouse button to place the anchor you
> can drag out control handles and position them until you release
> the mousebutton. Both anchors will initially move symmetrically. If
> you want to break the symmetric movement you can push down and
> release the SHIFT key while dragging. This is a special case to
> enable quick creation of bezier strokes).
>
> If you click over a segment you can drag it around without the need
> to add more anchors to the curve. Also pressing SHIFT restricts the
> movement of the adjacent handles to symmetric ones.
>
>
> Insert/Create Mode:
> ---
>
> This tool only works when over the curve or over anchors. If over a
> handle. Clicking on the curve will insert a new anchor, you can
> drag it around directly afterwards. SHIFT-Clicking on a node will
> delete it.
>
> Clicking on an endpoint of a stroke enables you to drag out a
> straight line you can drag to another endpoint to connect these
> strokes. Please note that the resulting connection will be curved
> according to the existing handles. You can delete a segment of the
> curve by clicking on it while SHIFT is pressed.
>
>
> Move Mode:
> --
>
> That one is easy. Click-Dragging on a anchor/curve drags the
> complete stroke. SHIFT-Click-Dragging will move the complete
> vectors object around.
>
>
>
>
> PROBLEMS:
> -
>
> Right 

[Gimp-developer] Current state of path tool.

2003-08-30 Thread Simon Budig
Hi all.

Here is an overview on the current state of the path tool as well
as a summary of its usage.

Please try to use the tool and tell me about problems. If you have
suggestions on how to improve the tool, please discuss them on the list.

Bye,
Simon


Overview on the current state of the path tool.
---

The path tool has three major modes. The Edit-Mode allows to create
anchors/handles as well as moving of anchors/handles/curve-segments.

The Insert/Delete-Mode enables you to insert anchors on curve-segments,
connect strokes as well as deleting anchors and segments (splitting up a
curve).

The Move Mode moves whole strokes or the whole vectors object.


Changing between modes:
---

You can change between these modes either by clicking in the tool
options or by using the CTRL/ALT modifiers. If CTRL is pressed the tool
will switch to the Insert/Delete Mode, ALT does the same for the Move
Mode.

When you selected the mode in the tool options please note, that
the CTRL/ALT modifier will switch back to the Edit-Mode when released.


Edit-Mode:
--

If there exists no vectors object, a click will create a new one.
If a stroke exists and there is just one marked anchor at the end
of a stroke a click in the canvas will extend the stroke. If there
is no marked anchor or it is in the middle of a stroke a new stroke
will be started. You can click on open ends of strokes and extending
will continue there.

If you click over an anchor or handle you can move them around. When
dragging around handles the SHIFT-Key will restrict the opposite handle
to symmetric movement.
(Also after pressing down the mouse button to place the anchor you can
drag out control handles and position them until you release the
mousebutton. Both anchors will initially move symmetrically. If you want
to break the symmetric movement you can push down and release the SHIFT
key while dragging. This is a special case to enable quick creation of
bezier strokes).

If you click over a segment you can drag it around without the need to
add more anchors to the curve. Also pressing SHIFT restricts the
movement of the adjacent handles to symmetric ones.


Insert/Create Mode:
---

This tool only works when over the curve or over anchors. If over a
handle. Clicking on the curve will insert a new anchor, you can drag it
around directly afterwards. SHIFT-Clicking on a node will delete it.

Clicking on an endpoint of a stroke enables you to drag out a straight
line you can drag to another endpoint to connect these strokes. Please
note that the resulting connection will be curved according to the
existing handles. You can delete a segment of the curve by clicking
on it while SHIFT is pressed.


Move Mode:
--

That one is easy. Click-Dragging on a anchor/curve drags the complete
stroke. SHIFT-Click-Dragging will move the complete vectors object
around.




PROBLEMS:
-

Right now the behaviour is a bit inconsistend with respect to
selecting/unselecting anchors. This is work in progress.

Also I am not sure if the modifier-behaviour CTRL/ALT for switching
modes is the most sane solution. It is a bit hard to use two on-off
modifiers to three modes in a sane manner.

Also I am not sure if the current selection of CTRL for mode switching
and SHIFT for mode-specific toggeling is consistent with jimmacs
proposel some weeks ago. I like it better that way.

Undo does not yet work.


FUTURE PLANS:
-

Besides removing the above mentioned problems there are missing two
major things: Libart stroking (esp. important for thin lines) and
Im/Export of Paths into files.

-- 
  [EMAIL PROTECTED]   http://www.home.unix-ag.org/simon/
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer