1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3609de967SAndrew Rist<!--***********************************************************
4221d1e73Smseidel *
5609de967SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6609de967SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7609de967SAndrew Rist * distributed with this work for additional information
8609de967SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9609de967SAndrew Rist * to you under the Apache License, Version 2.0 (the
10609de967SAndrew Rist * "License"); you may not use this file except in compliance
11609de967SAndrew Rist * with the License.  You may obtain a copy of the License at
12221d1e73Smseidel *
13609de967SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14221d1e73Smseidel *
15609de967SAndrew Rist * Unless required by applicable law or agreed to in writing,
16609de967SAndrew Rist * software distributed under the License is distributed on an
17609de967SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18609de967SAndrew Rist * KIND, either express or implied.  See the License for the
19609de967SAndrew Rist * specific language governing permissions and limitations
20609de967SAndrew Rist * under the License.
21221d1e73Smseidel *
22609de967SAndrew Rist ***********************************************************-->
23609de967SAndrew Rist
24cdf0e10cSrcweir<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textsimpressguideline_drawxml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Drawing Curves</title>
28cdf0e10cSrcweir<filename>/text/simpress/guide/line_draw.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
3272c4b3b3Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3149377">
3372c4b3b3Smseidel<bookmark_value>lines; drawing</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>curves; drawing</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>control points definition</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>corner points</bookmark_value>
37cdf0e10cSrcweir<bookmark_value>drawing;lines</bookmark_value>
38cdf0e10cSrcweir</bookmark>
39cdf0e10cSrcweir<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>
40cdf0e10cSrcweir</variable></paragraph>
41cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148868" xml-lang="en-US" l10n="CHG" oldref="4">The <emph>Curve</emph> icon
42cdf0e10cSrcweir<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>
43221d1e73Smseidel</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>
44cdf0e10cSrcweir<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>
45cdf0e10cSrcweir<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>
46cdf0e10cSrcweir<list type="unordered">
47cdf0e10cSrcweir<listitem>
48cdf0e10cSrcweir<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>
49cdf0e10cSrcweir</listitem>
50cdf0e10cSrcweir<listitem>
51cdf0e10cSrcweir<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>
52cdf0e10cSrcweir</listitem>
53cdf0e10cSrcweir<listitem>
54cdf0e10cSrcweir<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>
55cdf0e10cSrcweir</listitem>
56cdf0e10cSrcweir</list>
57cdf0e10cSrcweir<paragraph role="heading" id="hd_id46388" xml-lang="en-US" level="2" l10n="NEW">How to use the Curve tool</paragraph>
58cdf0e10cSrcweir<list type="ordered">
59cdf0e10cSrcweir<listitem>
60cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155262" xml-lang="en-US" l10n="CHG" oldref="5">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
61cdf0e10cSrcweir<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>
62221d1e73Smseidel</image> and select the <emph>Curve</emph>
63cdf0e10cSrcweir<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>
64221d1e73Smseidel</image> tool.</paragraph>
65cdf0e10cSrcweir</listitem>
66cdf0e10cSrcweir<listitem>
67*6d4128cdSmseidel<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>
68cdf0e10cSrcweir<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>
69cdf0e10cSrcweir</listitem>
70cdf0e10cSrcweir<listitem>
71cdf0e10cSrcweir<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>
72cdf0e10cSrcweir</listitem>
73cdf0e10cSrcweir<listitem>
74221d1e73Smseidel<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>
75cdf0e10cSrcweir</listitem>
76cdf0e10cSrcweir<listitem>
77cdf0e10cSrcweir<paragraph role="paragraph" id="par_id1556443" xml-lang="en-US" l10n="NEW">Do one of the following:</paragraph>
78cdf0e10cSrcweir</listitem>
79cdf0e10cSrcweir</list>
80cdf0e10cSrcweir<list type="unordered">
81cdf0e10cSrcweir<listitem>
82*6d4128cdSmseidel<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>
83cdf0e10cSrcweir<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>
84cdf0e10cSrcweir</listitem>
85cdf0e10cSrcweir<listitem>
86cdf0e10cSrcweir<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>
87cdf0e10cSrcweir</listitem>
88cdf0e10cSrcweir<listitem>
89cdf0e10cSrcweir<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>
90cdf0e10cSrcweir</listitem>
91cdf0e10cSrcweir</list>
92cdf0e10cSrcweir<paragraph role="heading" id="hd_id2071596" xml-lang="en-US" level="2" l10n="NEW">How to use the Freeform Line tool</paragraph>
93cdf0e10cSrcweir<list type="ordered">
94cdf0e10cSrcweir<listitem>
95cdf0e10cSrcweir<paragraph role="paragraph" id="par_id4907681" xml-lang="en-US" l10n="NEW">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
96cdf0e10cSrcweir<image id="Graphic2" src="res/commandimagelist/sc_linetoolbox.png" width="0.222inch" height="0.222inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
97221d1e73Smseidel</image> and select the <emph>Freeform Line</emph>
98cdf0e10cSrcweir<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>
99221d1e73Smseidel</image> tool.</paragraph>
100cdf0e10cSrcweir</listitem>
101cdf0e10cSrcweir<listitem>
102cdf0e10cSrcweir<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>
103cdf0e10cSrcweir</listitem>
104cdf0e10cSrcweir<listitem>
105cdf0e10cSrcweir<paragraph role="paragraph" id="par_id5792107" xml-lang="en-US" l10n="NEW">Draw the freeform line as you would do with a pencil.</paragraph>
106cdf0e10cSrcweir</listitem>
107cdf0e10cSrcweir<listitem>
108cdf0e10cSrcweir<paragraph role="paragraph" id="par_id7734916" xml-lang="en-US" l10n="NEW">Release the mouse button to finish the line.</paragraph>
109cdf0e10cSrcweir</listitem>
110cdf0e10cSrcweir</list>
111cdf0e10cSrcweir<section id="relatedtopics">
112cdf0e10cSrcweir<embed href="text/simpress/guide/line_edit.xhp#line_edit"/>
113cdf0e10cSrcweir<embed href="text/simpress/guide/vectorize.xhp#vectorize"/>
114cdf0e10cSrcweir<embed href="text/simpress/guide/3d_create.xhp#3d_create"/>
115cdf0e10cSrcweir<embed href="text/simpress/guide/text2curve.xhp#text2curve"/>
116cdf0e10cSrcweir</section>
117cdf0e10cSrcweir</body>
118cdf0e10cSrcweir</helpdocument>
119