1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir ***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir<helpdocument version="1.0">
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir<topic id="textsimpressguideline_drawxml" indexer="include" status="PUBLISH">
36*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Drawing Curves</title>
37*cdf0e10cSrcweir<filename>/text/simpress/guide/line_draw.xhp</filename>
38*cdf0e10cSrcweir</topic>
39*cdf0e10cSrcweir<history>
40*cdf0e10cSrcweir<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
41*cdf0e10cSrcweir<lastedited date="2006-10-23T14:01:00">FPE: Deleted Screenshot. Cleaned.</lastedited>
42*cdf0e10cSrcweir</history>
43*cdf0e10cSrcweir</meta>
44*cdf0e10cSrcweir<body>
45*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3149377"><bookmark_value>lines; drawing</bookmark_value>
46*cdf0e10cSrcweir<bookmark_value>curves; drawing</bookmark_value>
47*cdf0e10cSrcweir<bookmark_value>control points definition</bookmark_value>
48*cdf0e10cSrcweir<bookmark_value>corner points</bookmark_value>
49*cdf0e10cSrcweir<bookmark_value>drawing;lines</bookmark_value>
50*cdf0e10cSrcweir</bookmark>
51*cdf0e10cSrcweir<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>
52*cdf0e10cSrcweir</variable></paragraph>
53*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148868" xml-lang="en-US" l10n="CHG" oldref="4">The <emph>Curve</emph> icon
54*cdf0e10cSrcweir<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>
55*cdf0e10cSrcweir	</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>
56*cdf0e10cSrcweir<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>
57*cdf0e10cSrcweir<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>
58*cdf0e10cSrcweir<list type="unordered">
59*cdf0e10cSrcweir<listitem>
60*cdf0e10cSrcweir<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>
61*cdf0e10cSrcweir</listitem>
62*cdf0e10cSrcweir<listitem>
63*cdf0e10cSrcweir<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>
64*cdf0e10cSrcweir</listitem>
65*cdf0e10cSrcweir<listitem>
66*cdf0e10cSrcweir<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>
67*cdf0e10cSrcweir</listitem>
68*cdf0e10cSrcweir</list>
69*cdf0e10cSrcweir<paragraph role="heading" id="hd_id46388" xml-lang="en-US" level="2" l10n="NEW">How to use the Curve tool</paragraph>
70*cdf0e10cSrcweir<list type="ordered">
71*cdf0e10cSrcweir<listitem>
72*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155262" xml-lang="en-US" l10n="CHG" oldref="5">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
73*cdf0e10cSrcweir<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>
74*cdf0e10cSrcweir	</image> and select the <emph>Curve</emph>
75*cdf0e10cSrcweir<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>
76*cdf0e10cSrcweir	</image> tool.</paragraph>
77*cdf0e10cSrcweir</listitem>
78*cdf0e10cSrcweir<listitem>
79*cdf0e10cSrcweir<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>
80*cdf0e10cSrcweir<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>
81*cdf0e10cSrcweir</listitem>
82*cdf0e10cSrcweir<listitem>
83*cdf0e10cSrcweir<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>
84*cdf0e10cSrcweir</listitem>
85*cdf0e10cSrcweir<listitem>
86*cdf0e10cSrcweir<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>
87*cdf0e10cSrcweir</listitem>
88*cdf0e10cSrcweir<listitem>
89*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id1556443" xml-lang="en-US" l10n="NEW">Do one of the following:</paragraph>
90*cdf0e10cSrcweir</listitem>
91*cdf0e10cSrcweir</list>
92*cdf0e10cSrcweir<list type="unordered">
93*cdf0e10cSrcweir<listitem>
94*cdf0e10cSrcweir<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>
95*cdf0e10cSrcweir<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>
96*cdf0e10cSrcweir</listitem>
97*cdf0e10cSrcweir<listitem>
98*cdf0e10cSrcweir<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>
99*cdf0e10cSrcweir</listitem>
100*cdf0e10cSrcweir<listitem>
101*cdf0e10cSrcweir<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>
102*cdf0e10cSrcweir</listitem>
103*cdf0e10cSrcweir</list>
104*cdf0e10cSrcweir<paragraph role="heading" id="hd_id2071596" xml-lang="en-US" level="2" l10n="NEW">How to use the Freeform Line tool</paragraph>
105*cdf0e10cSrcweir<list type="ordered">
106*cdf0e10cSrcweir<listitem>
107*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id4907681" xml-lang="en-US" l10n="NEW">On the Drawing toolbar, open the <emph>Curves</emph> toolbar
108*cdf0e10cSrcweir<image id="Graphic2" src="res/commandimagelist/sc_linetoolbox.png" width="0.222inch" height="0.222inch"><alt id="alt_" xml-lang="en-US">Icon</alt>
109*cdf0e10cSrcweir	</image> and select the <emph>Freeform Line</emph>
110*cdf0e10cSrcweir<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>
111*cdf0e10cSrcweir	</image> tool.</paragraph>
112*cdf0e10cSrcweir</listitem>
113*cdf0e10cSrcweir<listitem>
114*cdf0e10cSrcweir<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>
115*cdf0e10cSrcweir</listitem>
116*cdf0e10cSrcweir<listitem>
117*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id5792107" xml-lang="en-US" l10n="NEW">Draw the freeform line as you would do with a pencil.</paragraph>
118*cdf0e10cSrcweir</listitem>
119*cdf0e10cSrcweir<listitem>
120*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id7734916" xml-lang="en-US" l10n="NEW">Release the mouse button to finish the line.</paragraph>
121*cdf0e10cSrcweir</listitem>
122*cdf0e10cSrcweir</list>
123*cdf0e10cSrcweir<section id="relatedtopics">
124*cdf0e10cSrcweir<embed href="text/simpress/guide/line_edit.xhp#line_edit"/>
125*cdf0e10cSrcweir<embed href="text/simpress/guide/vectorize.xhp#vectorize"/>
126*cdf0e10cSrcweir<embed href="text/simpress/guide/3d_create.xhp#3d_create"/>
127*cdf0e10cSrcweir<embed href="text/simpress/guide/text2curve.xhp#text2curve"/>
128*cdf0e10cSrcweir</section>
129*cdf0e10cSrcweir</body>
130*cdf0e10cSrcweir</helpdocument>
131