OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Line Caps

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw
View previous topic :: View next topic  
Author Message
Daffy
Guest





PostPosted: Tue Jan 20, 2004 11:57 am    Post subject: Line Caps Reply with quote

When drawing a line (or curve), how do you determine what kind of end caps it has? Or are you stuck with squared off ends? I'd like to make a line with rounded ends. Can I do that?
Back to top
George Politis
Power User
Power User


Joined: 04 Nov 2003
Posts: 69
Location: Sydney, Australia

PostPosted: Tue Jan 20, 2004 2:24 pm    Post subject: Reply with quote

I can't seem to find a way to do it.

I know it's tedious, but if it's only a few lines you need rounded, you can create a pair of circles of the same diameter as the line, place one over the end of each line, and group the three together.
Back to top
View user's profile Send private message
anvilsoup
Super User
Super User


Joined: 09 Feb 2003
Posts: 606
Location: Australia, mate!

PostPosted: Wed Jan 21, 2004 7:17 pm    Post subject: Reply with quote

Wow, I always though OOoDraw had linecaps. O well. I guess you could use SodiPodi instead.
Back to top
View user's profile Send private message Visit poster's website
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Thu Jan 22, 2004 3:33 pm    Post subject: Reply with quote

Try right clicking a selected line then choose Line - Line tab. In the Arrow Style section choose your style from the drop downs including a circle.
Back to top
View user's profile Send private message
anvilsoup
Super User
Super User


Joined: 09 Feb 2003
Posts: 606
Location: Australia, mate!

PostPosted: Thu Jan 22, 2004 5:24 pm    Post subject: Reply with quote

Arrow styles versus line caps...
If you make the lines really thick, you'll notice OOoDraw always rounds off corners. But in professional dedicated drawing packages, you can pick the corners to make them square or even using different nib shapes.
Anyway, if arrowstyles is what you wanted, then JohnV is right on the mark.
Back to top
View user's profile Send private message Visit poster's website
George Politis
Power User
Power User


Joined: 04 Nov 2003
Posts: 69
Location: Sydney, Australia

PostPosted: Thu Jan 22, 2004 5:59 pm    Post subject: Reply with quote

anvilsoup wrote:
Anyway, if arrowstyles is what you wanted, then JohnV is right on the mark.


I already tried that. I couldn't find a way to use arrow styles to make rounded ends.
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Fri Jan 30, 2004 10:49 am    Post subject: Reply with quote

At some level it may be possible to have line caps.

The API has some interesting properties of shapes.

The LineProperties of a shape
http://api.openoffice.org/docs/common/ref/com/sun/star/drawing/LineProperties.html#LineJoint
mention a LineJoint property, which can be any of....
http://api.openoffice.org/docs/common/ref/com/sun/star/drawing/LineJoint.html

NONE
MIDDLE
BEVEL
MITER
ROUND
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group