[dia] Mention main connection points in custom shape format description.



commit ef2a1a001387aaaf73fe65d20dac652ab8e2770a
Author: Steffen Macke <sdteffen sdteffen de>
Date:   Wed Mar 7 21:25:32 2012 +0100

    Mention main connection points in custom shape format description.

 doc/en/custom-shapes.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/doc/en/custom-shapes.xml b/doc/en/custom-shapes.xml
index 06d6081..b67ccce 100644
--- a/doc/en/custom-shapes.xml
+++ b/doc/en/custom-shapes.xml
@@ -21,6 +21,9 @@
     <para>
       A number of connection points can be associated with the shape, which
       are specified in the same coordinate system as the shape description.
+      One of the connection points should be marked as the main connection
+      point. This main connection point will be used if a line is dragged
+      onto the object but not on one of it's connection points.
     </para>
     <para>
       <emphasis>A</emphasis> text box can be associated with the shape. 
@@ -57,7 +60,7 @@
     <icon>npn.xpm</icon>
     <connections>
       <point x="0" y="0"/>
-      <point x="6" y="-4"/>
+      <point x="6" y="-4" main="yes"/>
       <point x="6" y="4"/>
     </connections>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]