Issue 82717

Summary: grow/shrink a object (not only proportional resize)
Product: Draw Reporter: mroe <mroe.nospam>
Component: editingAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: Armin.Le.Grand, issues, lukebenes
Version: OOo 2.3Keywords: needmoreinfo
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: FEATURE Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
demonstrates the feature request how to expand a object none

Description mroe 2007-10-17 14:40:27 UTC
Hello!

In draw it is a missing feature if you want expand a object, so that you get a
outline with a constant distance to the original border of the object.

IMHO Currently the only way is to broaden the borderline of the object and
manually to trace the result.

Is there a chance to get this feature?

Hope, you can understand my english.

Greetings, Mathias
Comment 1 christian.guenther 2007-10-18 10:22:44 UTC
I don't understand the feature request completely.
What do you like to have?
- the base point of the object should be in the center of the object when I
resize it 
or
- you like to see the contour of the object when you resize it.
Comment 2 mroe 2007-10-18 12:20:20 UTC
Created attachment 49000 [details]
demonstrates the feature request how to expand a object
Comment 3 christian.guenther 2007-10-18 13:09:11 UTC
In my mind a useful feature.
Please have a look.
Comment 4 Joost Andrae 2007-10-19 14:04:26 UTC
Armin, please have a look at this (added you to CC list)
Comment 5 Armin Le Grand 2007-10-19 15:25:09 UTC
AW: Fisrt of all: You may convert to contour after making thick lines and work
with the derived geometry -> it's already there in some form.

Next, it depends on what You want.

If You want to scale the object relative to it's center, press and hold the ALT
key when starting the interaction.

If You want a real geometric 'Grow/Shrink' like with the lines getting thick
(like painting with a fat circle along the object outline and taking the inner
or outer created edge), this is not trivial.
It is mostly manageable for convex polygons (not for biiig grows, think about
short segment becoming completely covered), but really hard to solve
geometrically for concave ones (You may take a look at the literature). Just
experiment on a piece of paper with a rectangle with an additional point on one
side moved to the inside: a simple concave polygon. Now try to shrink it. You
will see that on one point the topology changes from one polygon to two
triangles(!). Tell me if You have an algorythm sloving this mathematically. It's
not impossible, but hard to do (don't forget the edge roundings involved, also
don't forget that some edges are bezier curves which should not be broken down
to line segments, etc...).

As You see, i have already thought about/expermineted with this stuff. I have
some ideas for the future how to solve this, but no time ATM. But i would also
love to have that feature.

For the moment - if it's not solved for You with one of the first annotations -
there is no easy way to do something like this, sorry.
Comment 6 mroe 2007-10-19 17:17:10 UTC
@aw
Thank you for your answer! Converting the line to contour is a useful solution
for some problems.

I will tell you if i find anybody that can create a algorythm.

Thanks!
Comment 7 mroe 2007-10-24 16:33:53 UTC
summary changed
Comment 8 Rob Weir 2013-02-02 02:58:24 UTC
This Issue requires more information ('needmoreinfo'), but has not been updated
within the last year. Please provide feedback as requested and re-test with the the latest version of OpenOffice - the problem(s) may already be addressed. 

You can download Apache OpenOffice 3.4.1 from http://www.openoffice.org/download

Please report back the outcome of your testing, so this Issue may be closed or
progressed as necessary - otherwise the issue may be Resolved as Invalid in the
future.
Comment 9 mroe 2013-02-02 10:41:38 UTC
Look at the comments before.
This issue will be at the state 'needmoreinfo' until anybody can and will provide a mathematical algorithm to implement this feature.
Comment 10 slacka 2014-01-31 11:42:18 UTC
@mroe
There is no need "for a mathematical algorithm" to implement this feature, as it's already supported when you import .ppt documents. The problem is that the UI element to access this feature  is missing. You can read about the bug here:

http://www.oooforum.org/forum/viewtopic.phtml?t=33998
and here:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/651511
Comment 11 mroe 2014-01-31 15:26:08 UTC
@slacka:
This is not the same. The listed bugs describes the _scaling_ of an object as animation in IMPRESS. Scaling of objects are no problem in DRAW. But growing the outline with a special distance in all points is a difficult thing. Look at the attachment to this bug.
Comment 12 slacka 2014-01-31 23:16:26 UTC
@mroe
Yes, Sorry, you are correct. Your original description sounded very similar to the impress issue that I and others had run into.