1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- XML file produced from file: manual.tex
using Hyperlatex v 2.6 (c) Otfried Cheong
on Emacs 21.4.1, Sun Dec 24 00:03:19 2006 -->
<head>
<title>Ipe Manual -- 4.2 The current selection</title>
<style type="text/css">
.maketitle { align : center }
div.abstract { margin-left: 20%; margin-right: 10%; }
h3.abstract { align : center }
div.verse, div.quote, div.quotation {
margin-left : 10%;
margin-right : 10%;
}
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffe6">
<table width="100%" cellpadding=0 cellspacing=2><tr><td bgcolor="#99ccff"><a href="manual_7.html"><img border="0" alt="4.3 Moving and scaling objects" src="next.png"></a></td><td bgcolor="#99ccff"><a href="manual_4.html"><img border="0" alt="4 General Concepts" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_5.html"><img border="0" alt="4.1 Order of objects" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>4.2 The current selection</b></td></tr></table>
<h2>4.2 The current selection</h2>
<p>
Whenever you call an Ipe function, you have to specify which objects
the function should operate on. This is done by <em>selecting</em>
objects. The selected objects (the <em>selection</em>) consists of two
parts: the <em>primary</em> selection consists of exactly one object (of
course, this object could be a group). Any additional selected objects
form the <em>secondary</em> selection. Some functions (like <em>Show
properties</em>) operate only on the primary selection, while others treat
primary and secondary selections differently (the align functions, for
instance, align the secondary selections with respect to the primary
selection.)
<p>The selection is shown by outlining the selected object in color. Note
that the primary selection is shown with a slightly different look.
<p><a name="id1">
The</A> primary and secondary selections can be set in selection mode.
Clicking the left mouse button close to an object makes that object
the primary selection and deselects all other objects. If you keep the
Shift key pressed while clicking with the left mouse key, the
object closest to the mouse will be added to or deleted from the
current selection. You can also drag a rectangle with the
mouse--when you release the mouse button, all objects inside the
rectangle will be selected.
<p>To make it easier to select objects that are below or close to other
objects, it is convenient to understand exactly how selecting objects
works. In fact, when you press the mouse button, a list of all
objects is computed that are sufficiently close to the mouse position
(the exact distance can be set as the <em>Select distance</em> in the
<em>preferences dialog</em>). This list is then sorted by increasing
distance from the mouse and by increasing depth in the drawing. If
Shift was not pressed, the current selection is now
cleared. Then the first object in the list is presented. Now, while
still keeping the mouse button pressed, you can use the Space
key to step through the list of objects near the mouse in order of
increasing depth and distance. When you release the right mouse
button, the object is selected (or deselected).
<p>When measuring the distance from the mouse position to objects, Ipe
considers the boundary of objects only. So to select a filled object,
don't just click somewhere in its interior, but close to its boundary.
<p><a name="id2">
Another</A> way to select objects is using the <em>Select all</em> function
from the <em>Edit</em> menu. It selects all objects on the page.
Similarly, the <em>Select all in layer</em> function in the <em>Layer</em>
menu selects all objects in the active layer.
<hr />
<table width="100%" cellpadding=0 cellspacing=2><tr><td bgcolor="#99ccff"><a href="manual_7.html"><img border="0" alt="4.3 Moving and scaling objects" src="next.png"></a></td><td bgcolor="#99ccff"><a href="manual_4.html"><img border="0" alt="4 General Concepts" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_5.html"><img border="0" alt="4.1 Order of objects" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>4.2 The current selection</b></td></tr></table></body></html>
|