merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / simpress / guide / line_draw.xhp
blob5053b0f8ce5194d57222638ee93cc32b91581bed
1 <?xml version="1.0" encoding="UTF-8"?>
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: line_draw.xhp,v $
14 * $Revision: 1.11 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
36 <helpdocument version="1.0">
37 <meta>
38 <topic id="textsimpressguideline_drawxml" indexer="include" status="PUBLISH">
39 <title id="tit" xml-lang="en-US">Drawing Curves</title>
40 <filename>/text/simpress/guide/line_draw.xhp</filename>
41 </topic>
42 <history>
43 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
44 <lastedited date="2006-10-23T14:01:00">FPE: Deleted Screenshot. Cleaned.</lastedited>
45 </history>
46 </meta>
47 <body>
48 <bookmark xml-lang="en-US" branch="index" id="bm_id3149377"><bookmark_value>lines; drawing</bookmark_value>
49 <bookmark_value>curves; drawing</bookmark_value>
50 <bookmark_value>control points definition</bookmark_value>
51 <bookmark_value>corner points</bookmark_value>
52 <bookmark_value>drawing;lines</bookmark_value>
53 </bookmark>
54 <paragraph role="heading" id="hd_id3149377" xml-lang="en-US" level="1" l10n="U" oldref="3"><variable id="line_draw"><link href="text/simpress/guide/line_draw.xhp" name="Drawing Curves">Drawing Curves</link>
55 </variable></paragraph>
56 <paragraph role="paragraph" id="par_id3148868" xml-lang="en-US" l10n="CHG" oldref="4">The <emph>Curve</emph> icon
57 <image id="img_id3150205" src="res/commandimagelist/sc_linetoolbox.png" width="0.222inch" height="0.222inch"><alt id="alt_id3150205" xml-lang="en-US">Icon</alt>
58 </image> on the <emph>Drawing</emph> toolbar opens a toolbar to draw Bézier curves. Bézier curves are defined by a start point and an end point, which are called "anchors". The curvature of the Bézier curve is defined by control points ("handles"). Moving a control point changes the shape of the Bézier curve.</paragraph>
59 <paragraph role="note" id="par_id8532364" xml-lang="en-US" l10n="NEW">Control points are only visible in "Edit Points" mode. Control points are represented by circles, anchor points are represented by squares. The start point is a little bit larger than the other anchor points.</paragraph>
60 <paragraph role="paragraph" id="par_id3150210" xml-lang="en-US" l10n="CHG" oldref="39">Bézier curve segments and straight line segments can be joined to form more complex Bézier curves. Three different transitions can be applied to join adjacent segments:</paragraph>
61 <list type="unordered">
62 <listitem>
63 <paragraph role="listitem" id="par_id3154766" xml-lang="en-US" l10n="CHG" oldref="25">A <emph>symmetrical</emph> anchor point has the same line curvature on either side, and two control lines that move together as a straight line.</paragraph>
64 </listitem>
65 <listitem>
66 <paragraph role="listitem" id="par_id3149874" xml-lang="en-US" l10n="CHG" oldref="26">A <emph>smooth</emph> anchor point may have different line curvatures on either side.</paragraph>
67 </listitem>
68 <listitem>
69 <paragraph role="listitem" id="par_id3150435" xml-lang="en-US" l10n="CHG" oldref="27">A <emph>corner</emph> anchor point has one or two independent control lines. Changing one side has no effect on the other side.</paragraph>
70 </listitem>
71 </list>
72 <paragraph role="heading" id="hd_id46388" xml-lang="en-US" level="2" l10n="NEW">How to use the Curve tool</paragraph>
73 <list type="ordered">
74 <listitem>
75 <paragraph role="paragraph" id="par_id3155262" xml-lang="en-US" l10n="CHG" oldref="5">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
76 <image id="img_id3145829" src="res/commandimagelist/sc_linetoolbox.png" width="0.222inch" height="0.222inch"><alt id="alt_id3145829" xml-lang="en-US">Icon</alt>
77 </image> and select the <emph>Curve</emph>
78 <image id="Graphic1" src="res/commandimagelist/sc_bezier_unfilled.png" width="0.222inch" height="0.222inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
79 </image> tool.</paragraph>
80 </listitem>
81 <listitem>
82 <paragraph role="paragraph" id="par_id3155928" xml-lang="en-US" l10n="CHG" oldref="6">Click where you want the curve to start, and drag in the direction where you want the curve to go. The control line will indicate the direction. </paragraph>
83 <paragraph role="paragraph" id="par_id8174687" xml-lang="en-US" l10n="NEW">Hold down <item type="keycode">Shift</item> while you drag to restrict the direction to a 45 degree grid.</paragraph>
84 </listitem>
85 <listitem>
86 <paragraph role="paragraph" id="par_id3148390" xml-lang="en-US" l10n="CHG" oldref="41">Release the mouse where the first control point should be.</paragraph>
87 </listitem>
88 <listitem>
89 <paragraph role="paragraph" id="par_id3154865" xml-lang="en-US" l10n="U" oldref="22">Move the pointer to where you want the curve segment to end. The curve follows the pointer. </paragraph>
90 </listitem>
91 <listitem>
92 <paragraph role="paragraph" id="par_id1556443" xml-lang="en-US" l10n="NEW">Do one of the following:</paragraph>
93 </listitem>
94 </list>
95 <list type="unordered">
96 <listitem>
97 <paragraph role="paragraph" id="par_id3151172" xml-lang="en-US" l10n="CHG" oldref="9">Double-click on the position of the end point to finish drawing the line. </paragraph>
98 <paragraph role="paragraph" id="par_id5377056" xml-lang="en-US" l10n="NEW">To create a closed shape, double-click the starting point of the line.</paragraph>
99 </listitem>
100 <listitem>
101 <paragraph role="paragraph" id="par_id3153919" xml-lang="en-US" l10n="CHG" oldref="23">Click and release the mouse button to add an anchor point. Move the mouse to draw the next segment.</paragraph>
102 </listitem>
103 <listitem>
104 <paragraph role="paragraph" id="par_id3149451" xml-lang="en-US" l10n="CHG" oldref="43">Click and drag in any direction to add a smooth anchor point.</paragraph>
105 </listitem>
106 </list>
107 <paragraph role="heading" id="hd_id2071596" xml-lang="en-US" level="2" l10n="NEW">How to use the Freeform Line tool</paragraph>
108 <list type="ordered">
109 <listitem>
110 <paragraph role="paragraph" id="par_id4907681" xml-lang="en-US" l10n="NEW">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
111 <image id="Graphic2" src="res/commandimagelist/sc_linetoolbox.png" width="0.222inch" height="0.222inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
112 </image> and select the <emph>Freeform Line</emph>
113 <image id="Graphic3" src="res/commandimagelist/sc_freeline_unfilled.png" width="0.222inch" height="0.222inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
114 </image> tool.</paragraph>
115 </listitem>
116 <listitem>
117 <paragraph role="paragraph" id="par_id1122165" xml-lang="en-US" l10n="NEW">Click where you want the curve to start, and keep holding the mouse button down.</paragraph>
118 </listitem>
119 <listitem>
120 <paragraph role="paragraph" id="par_id5792107" xml-lang="en-US" l10n="NEW">Draw the freeform line as you would do with a pencil.</paragraph>
121 </listitem>
122 <listitem>
123 <paragraph role="paragraph" id="par_id7734916" xml-lang="en-US" l10n="NEW">Release the mouse button to finish the line.</paragraph>
124 </listitem>
125 </list>
126 <section id="relatedtopics">
127 <embed href="text/simpress/guide/line_edit.xhp#line_edit"/>
128 <embed href="text/simpress/guide/vectorize.xhp#vectorize"/>
129 <embed href="text/simpress/guide/3d_create.xhp#3d_create"/>
130 <embed href="text/simpress/guide/text2curve.xhp#text2curve"/>
131 </section>
132 </body>
133 </helpdocument>