~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to build/doc/manual_26.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2009-12-11 21:22:35 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091211212235-5iio4nzpra64snab
Tags: 7.0.10-1
* New upstream.  Closes: #551192.
  - New build-depends: libcairo2-dev, liblua5.1-0-dev, gsfonts
  - patches/config.diff: Remove.  Upstream build system replaced.
  - Runtime lib package changed to libipe7.0.10 from libipe1c2a
  - Devel package renamed to libipe-dev (from libipe1-dev)
  - Package ipe depends on lua5.1 due to ipe-update-master.

* rules: Re-write to use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
3
   "DTD/xhtml1-transitional.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml">
 
5
<!-- XML file produced from file: manual.tex
 
6
     using Hyperlatex v 2.6 (c) Otfried Cheong
 
7
     on Emacs 22.2.1, Wed Dec  9 15:44:22 2009 -->
 
8
<head>
 
9
<title>Ipe Manual -- 5.5 Examples</title>
 
10
 
 
11
<style type="text/css">
 
12
.maketitle { text-align : center }
 
13
div.abstract { margin-left: 20%; margin-right: 10%; }
 
14
h3.abstract  { text-align : center }
 
15
div.verse, div.quote, div.quotation {
 
16
  margin-left : 10%; 
 
17
  margin-right : 10%;
 
18
}
 
19
</style>
 
20
 
 
21
<link rel="stylesheet"
 
22
        href="manual.css" type="text/css"><meta http-equiv="Content-Type" 
 
23
        content="text/html; charset=UTF-8">
 
24
</head>
 
25
<body bgcolor="#ffffe6">
 
26
<table width="100%" cellpadding=0 cellspacing=2><tr>
 
27
    <td bgcolor="#99ccff"><img alt="" src="blank.png"></td><td bgcolor="#99ccff"><a href="manual_21.html"><img border="0" alt="5 Snapping" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_25.html"><img border="0" alt="5.4 Interaction of the snapping modes" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>5.5 Examples</b></td></tr></table>
 
28
<h2>5.5 Examples</h2>
 
29
 
 
30
<p>It takes some time and practice to feel fully at ease with the different
 
31
snapping modes, especially angular snapping. Here are some examples
 
32
showing what can be done with angular snapping.
 
33
 
 
34
<h4><a name="id1">Example 1:</a></h4>
 
35
 
 
36
We are given segments <i>s<sub>1</sub></i>, <i>s<sub>2</sub></i>, and <i>e</i>, and we want
 
37
to add the dashed vertical extensions through <i>p</i> and <i>q</i>.
 
38
<div align="center"><p>
 
39
  <object type="image/svg+xml" data="example1.svg"
 
40
      name="example1"></object>
 
41
</p></div>
 
42
<ul class="menu"><li>set <kbd>F4</kbd> and <kbd>F5</kbd> snapping on, go into <em>line</em> mode, and
 
43
  reset axis system with <kbd>Shift-F2</kbd>,
 
44
<li>go near <i>p</i>, press <kbd>F1</kbd> and <kbd>F8</kbd> to set origin and
 
45
  to turn on angular snap.
 
46
<li>go near <i>p'</i>, click left, and extend segment to <i>s<sub>2</sub></i>.
 
47
<li>go near <i>q</i>, press <kbd>F1</kbd> to reset origin, and draw second
 
48
  extension in the same way.
 
49
</ul>
 
50
 
 
51
<h4><a name="id2">Example 2:</a></h4>
 
52
We are given the polygon <i>C</i>, and we want to draw the bracket
 
53
<i>b</i>, indicating its vertical extension.
 
54
<div align="center"><p>
 
55
  <object type="image/svg+xml" data="example2.svg"
 
56
      name="example2"></object>
 
57
</p></div>
 
58
<ul class="menu"><li>set <kbd>F4</kbd> and <kbd>F9</kbd> snapping on, go into <em>line</em> mode, reset
 
59
  axis system, set snap angle to
 
60
90 degrees.
 
61
<li>go near <i>p</i>, press <kbd>F1</kbd> and <kbd>F8</kbd> to set origin and
 
62
  angular snapping
 
63
<li>go to <i>x</i>, click left, extend segment to <i>y</i>, click left
 
64
<li>now we want to have <i>z</i> on a horizontal line through <i>q</i>:
 
65
  go near <i>q</i>, and press <kbd>F1</kbd> and <kbd>F8</kbd> to reset origin
 
66
  and to turn on angular snapping. Now both angular snapping modes are
 
67
  on, the snap lines intersect in <i>z</i>.
 
68
<li>click left at <i>z</i>, goto <i>x</i> and press <kbd>F1</kbd>, goto
 
69
  <i>t</i> and finish bracket.
 
70
</ul>
 
71
 
 
72
<h4><a name="id3">Example 3:</a></h4>
 
73
We want to draw the following "skyline". The only problem is to get
 
74
<i>q</i> horizontally aligned with <i>p</i>.
 
75
<div align="center"><p>
 
