• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

修訂d2e44ae5f7f5737d48e5aa69315b90807af17ec6 (tree)
時間2011-04-26 02:46:52
作者Hans Breuer <hans@breu...>
CommiterHans Breuer

Log Message

doc: mention align connected

Change Summary

差異

--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -75,6 +75,8 @@ pngfigures = \
7575 graphics/line-styles.png \
7676 graphics/line-caps.png \
7777 graphics/align-top.png \
78+ graphics/align-connected.png \
79+ graphics/align-connected-before.png \
7880 graphics/line-width.png \
7981 graphics/arrow-style.png \
8082 graphics/line_icon.png \
Binary files /dev/null and b/doc/en/graphics/align-connected-before.png differ
Binary files /dev/null and b/doc/en/graphics/align-connected.png differ
Binary files a/doc/en/graphics/align-menu.png and b/doc/en/graphics/align-menu.png differ
--- a/doc/en/usage-objects.xml
+++ b/doc/en/usage-objects.xml
@@ -529,7 +529,7 @@
529529 <title>Objects / Align Options</title>
530530 <screenshot>
531531 <screeninfo>Objects / Align Options</screeninfo>
532- <graphic format="PNG" fileref="graphics/align-menu" srccredit="Mark Dexter" />
532+ <graphic format="PNG" fileref="graphics/align-menu" srccredit="Hans Breuer" />
533533 </screenshot>
534534 </figure>
535535 </para>
@@ -683,7 +683,36 @@
683683 </screenshot>
684684 </figure>
685685 </sect3>
686+
687+ <sect3 id="align-connected">
688+ <title>Align Connected</title>
689+ <para>
690+ The Align Connected command tries to align connected objects, so that the
691+ connecting lines are either horizontal or vertical afterwards.
692+ </para>
693+ <figure>
694+ <title>Before Align Connected</title>
695+ <screenshot>
696+ <screeninfo>Before Align Connected</screeninfo>
697+ <graphic format="PNG" fileref="graphics/align-connected-before" srccredit="Hans Breuer" />
698+ </screenshot>
699+ </figure>
700+ <figure>
701+ <title>After Align Connected</title>
702+ <screenshot>
703+ <screeninfo>After Align Connected</screeninfo>
704+ <graphic format="PNG" fileref="graphics/align-connected" srccredit="Hans Breuer" />
705+ </screenshot>
706+ </figure>
707+ <note><para>
708+ The algorithm used to align connected objects is not fool proof, infact it
709+ is very simple. If the resulting alignment does not match your expectations
710+ use Undo to revert it. A different selection of objects may producae a result
711+ more to your liking.
712+ </para></note>
713+ </sect3>
686714 </sect2>
715+
687716 <sect2 id="grouping-objects">
688717 <title>Grouping Objects</title>
689718 <para>
--- /dev/null
+++ b/samples/align-connected.dia
@@ -0,0 +1,484 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
3+ <dia:diagramdata>
4+ <dia:attribute name="background">
5+ <dia:color val="#ffffffff"/>
6+ </dia:attribute>
7+ <dia:attribute name="pagebreak">
8+ <dia:color val="#000099ff"/>
9+ </dia:attribute>
10+ <dia:attribute name="paper">
11+ <dia:composite type="paper">
12+ <dia:attribute name="name">
13+ <dia:string>#A4#</dia:string>
14+ </dia:attribute>
15+ <dia:attribute name="tmargin">
16+ <dia:real val="1"/>
17+ </dia:attribute>
18+ <dia:attribute name="bmargin">
19+ <dia:real val="1"/>
20+ </dia:attribute>
21+ <dia:attribute name="lmargin">
22+ <dia:real val="1"/>
23+ </dia:attribute>
24+ <dia:attribute name="rmargin">
25+ <dia:real val="1"/>
26+ </dia:attribute>
27+ <dia:attribute name="is_portrait">
28+ <dia:boolean val="false"/>
29+ </dia:attribute>
30+ <dia:attribute name="scaling">
31+ <dia:real val="1"/>
32+ </dia:attribute>
33+ <dia:attribute name="fitto">
34+ <dia:boolean val="false"/>
35+ </dia:attribute>
36+ </dia:composite>
37+ </dia:attribute>
38+ <dia:attribute name="grid">
39+ <dia:composite type="grid">
40+ <dia:attribute name="dynamic">
41+ <dia:boolean val="true"/>
42+ </dia:attribute>
43+ <dia:attribute name="width_x">
44+ <dia:real val="1"/>
45+ </dia:attribute>
46+ <dia:attribute name="width_y">
47+ <dia:real val="1"/>
48+ </dia:attribute>
49+ <dia:attribute name="visible_x">
50+ <dia:int val="1"/>
51+ </dia:attribute>
52+ <dia:attribute name="visible_y">
53+ <dia:int val="1"/>
54+ </dia:attribute>
55+ <dia:composite type="color"/>
56+ </dia:composite>
57+ </dia:attribute>
58+ <dia:attribute name="color">
59+ <dia:color val="#d8e5e5ff"/>
60+ </dia:attribute>
61+ <dia:attribute name="guides">
62+ <dia:composite type="guides">
63+ <dia:attribute name="hguides"/>
64+ <dia:attribute name="vguides"/>
65+ </dia:composite>
66+ </dia:attribute>
67+ <dia:attribute name="display">
68+ <dia:composite type="display">
69+ <dia:attribute name="antialiased">
70+ <dia:boolean val="false"/>
71+ </dia:attribute>
72+ <dia:attribute name="snap-to-grid">
73+ <dia:boolean val="false"/>
74+ </dia:attribute>
75+ <dia:attribute name="snap-to-object">
76+ <dia:boolean val="true"/>
77+ </dia:attribute>
78+ <dia:attribute name="show-grid">
79+ <dia:boolean val="true"/>
80+ </dia:attribute>
81+ <dia:attribute name="show-connection-points">
82+ <dia:boolean val="true"/>
83+ </dia:attribute>
84+ </dia:composite>
85+ </dia:attribute>
86+ </dia:diagramdata>
87+ <dia:layer name="Background" visible="true" active="true">
88+ <dia:object type="Flowchart - Box" version="0" id="O0">
89+ <dia:attribute name="obj_pos">
90+ <dia:point val="2.2,3.35"/>
91+ </dia:attribute>
92+ <dia:attribute name="obj_bb">
93+ <dia:rectangle val="2.2,3.35;4.2,5.15"/>
94+ </dia:attribute>
95+ <dia:attribute name="elem_corner">
96+ <dia:point val="2.2,3.35"/>
97+ </dia:attribute>
98+ <dia:attribute name="elem_width">
99+ <dia:real val="2.0000000000000004"/>
100+ </dia:attribute>
101+ <dia:attribute name="elem_height">
102+ <dia:real val="1.8"/>
103+ </dia:attribute>
104+ <dia:attribute name="border_width">
105+ <dia:real val="0"/>
106+ </dia:attribute>
107+ <dia:attribute name="show_background">
108+ <dia:boolean val="true"/>
109+ </dia:attribute>
110+ <dia:attribute name="padding">
111+ <dia:real val="0.5"/>
112+ </dia:attribute>
113+ <dia:attribute name="text">
114+ <dia:composite type="text">
115+ <dia:attribute name="string">
116+ <dia:string>##</dia:string>
117+ </dia:attribute>
118+ <dia:attribute name="font">
119+ <dia:font family="sans" style="0" name="Helvetica"/>
120+ </dia:attribute>
121+ <dia:attribute name="height">
122+ <dia:real val="0.80000000000000004"/>
123+ </dia:attribute>
124+ <dia:attribute name="pos">
125+ <dia:point val="3.2,4.445"/>
126+ </dia:attribute>
127+ <dia:attribute name="color">
128+ <dia:color val="#000000ff"/>
129+ </dia:attribute>
130+ <dia:attribute name="alignment">
131+ <dia:enum val="1"/>
132+ </dia:attribute>
133+ </dia:composite>
134+ </dia:attribute>
135+ </dia:object>
136+ <dia:object type="Flowchart - Parallelogram" version="0" id="O1">
137+ <dia:attribute name="obj_pos">
138+ <dia:point val="6.89044,2.7"/>
139+ </dia:attribute>
140+ <dia:attribute name="obj_bb">
141+ <dia:rectangle val="6.89044,2.7;8.90956,4.7"/>
142+ </dia:attribute>
143+ <dia:attribute name="elem_corner">
144+ <dia:point val="6.89044,2.7"/>
145+ </dia:attribute>
146+ <dia:attribute name="elem_width">
147+ <dia:real val="2.0191166559453677"/>
148+ </dia:attribute>
149+ <dia:attribute name="elem_height">
150+ <dia:real val="2"/>
151+ </dia:attribute>
152+ <dia:attribute name="border_width">
153+ <dia:real val="0"/>
154+ </dia:attribute>
155+ <dia:attribute name="show_background">
156+ <dia:boolean val="true"/>
157+ </dia:attribute>
158+ <dia:attribute name="shear_angle">
159+ <dia:real val="70"/>
160+ </dia:attribute>
161+ <dia:attribute name="padding">
162+ <dia:real val="0.5"/>
163+ </dia:attribute>
164+ <dia:attribute name="text">
165+ <dia:composite type="text">
166+ <dia:attribute name="string">
167+ <dia:string>##</dia:string>
168+ </dia:attribute>
169+ <dia:attribute name="font">
170+ <dia:font family="sans" style="0" name="Helvetica"/>
171+ </dia:attribute>
172+ <dia:attribute name="height">
173+ <dia:real val="0.80000000000000004"/>
174+ </dia:attribute>
175+ <dia:attribute name="pos">
176+ <dia:point val="7.9,3.895"/>
177+ </dia:attribute>
178+ <dia:attribute name="color">
179+ <dia:color val="#000000ff"/>
180+ </dia:attribute>
181+ <dia:attribute name="alignment">
182+ <dia:enum val="1"/>
183+ </dia:attribute>
184+ </dia:composite>
185+ </dia:attribute>
186+ </dia:object>
187+ <dia:object type="Flowchart - Diamond" version="0" id="O2">
188+ <dia:attribute name="obj_pos">
189+ <dia:point val="11.05,4.25"/>
190+ </dia:attribute>
191+ <dia:attribute name="obj_bb">
192+ <dia:rectangle val="11.05,4.25;14.7713,6.11066"/>
193+ </dia:attribute>
194+ <dia:attribute name="elem_corner">
195+ <dia:point val="11.05,4.25"/>
196+ </dia:attribute>
197+ <dia:attribute name="elem_width">
198+ <dia:real val="3.7213203435596416"/>
199+ </dia:attribute>
200+ <dia:attribute name="elem_height">
201+ <dia:real val="1.8606601717798217"/>
202+ </dia:attribute>
203+ <dia:attribute name="border_width">
204+ <dia:real val="0"/>
205+ </dia:attribute>
206+ <dia:attribute name="show_background">
207+ <dia:boolean val="true"/>
208+ </dia:attribute>
209+ <dia:attribute name="padding">
210+ <dia:real val="0.35355339059327373"/>
211+ </dia:attribute>
212+ <dia:attribute name="text">
213+ <dia:composite type="text">
214+ <dia:attribute name="string">
215+ <dia:string>##</dia:string>
216+ </dia:attribute>
217+ <dia:attribute name="font">
218+ <dia:font family="sans" style="0" name="Helvetica"/>
219+ </dia:attribute>
220+ <dia:attribute name="height">
221+ <dia:real val="0.80000000000000004"/>
222+ </dia:attribute>
223+ <dia:attribute name="pos">
224+ <dia:point val="12.9107,5.37533"/>
225+ </dia:attribute>
226+ <dia:attribute name="color">
227+ <dia:color val="#000000ff"/>
228+ </dia:attribute>
229+ <dia:attribute name="alignment">
230+ <dia:enum val="1"/>
231+ </dia:attribute>
232+ </dia:composite>
233+ </dia:attribute>
234+ </dia:object>
235+ <dia:object type="Flowchart - Ellipse" version="0" id="O3">
236+ <dia:attribute name="obj_pos">
237+ <dia:point val="17.002,6.57599"/>
238+ </dia:attribute>
239+ <dia:attribute name="obj_bb">
240+ <dia:rectangle val="17.002,6.57599;20.098,8.12401"/>
241+ </dia:attribute>
242+ <dia:attribute name="meta">
243+ <dia:composite type="dict"/>
244+ </dia:attribute>
245+ <dia:attribute name="elem_corner">
246+ <dia:point val="17.002,6.57599"/>
247+ </dia:attribute>
248+ <dia:attribute name="elem_width">
249+ <dia:real val="3.0960431843877609"/>
250+ </dia:attribute>
251+ <dia:attribute name="elem_height">
252+ <dia:real val="1.5480215921938805"/>
253+ </dia:attribute>
254+ <dia:attribute name="border_width">
255+ <dia:real val="0"/>
256+ </dia:attribute>
257+ <dia:attribute name="show_background">
258+ <dia:boolean val="true"/>
259+ </dia:attribute>
260+ <dia:attribute name="padding">
261+ <dia:real val="0.35355339059327373"/>
262+ </dia:attribute>
263+ <dia:attribute name="text">
264+ <dia:composite type="text">
265+ <dia:attribute name="string">
266+ <dia:string>##</dia:string>
267+ </dia:attribute>
268+ <dia:attribute name="font">
269+ <dia:font family="sans" style="0" name="Helvetica"/>
270+ </dia:attribute>
271+ <dia:attribute name="height">
272+ <dia:real val="0.80000000000000004"/>
273+ </dia:attribute>
274+ <dia:attribute name="pos">
275+ <dia:point val="18.55,7.545"/>
276+ </dia:attribute>
277+ <dia:attribute name="color">
278+ <dia:color val="#000000ff"/>
279+ </dia:attribute>
280+ <dia:attribute name="alignment">
281+ <dia:enum val="1"/>
282+ </dia:attribute>
283+ </dia:composite>
284+ </dia:attribute>
285+ </dia:object>
286+ <dia:object type="Standard - Line" version="0" id="O4">
287+ <dia:attribute name="obj_pos">
288+ <dia:point val="4.2,4.25"/>
289+ </dia:attribute>
290+ <dia:attribute name="obj_bb">
291+ <dia:rectangle val="4.2,3.54259;7.25441,4.25"/>
292+ </dia:attribute>
293+ <dia:attribute name="conn_endpoints">
294+ <dia:point val="4.2,4.25"/>
295+ <dia:point val="7.25441,3.7"/>
296+ </dia:attribute>
297+ <dia:attribute name="numcp">
298+ <dia:int val="1"/>
299+ </dia:attribute>
300+ <dia:attribute name="line_width">
301+ <dia:real val="0"/>
302+ </dia:attribute>
303+ <dia:attribute name="end_arrow">
304+ <dia:enum val="22"/>
305+ </dia:attribute>
306+ <dia:attribute name="end_arrow_length">
307+ <dia:real val="0.5"/>
308+ </dia:attribute>
309+ <dia:attribute name="end_arrow_width">
310+ <dia:real val="0.5"/>
311+ </dia:attribute>
312+ <dia:connections>
313+ <dia:connection handle="0" to="O0" connection="8"/>
314+ <dia:connection handle="1" to="O1" connection="7"/>
315+ </dia:connections>
316+ </dia:object>
317+ <dia:object type="Standard - Line" version="0" id="O5">
318+ <dia:attribute name="obj_pos">
319+ <dia:point val="8.54559,3.7"/>
320+ </dia:attribute>
321+ <dia:attribute name="obj_bb">
322+ <dia:rectangle val="8.54559,3.7;11.05,5.18033"/>
323+ </dia:attribute>
324+ <dia:attribute name="conn_endpoints">
325+ <dia:point val="8.54559,3.7"/>
326+ <dia:point val="11.05,5.18033"/>
327+ </dia:attribute>
328+ <dia:attribute name="numcp">
329+ <dia:int val="1"/>
330+ </dia:attribute>
331+ <dia:attribute name="line_width">
332+ <dia:real val="0"/>
333+ </dia:attribute>
334+ <dia:attribute name="end_arrow">
335+ <dia:enum val="22"/>
336+ </dia:attribute>
337+ <dia:attribute name="end_arrow_length">
338+ <dia:real val="0.5"/>
339+ </dia:attribute>
340+ <dia:attribute name="end_arrow_width">
341+ <dia:real val="0.5"/>
342+ </dia:attribute>
343+ <dia:connections>
344+ <dia:connection handle="0" to="O1" connection="8"/>
345+ <dia:connection handle="1" to="O2" connection="12"/>
346+ </dia:connections>
347+ </dia:object>
348+ <dia:object type="Standard - Line" version="0" id="O6">
349+ <dia:attribute name="obj_pos">
350+ <dia:point val="14.7713,5.18033"/>
351+ </dia:attribute>
352+ <dia:attribute name="obj_bb">
353+ <dia:rectangle val="14.7713,5.18033;17.002,7.35"/>
354+ </dia:attribute>
355+ <dia:attribute name="conn_endpoints">
356+ <dia:point val="14.7713,5.18033"/>
357+ <dia:point val="17.002,7.35"/>
358+ </dia:attribute>
359+ <dia:attribute name="numcp">
360+ <dia:int val="1"/>
361+ </dia:attribute>
362+ <dia:attribute name="line_width">
363+ <dia:real val="0"/>
364+ </dia:attribute>
365+ <dia:attribute name="end_arrow">
366+ <dia:enum val="22"/>
367+ </dia:attribute>
368+ <dia:attribute name="end_arrow_length">
369+ <dia:real val="0.5"/>
370+ </dia:attribute>
371+ <dia:attribute name="end_arrow_width">
372+ <dia:real val="0.5"/>
373+ </dia:attribute>
374+ <dia:connections>
375+ <dia:connection handle="0" to="O2" connection="4"/>
376+ <dia:connection handle="1" to="O3" connection="8"/>
377+ </dia:connections>
378+ </dia:object>
379+ <dia:object type="Flowchart - Extract" version="1" id="O7">
380+ <dia:attribute name="obj_pos">
381+ <dia:point val="21.15,9.85"/>
382+ </dia:attribute>
383+ <dia:attribute name="obj_bb">
384+ <dia:rectangle val="21.1138,9.77956;23.2362,12.575"/>
385+ </dia:attribute>
386+ <dia:attribute name="meta">
387+ <dia:composite type="dict"/>
388+ </dia:attribute>
389+ <dia:attribute name="elem_corner">
390+ <dia:point val="21.15,9.85"/>
391+ </dia:attribute>
392+ <dia:attribute name="elem_width">
393+ <dia:real val="2.0499999999999972"/>
394+ </dia:attribute>
395+ <dia:attribute name="elem_height">
396+ <dia:real val="2.6999999999999975"/>
397+ </dia:attribute>
398+ <dia:attribute name="line_width">
399+ <dia:real val="0.050000000000000003"/>
400+ </dia:attribute>
401+ <dia:attribute name="line_colour">
402+ <dia:color val="#000000ff"/>
403+ </dia:attribute>
404+ <dia:attribute name="fill_colour">
405+ <dia:color val="#ffffffff"/>
406+ </dia:attribute>
407+ <dia:attribute name="show_background">
408+ <dia:boolean val="true"/>
409+ </dia:attribute>
410+ <dia:attribute name="line_style">
411+ <dia:enum val="0"/>
412+ <dia:real val="1"/>
413+ </dia:attribute>
414+ <dia:attribute name="padding">
415+ <dia:real val="0.10000000000000001"/>
416+ </dia:attribute>
417+ <dia:attribute name="text">
418+ <dia:composite type="text">
419+ <dia:attribute name="string">
420+ <dia:string>##</dia:string>
421+ </dia:attribute>
422+ <dia:attribute name="font">
423+ <dia:font family="sans" style="0" name="Helvetica"/>
424+ </dia:attribute>
425+ <dia:attribute name="height">
426+ <dia:real val="0.80000000000000004"/>
427+ </dia:attribute>
428+ <dia:attribute name="pos">
429+ <dia:point val="22.175,12.075"/>
430+ </dia:attribute>
431+ <dia:attribute name="color">
432+ <dia:color val="#000000ff"/>
433+ </dia:attribute>
434+ <dia:attribute name="alignment">
435+ <dia:enum val="1"/>
436+ </dia:attribute>
437+ </dia:composite>
438+ </dia:attribute>
439+ <dia:attribute name="text_fitting">
440+ <dia:enum val="1"/>
441+ </dia:attribute>
442+ <dia:attribute name="flip_horizontal">
443+ <dia:boolean val="false"/>
444+ </dia:attribute>
445+ <dia:attribute name="flip_vertical">
446+ <dia:boolean val="false"/>
447+ </dia:attribute>
448+ <dia:attribute name="subscale">
449+ <dia:real val="1"/>
450+ </dia:attribute>
451+ </dia:object>
452+ <dia:object type="Standard - Line" version="0" id="O8">
453+ <dia:attribute name="obj_pos">
454+ <dia:point val="18.55,8.12401"/>
455+ </dia:attribute>
456+ <dia:attribute name="obj_bb">
457+ <dia:rectangle val="18.55,8.12401;22.175,9.86072"/>
458+ </dia:attribute>
459+ <dia:attribute name="conn_endpoints">
460+ <dia:point val="18.55,8.12401"/>
461+ <dia:point val="22.175,9.85"/>
462+ </dia:attribute>
463+ <dia:attribute name="numcp">
464+ <dia:int val="1"/>
465+ </dia:attribute>
466+ <dia:attribute name="line_width">
467+ <dia:real val="0"/>
468+ </dia:attribute>
469+ <dia:attribute name="end_arrow">
470+ <dia:enum val="22"/>
471+ </dia:attribute>
472+ <dia:attribute name="end_arrow_length">
473+ <dia:real val="0.5"/>
474+ </dia:attribute>
475+ <dia:attribute name="end_arrow_width">
476+ <dia:real val="0.5"/>
477+ </dia:attribute>
478+ <dia:connections>
479+ <dia:connection handle="0" to="O3" connection="12"/>
480+ <dia:connection handle="1" to="O7" connection="8"/>
481+ </dia:connections>
482+ </dia:object>
483+ </dia:layer>
484+</dia:diagram>