1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27<helpdocument version="1.0">
28<meta>
29<topic id="textsimpressguideline_drawxml" indexer="include" status="PUBLISH">
30<title id="tit" xml-lang="en-US">Drawing Curves</title>
31<filename>/text/simpress/guide/line_draw.xhp</filename>
32</topic>
33<history>
34<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
35<lastedited date="2006-10-23T14:01:00">FPE: Deleted Screenshot. Cleaned.</lastedited>
36</history>
37</meta>
38<body>
39<bookmark xml-lang="en-US" branch="index" id="bm_id3149377"><bookmark_value>lines; drawing</bookmark_value>
40<bookmark_value>curves; drawing</bookmark_value>
41<bookmark_value>control points definition</bookmark_value>
42<bookmark_value>corner points</bookmark_value>
43<bookmark_value>drawing;lines</bookmark_value>
44</bookmark>
45<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>
46</variable></paragraph>
47<paragraph role="paragraph" id="par_id3148868" xml-lang="en-US" l10n="CHG" oldref="4">The <emph>Curve</emph> icon
48<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>
49	</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>
50<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>
51<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>
52<list type="unordered">
53<listitem>
54<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>
55</listitem>
56<listitem>
57<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>
58</listitem>
59<listitem>
60<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>
61</listitem>
62</list>
63<paragraph role="heading" id="hd_id46388" xml-lang="en-US" level="2" l10n="NEW">How to use the Curve tool</paragraph>
64<list type="ordered">
65<listitem>
66<paragraph role="paragraph" id="par_id3155262" xml-lang="en-US" l10n="CHG" oldref="5">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
67<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>
68	</image> and select the <emph>Curve</emph>
69<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>
70	</image> tool.</paragraph>
71</listitem>
72<listitem>
73<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>
74<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>
75</listitem>
76<listitem>
77<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>
78</listitem>
79<listitem>
80<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>
81</listitem>
82<listitem>
83<paragraph role="paragraph" id="par_id1556443" xml-lang="en-US" l10n="NEW">Do one of the following:</paragraph>
84</listitem>
85</list>
86<list type="unordered">
87<listitem>
88<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>
89<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>
90</listitem>
91<listitem>
92<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>
93</listitem>
94<listitem>
95<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>
96</listitem>
97</list>
98<paragraph role="heading" id="hd_id2071596" xml-lang="en-US" level="2" l10n="NEW">How to use the Freeform Line tool</paragraph>
99<list type="ordered">
100<listitem>
101<paragraph role="paragraph" id="par_id4907681" xml-lang="en-US" l10n="NEW">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
102<image id="Graphic2" src="res/commandimagelist/sc_linetoolbox.png" width="0.222inch" height="0.222inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
103	</image> and select the <emph>Freeform Line</emph>
104<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>
105	</image> tool.</paragraph>
106</listitem>
107<listitem>
108<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>
109</listitem>
110<listitem>
111<paragraph role="paragraph" id="par_id5792107" xml-lang="en-US" l10n="NEW">Draw the freeform line as you would do with a pencil.</paragraph>
112</listitem>
113<listitem>
114<paragraph role="paragraph" id="par_id7734916" xml-lang="en-US" l10n="NEW">Release the mouse button to finish the line.</paragraph>
115</listitem>
116</list>
117<section id="relatedtopics">
118<embed href="text/simpress/guide/line_edit.xhp#line_edit"/>
119<embed href="text/simpress/guide/vectorize.xhp#vectorize"/>
120<embed href="text/simpress/guide/3d_create.xhp#3d_create"/>
121<embed href="text/simpress/guide/text2curve.xhp#text2curve"/>
122</section>
123</body>
124</helpdocument>
125