76
  <object type="image/svg+xml" data="example3.svg"
 
77
      name="example3"></object>
 
78
</p></div>
 
79
<ul class="menu"><li>draw the baseline using automatic angular snapping to get it
 
80
horizontal.
 
81
<li>place <i>p</i> with boundary snapping, draw the rectilinear curve up to
 
82
<i>r</i> with automatic angular snapping in
 
83
90 degrees mode.
 
84
<li>now go to <i>p</i> and press <kbd>F1</kbd> and <kbd>F8</kbd>. The snap lines
 
85
intersect in <i>q</i>. Click there, turn off angular snapping with
 
86
<kbd>Shift-F2</kbd>, and finish curve.  The last point is placed with
 
87
boundary snapping.
 
88
</ul>
 
89
 
 
90
<h4><a name="id4">Example 4:</a></h4>
 
91
 
 
92
We want to draw a line through <i>p</i>, tangent to <i>C</i> in
 
93
<i>q</i>.
 
94
<div align="center"><p>
 
95
  <object type="image/svg+xml" data="example4.svg"
 
96
      name="example4"></object>
 
97
</p></div>
 
98
<ul class="menu"><li>with vertex snapping on, put origin at <i>p</i> with <kbd>F1</kbd>
 
99
<li>go to <i>q</i> and press <kbd>F2</kbd>. This puts the base direction from
 
100
  <i>p</i> to <i>q</i>.
 
101
<li>set angular snapping with <kbd>F8</kbd> and draw line.
 
102
</ul>
 
103
 
 
104
<h4><a name="id5">Example 5:</a></h4>
 
105
We want to draw the following "windmill".  The angle of the sector and
 
106
between sectors should be
 
107
30 degrees.
 
108
<div align="center"><p>
 
109
  <object type="image/svg+xml" data="example5.svg"
 
110
      name="example5"></object>
 
111
</p></div>
 
112
<ul class="menu"><li>set vertex snapping, snap angle to
 
113
30 degrees,
 
114
reset axis system with <kbd>Shift-F1</kbd>,
 
115
<li>with automatic angular snapping, draw a horizontal segment <i>pq</i>.
 
116
<li>go to <i>p</i>, place origin and turn on angular snapping with
 
117
<kbd>F1</kbd> and <kbd>F8</kbd>,
 
118
<li>duplicate segment with <kbd>d</kbd>, go to <i>q</i> and pick up <i>q</i> for
 
119
rotation (with <font color="#0000ff">Ctrl</font> and the middle mouse button).  Rotate until
 
120
segment falls on the next snap line.
 
121
<li>turn off angular snapping with <kbd>F8</kbd>. Choose arc mode, variant
 
122
"center &#38; two points".
 
123
<li>go to <i>p</i>, click for center. Go to <i>q</i>, click for first
 
124
endpoint of arc, and at <i>r</i> for the second endpoint. Select all,
 
125
and group.
 
126
<li>turn angular snapping on again. Duplicate sector, and rotate by
 
127
60 degrees
 
128
using angular snapping.
 
129
<li>duplicate and rotate four more times.
 
130
</ul>
 
131
 
 
132
<h4><a name="id6">Example 6:</a></h4>
 
133
 
 
134
 
 
135
We want to draw a <i>c</i>-oriented polygon, where the angles between
 
136
successive segments are multiples of
 
137
30 degrees.
 
138
The automatic angular snapping mode makes this pretty easy, but there is a
 
139
little catch: How do we place the ultimate vertex such that it is at the
 
140
same time properly aligned to the penultimate and to the very first vertex?
 
141
<div align="center"><p>
 
142
  <object type="image/svg+xml" data="example6.svg"
 
143
      name="example6"></object>
 
144
</p></div>
 
145
<ul class="menu"><li>set snap angle to
 
146
30 degrees,
 
147
and turn on automatic angular snapping.
 
148
<li>click first vertex <i>p</i> and draw the polygon up to the penultimate
 
149
vertex <i>q</i>.
 
150
<li>it remains to place <i>r</i> such that it is in a legal position both
 
151
with respect to <i>q</i> and <i>p</i>. The automatic angular snapping
 
152
mode ensures the position with respect to&nbsp;<i>q</i>. We will use
 
153
angular snapping from&nbsp;<i>p</i> to get it right: Go near <i>p</i> and
 
154
turn on vertex snapping. Press <kbd>F1</kbd> to place the origin
 
155
at&nbsp;<i>p</i> and <kbd>F8</kbd> to turn on angular snapping. Now it is
 
156
trivial to place&nbsp;<i>r</i>.
 
157
</ul>
 
158
<hr />
 
159
<table width="100%" cellpadding=0 cellspacing=2><tr>
 
160
    <td bgcolor="#99ccff"><img alt="" src="blank.png"></td><td bgcolor="#99ccff"><a href="manual_21.html"><img border="0" alt="5 Snapping" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_25.html"><img border="0" alt="5.4 Interaction of the snapping modes" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>5.5 Examples</b></td></tr></table></body></html>