Gestion multilingue des noms des elements

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@32 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet 2006-11-20 17:46:13 +00:00
parent f1c5d494b3
commit 6305019380
23 changed files with 492 additions and 307 deletions

View File

@ -7,7 +7,8 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
elmt_etat = -1; elmt_etat = -1;
// le fichier doit exister // le fichier doit exister
if (!QFileInfo(nomfichier).exists()) { QFileInfo infos_file(nomfichier);
if (!infos_file.exists() || !infos_file.isFile()) {
if (etat != NULL) *etat = 1; if (etat != NULL) *etat = 1;
elmt_etat = 1; elmt_etat = 1;
return; return;
@ -40,7 +41,6 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
// ces attributs doivent etre presents et valides // ces attributs doivent etre presents et valides
int w, h, hot_x, hot_y; int w, h, hot_x, hot_y;
if ( if (
racine.attribute("nom") == QString("") ||\
!attributeIsAnInteger(racine, QString("width"), &w) ||\ !attributeIsAnInteger(racine, QString("width"), &w) ||\
!attributeIsAnInteger(racine, QString("height"), &h) ||\ !attributeIsAnInteger(racine, QString("height"), &h) ||\
!attributeIsAnInteger(racine, QString("hotspot_x"), &hot_x) ||\ !attributeIsAnInteger(racine, QString("hotspot_x"), &hot_x) ||\
@ -52,8 +52,7 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
return; return;
} }
// on peut d'ores et deja specifier le nom, la taille et le hotspot // on peut d'ores et deja specifier la taille et le hotspot
priv_nom = racine.attribute("nom");
setSize(w, h); setSize(w, h);
setHotspot(QPoint(hot_x, hot_y)); setHotspot(QPoint(hot_x, hot_y));
setConnexionsInternesAcceptees(racine.attribute("ci") == "true"); setConnexionsInternesAcceptees(racine.attribute("ci") == "true");
@ -64,8 +63,7 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
return; return;
} }
// parcours des enfants de la definition // initialisation du QPainter (pour dessiner l'element)
int nb_elements_parses = 0;
QPainter qp; QPainter qp;
qp.begin(&dessin); qp.begin(&dessin);
QPen t; QPen t;
@ -73,16 +71,53 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
t.setWidthF(1.0); t.setWidthF(1.0);
t.setJoinStyle(Qt::MiterJoin); t.setJoinStyle(Qt::MiterJoin);
qp.setPen(t); qp.setPen(t);
// recupere les deux premiers caracteres de la locale en cours du systeme
QString system_language = QLocale::system().name().left(2);
// au depart, le nom de l'element est celui du fichier le decrivant
bool name_found = false;
QString name_elmt = infos_file.baseName();
// parcours des enfants de la definition : noms et parties du dessin
int nb_elements_parses = 0;
for (QDomNode node = racine.firstChild() ; !node.isNull() ; node = node.nextSibling()) { for (QDomNode node = racine.firstChild() ; !node.isNull() ; node = node.nextSibling()) {
QDomElement elmts = node.toElement(); QDomElement elmts = node.toElement();
if(elmts.isNull()) continue; if (elmts.isNull()) continue;
if (parseElement(elmts, qp, s)) ++ nb_elements_parses; if (elmts.tagName() == "names") {
else { // gestion des noms de l'element
if (etat != NULL) *etat = 7; if (name_found) continue;
elmt_etat = 7; for (QDomNode n = node.firstChild() ; !n.isNull() ; n = n.nextSibling()) {
return; QDomElement qde = n.toElement();
if (qde.isNull() || qde.tagName() != "name" || !qde.hasAttribute("lang")) continue;
if (qde.attribute("lang") == system_language) {
name_elmt = qde.text();
name_found = true;
break;
} else if (qde.attribute("lang") == "en") {
name_elmt = qde.text();
}
}
} else if (elmts.tagName() == "description") {
// gestion de la description graphique de l'element
// = parcours des differentes parties du dessin
for (QDomNode n = node.firstChild() ; !n.isNull() ; n = n.nextSibling()) {
QDomElement qde = n.toElement();
if (qde.isNull()) continue;
if (parseElement(qde, qp, s)) ++ nb_elements_parses;
else {
if (etat != NULL) *etat = 7;
elmt_etat = 7;
return;
}
}
} }
} }
// on garde le nom trouve
priv_nom = name_elmt;
// fin du dessin
qp.end(); qp.end();
// il doit y avoir au moins un element charge // il doit y avoir au moins un element charge

View File

@ -1,14 +1,21 @@
<definition type="element" nom="Bobine" width="100" height="90" hotspot_x="25" hotspot_y="45" orientation="dnnn"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Bobine--> <definition type="element" width="100" height="90" hotspot_x="25" hotspot_y="45" orientation="dnnn">
<ligne x1="-20" y1="-20" x2="-20" y2="20" antialias="false" style="normal" /> <names>
<ligne x1="-20" y1="20" x2="40" y2="20" antialias="false" style="normal" /> <name lang="fr">Bobine</name>
<ligne x1="40" y1="20" x2="40" y2="-20" antialias="false" style="normal" /> <name lang="en">Coil</name>
<ligne x1="40" y1="-20" x2="-20" y2="-20" antialias="false" style="normal" /> </names>
<!--Fils--> <description>
<ligne x1="0" y1="-20" x2="0" y2="-40" antialias="false" style="normal" /> <!--Bobine-->
<ligne x1="0" y1="20" x2="0" y2="40" antialias="false" style="normal" /> <ligne x1="-20" y1="-20" x2="-20" y2="20" antialias="false" style="normal" />
<!--Borne A2--> <ligne x1="-20" y1="20" x2="40" y2="20" antialias="false" style="normal" />
<borne orientation="s" x="0" y="40" /> <ligne x1="40" y1="20" x2="40" y2="-20" antialias="false" style="normal" />
<!--Borne A1--> <ligne x1="40" y1="-20" x2="-20" y2="-20" antialias="false" style="normal" />
<borne orientation="n" x="0" y="-40" /> <!--Fils-->
<ligne x1="0" y1="-20" x2="0" y2="-40" antialias="false" style="normal" />
<ligne x1="0" y1="20" x2="0" y2="40" antialias="false" style="normal" />
<!--Borne A2-->
<borne orientation="s" x="0" y="40" />
<!--Borne A1-->
<borne orientation="n" x="0" y="-40" />
</description>
</definition> </definition>

View File

@ -1,14 +1,21 @@
<definition type="element" nom="Bouton Poussoir" width="35" height="70" hotspot_x="30" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="35" height="70" hotspot_x="30" hotspot_y="5" orientation="dnny">
<ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Bouton poussoir</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">Push-button</name>
<!--Poussoir--> </names>
<ligne x1="-20" y1="20" x2="-20" y2="40" antialias="false" style="dashed" /> <description>
<ligne x1="-20" y1="20" x2="-15" y2="20" antialias="false" style="dashed" /> <!--Contact-->
<ligne x1="-20" y1="40" x2="-15" y2="40" antialias="false" style="dashed" /> <ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<ligne x1="-20" y1="30" x2="-5" y2="30" antialias="false" style="dashed" /> <ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<!--Bornes--> <ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<borne orientation="n" x="0" y="0" /> <!--Poussoir-->
<borne orientation="s" x="0" y="60" /> <ligne x1="-20" y1="20" x2="-20" y2="40" antialias="false" style="dashed" />
<ligne x1="-20" y1="20" x2="-15" y2="20" antialias="false" style="dashed" />
<ligne x1="-20" y1="40" x2="-15" y2="40" antialias="false" style="dashed" />
<ligne x1="-20" y1="30" x2="-5" y2="30" antialias="false" style="dashed" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,15 +1,22 @@
<definition type="element" nom="Bouton Poussoir NF" width="45" height="70" hotspot_x="30" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="45" height="70" hotspot_x="30" hotspot_y="5" orientation="dnny">
<ligne x1="10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Bouton Poussoir NF</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">Push-button NF</name>
<ligne x1="15" y1="20" x2="0" y2="20" antialias="false" style="normal" /> </names>
<!--Poussoir--> <description>
<ligne x1="-20" y1="20" x2="-20" y2="40" antialias="false" style="dashed" /> <!--Contact-->
<ligne x1="-20" y1="20" x2="-15" y2="20" antialias="false" style="dashed" /> <ligne x1="10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<ligne x1="-20" y1="40" x2="-15" y2="40" antialias="false" style="dashed" /> <ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<ligne x1="-20" y1="30" x2="5" y2="30" antialias="false" style="dashed" /> <ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<!--Bornes--> <ligne x1="15" y1="20" x2="0" y2="20" antialias="false" style="normal" />
<borne orientation="n" x="0" y="0" /> <!--Poussoir-->
<borne orientation="s" x="0" y="60" /> <ligne x1="-20" y1="20" x2="-20" y2="40" antialias="false" style="dashed" />
<ligne x1="-20" y1="20" x2="-15" y2="20" antialias="false" style="dashed" />
<ligne x1="-20" y1="40" x2="-15" y2="40" antialias="false" style="dashed" />
<ligne x1="-20" y1="30" x2="5" y2="30" antialias="false" style="dashed" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,12 +1,19 @@
<definition type="element" nom="Contact Capteur TOR" width="20" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="20" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny">
<ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Contact Capteur TOR</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">AoN Transducer Contact</name>
<!--Partie Capteur--> </names>
<ligne x1="-7.5" y1="25" x2="-7.5" y2="35" antialias="false" style="normal" /> <description>
<ligne x1="-7.5" y1="35" x2="-2.5" y2="35" antialias="false" style="normal" /> <!--Contact-->
<!--Bornes--> <ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<borne orientation="n" x="0" y="0" /> <ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<borne orientation="s" x="0" y="60" /> <ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<!--Partie Capteur-->
<ligne x1="-7.5" y1="25" x2="-7.5" y2="35" antialias="false" style="normal" />
<ligne x1="-7.5" y1="35" x2="-2.5" y2="35" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,14 +1,20 @@
<definition type="element" nom="Capteur NF" width="45" <!DOCTYPE definition SYSTEM "definition_element.dtd">
height="70" hotspot_x="20" hotspot_y="5" orientation="dnny"> <definition type="element" width="45" height="70" hotspot_x="20" hotspot_y="5" orientation="dnny">
<!--Contact--> <names>
<ligne x1="10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <name lang="fr">Capteur NF</name>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="en">Transducer NF</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> </names>
<ligne x1="15" y1="20" x2="0" y2="20" antialias="false" style="normal" /> <description>
<!--Modification Capteur--> <!--Contact-->
<ligne x1="2.5" y1="25" x2="2.5" y2="35" antialias="false" style="normal" /> <ligne x1="10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<ligne x1="7.5" y1="25" x2="2.5" y2="25" antialias="false" style="normal" /> <ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<!--Bornes--> <ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<borne orientation="n" x="0" y="0" /> <ligne x1="15" y1="20" x2="0" y2="20" antialias="false" style="normal" />
<borne orientation="s" x="0" y="60" /> <!--Modification Capteur-->
<ligne x1="2.5" y1="25" x2="2.5" y2="35" antialias="false" style="normal" />
<ligne x1="7.5" y1="25" x2="2.5" y2="25" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,9 +1,16 @@
<definition type="element" nom="Contact" width="20" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="20" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny">
<ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Contact</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">Contact</name>
<!--Bornes--> </names>
<borne orientation="n" x="0" y="0" /> <description>
<borne orientation="s" x="0" y="60" /> <!--Contact-->
<ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,10 +1,17 @@
<definition type="element" nom="Contact NF" width="45" height="70" hotspot_x="20" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="45" height="70" hotspot_x="20" hotspot_y="5" orientation="dnny">
<ligne x1="10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Contact NF</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">Contact NF</name>
<ligne x1="15" y1="20" x2="0" y2="20" antialias="false" style="normal" /> </names>
<!--Bornes--> <description>
<borne orientation="n" x="0" y="0" /> <!--Contact-->
<borne orientation="s" x="0" y="60" /> <ligne x1="10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<ligne x1="15" y1="20" x2="0" y2="20" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,12 +1,19 @@
<definition type="element" nom="Disjoncteur" width="25" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="25" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny">
<ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Disjoncteur</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">Circuit-breaker</name>
<!--Partie Disjoncteur--> </names>
<ligne x1="-5" y1="19" x2="5" y2="9" antialias="true" style="normal" /> <description>
<ligne x1="5" y1="19" x2="-5" y2="9" antialias="true" style="normal" /> <!--Contact-->
<!--Bornes--> <ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<borne orientation="n" x="0" y="0" /> <ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<borne orientation="s" x="0" y="60" /> <ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<!--Partie Disjoncteur-->
<ligne x1="-5" y1="19" x2="5" y2="9" antialias="true" style="normal" />
<ligne x1="5" y1="19" x2="-5" y2="9" antialias="true" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,14 +1,21 @@
<definition type="element" nom="Disjoncteur-sectionneur" width="25" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="25" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny">
<ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Disjoncteur-sectionneur</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">Disconnecting circuit-breaker</name>
<!--Partie Disjoncteur--> </names>
<ligne x1="-5" y1="19" x2="5" y2="9" antialias="true" style="normal" /> <description>
<ligne x1="5" y1="19" x2="-5" y2="9" antialias="true" style="normal" /> <!--Contact-->
<!--Partie sectioneur--> <ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<ligne x1="-5" y1="20" x2="5" y2="20" antialias="false" style="normal" /> <ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<!--Bornes--> <ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<borne orientation="n" x="0" y="0" /> <!--Partie Disjoncteur-->
<borne orientation="s" x="0" y="60" /> <ligne x1="-5" y1="19" x2="5" y2="9" antialias="true" style="normal" />
<ligne x1="5" y1="19" x2="-5" y2="9" antialias="true" style="normal" />
<!--Partie sectioneur-->
<ligne x1="-5" y1="20" x2="5" y2="20" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,11 +1,18 @@
<definition type="element" nom="Sectioneur" width="25" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Contact--> <definition type="element" width="25" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny">
<ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Sectioneur</name>
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <name lang="en">Disconnecting switch</name>
<!--Partie Sectionneur--> </names>
<ligne x1="-5" y1="20" x2="5" y2="20" antialias="false" style="normal" /> <description>
<!--Bornes--> <!--Contact-->
<borne orientation="n" x="0" y="0" /> <ligne x1="-10" y1="20" x2="0" y2="40" antialias="true" style="normal" />
<borne orientation="s" x="0" y="60" /> <ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<!--Partie Sectionneur-->
<ligne x1="-5" y1="20" x2="5" y2="20" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,7 +1,6 @@
<!ELEMENT definition (borne+|ligne*|cercle*|polygone*)+> <!ELEMENT definition (names+|description+)>
<!ATTLIST definition <!ATTLIST definition
type CDATA #FIXED "element" type CDATA #FIXED "element"
nom CDATA #REQUIRED
width CDATA #REQUIRED width CDATA #REQUIRED
height CDATA #REQUIRED height CDATA #REQUIRED
hotspot_x CDATA #REQUIRED hotspot_x CDATA #REQUIRED
@ -9,6 +8,13 @@
orientation CDATA "dnnn" orientation CDATA "dnnn"
> >
<!ELEMENT names (name)+>
<!ELEMENT name (#PCDATA)>
<!ATTLIST name lang CDATA #REQUIRED>
<!ELEMENT description (borne+|ligne*|cercle*|polygone*)+>
<!ELEMENT borne EMPTY> <!ELEMENT borne EMPTY>
<!ATTLIST borne <!ATTLIST borne
x CDATA #REQUIRED x CDATA #REQUIRED

View File

@ -1,13 +1,19 @@
<!DOCTYPE definition SYSTEM "definition_element.dtd"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<definition type="element" nom="del" width="30" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny"> <definition type="element" width="30" height="70" hotspot_x="15" hotspot_y="5" orientation="dnny">
<!--Lampe--> <names>
<cercle x="-10" y="20" rayon="20" antialias="true" style="normal" /> <name lang="fr">DEL</name>
<ligne x1="-7" y1="23" x2="7" y2="37" antialias="true" style="normal" /> <name lang="en">LED</name>
<ligne x1="7" y1="23" x2="-7" y2="37" antialias="true" style="normal" /> </names>
<!--Fils--> <description>
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" /> <!--Lampe-->
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" /> <cercle x="-10" y="20" rayon="20" antialias="true" style="normal" />
<!--Bornes--> <ligne x1="-7" y1="23" x2="7" y2="37" antialias="true" style="normal" />
<borne orientation="n" x="0" y="0" /> <ligne x1="7" y1="23" x2="-7" y2="37" antialias="true" style="normal" />
<borne orientation="s" x="0" y="60" /> <!--Fils-->
<ligne x1="0" y1="0" x2="0" y2="20" antialias="false" style="normal" />
<ligne x1="0" y1="40" x2="0" y2="60" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="0" />
<borne orientation="s" x="0" y="60" />
</description>
</definition> </definition>

View File

@ -1,6 +1,12 @@
<!DOCTYPE definition SYSTEM "definition_element.dtd"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<definition type="element" nom="entree" width="20" height="40" hotspot_x="10" hotspot_y="15" orientation="dyyy"> <definition type="element" width="20" height="40" hotspot_x="10" hotspot_y="15" orientation="dyyy">
<polygone x1="-7.5" y1="-13" x2="7.5" y2="-13" x3="0" y3="0" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="0" x2="0" y2="13" antialias="false" style="normal" /> <name lang="fr">Entree</name>
<borne orientation="s" x="0" y="15" /> <name lang="en">Input</name>
</names>
<description>
<polygone x1="-7.5" y1="-13" x2="7.5" y2="-13" x3="0" y3="0" antialias="true" style="normal" />
<ligne x1="0" y1="0" x2="0" y2="13" antialias="false" style="normal" />
<borne orientation="s" x="0" y="15" />
</description>
</definition> </definition>

View File

@ -1,24 +1,31 @@
<definition type="element" nom="Moteur a courant continu" width="45" height="85" hotspot_x="25" hotspot_y="45" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Rotor--> <definition type="element" width="45" height="85" hotspot_x="25" hotspot_y="45" orientation="dnny">
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" /> <names>
<!--Balait inférieur--> <name lang="fr">Moteur a courant continu</name>
<ligne x1="-14" y1="-25" x2="-14" y2="-14" antialias="false" style="normal" /> <name lang="en">Direct-current motor</name>
<ligne x1="14" y1="-25" x2="14" y2="-14" antialias="false" style="normal" /> </names>
<ligne x1="14" y1="-25" x2="-14" y2="-25" antialias="false" style="normal" /> <description>
<!--Fil inférieur--> <!--Rotor-->
<ligne x1="0" y1="-40" x2="0" y2="-25" antialias="false" style="normal" /> <cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<!--Balait supérieur--> <!--Balait inférieur-->
<ligne x1="-14" y1="25" x2="-14" y2="14" antialias="false" style="normal" /> <ligne x1="-14" y1="-25" x2="-14" y2="-14" antialias="false" style="normal" />
<ligne x1="14" y1="25" x2="14" y2="14" antialias="false" style="normal" /> <ligne x1="14" y1="-25" x2="14" y2="-14" antialias="false" style="normal" />
<ligne x1="14" y1="25" x2="-14" y2="25" antialias="false" style="normal" /> <ligne x1="14" y1="-25" x2="-14" y2="-25" antialias="false" style="normal" />
<!--Fil superieur--> <!--Fil inférieur-->
<ligne x1="0" y1="40" x2="0" y2="25" antialias="false" style="normal" /> <ligne x1="0" y1="-40" x2="0" y2="-25" antialias="false" style="normal" />
<!--Lettre M--> <!--Balait supérieur-->
<ligne x1="-10" y1="-10" x2="-10" y2="10" antialias="false" style="normal" /> <ligne x1="-14" y1="25" x2="-14" y2="14" antialias="false" style="normal" />
<ligne x1="-10" y1="-10" x2="0" y2="0" antialias="true" style="normal" /> <ligne x1="14" y1="25" x2="14" y2="14" antialias="false" style="normal" />
<ligne x1="0" y1="0" x2="10" y2="-10" antialias="true" style="normal" /> <ligne x1="14" y1="25" x2="-14" y2="25" antialias="false" style="normal" />
<ligne x1="10" y1="-10" x2="10" y2="10" antialias="false" style="normal" /> <!--Fil superieur-->
<!--Bornes--> <ligne x1="0" y1="40" x2="0" y2="25" antialias="false" style="normal" />
<borne orientation="n" x="0" y="-40" /> <!--Lettre M-->
<borne orientation="s" x="0" y="40" /> <ligne x1="-10" y1="-10" x2="-10" y2="10" antialias="false" style="normal" />
<ligne x1="-10" y1="-10" x2="0" y2="0" antialias="true" style="normal" />
<ligne x1="0" y1="0" x2="10" y2="-10" antialias="true" style="normal" />
<ligne x1="10" y1="-10" x2="10" y2="10" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="0" y="-40" />
<borne orientation="s" x="0" y="40" />
</description>
</definition> </definition>

View File

@ -1,20 +1,27 @@
<definition type="element" nom="Moteur Asyncrone triphasé" width="45" height="65" hotspot_x="25" hotspot_y="45" orientation="dnnn"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" /> <definition type="element" width="45" height="65" hotspot_x="25" hotspot_y="45" orientation="dnnn">
<!--U--> <names>
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" /> <name lang="fr">Moteur asynchrone triphasé</name>
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" /> <name lang="en">Three-phase induction motor</name>
<!--V--> </names>
<ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="normal" /> <description>
<!--W--> <cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" /> <!--U-->
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" /> <ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<!--Lettre M--> <ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<ligne x1="-10" y1="-10" x2="-10" y2="10" antialias="false" style="normal" /> <!--V-->
<ligne x1="-10" y1="-10" x2="0" y2="0" antialias="true" style="normal" /> <ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="normal" />
<ligne x1="0" y1="0" x2="10" y2="-10" antialias="true" style="normal" /> <!--W-->
<ligne x1="10" y1="-10" x2="10" y2="10" antialias="false" style="normal" /> <ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<!--Bornes--> <ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<borne orientation="n" x="-20" y="-40" /> <!--Lettre M-->
<borne orientation="n" x="0" y="-40" /> <ligne x1="-10" y1="-10" x2="-10" y2="10" antialias="false" style="normal" />
<borne orientation="n" x="20" y="-40" /> <ligne x1="-10" y1="-10" x2="0" y2="0" antialias="true" style="normal" />
<ligne x1="0" y1="0" x2="10" y2="-10" antialias="true" style="normal" />
<ligne x1="10" y1="-10" x2="10" y2="10" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="0" y="-40" />
<borne orientation="n" x="20" y="-40" />
</description>
</definition> </definition>

View File

@ -1,32 +1,39 @@
<definition type="element" nom="Moteur Asyncrone triphasé (non couplé)" width="45" height="85" hotspot_x="25" hotspot_y="45" orientation="dnnn"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" /> <definition type="element" width="45" height="85" hotspot_x="25" hotspot_y="45" orientation="dnnn">
<!--U1--> <names>
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" /> <name lang="fr">Moteur Asyncrone triphasé (non couplé)</name>
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" /> <name lang="en">Three-phase induction motor (not coupled)</name>
<!--V1--> </names>
<ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="normal" /> <description>
<!--W1--> <cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" /> <!--U1-->
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" /> <ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<!--U2--> <ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<ligne x1="-20" y1="40" x2="-20" y2="20" antialias="false" style="normal" /> <!--V1-->
<ligne x1="-20" y1="20" x2="-14" y2="14" antialias="true" style="normal" /> <ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="normal" />
<!--V2--> <!--W1-->
<ligne x1="0" y1="40" x2="0" y2="20" antialias="false" style="normal" /> <ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<!--W2--> <ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<ligne x1="20" y1="40" x2="20" y2="20" antialias="false" style="normal" /> <!--U2-->
<ligne x1="20" y1="20" x2="14" y2="14" antialias="true" style="normal" /> <ligne x1="-20" y1="40" x2="-20" y2="20" antialias="false" style="normal" />
<!--Lettre M--> <ligne x1="-20" y1="20" x2="-14" y2="14" antialias="true" style="normal" />
<ligne x1="-10" y1="-10" x2="-10" y2="10" antialias="false" style="normal" /> <!--V2-->
<ligne x1="-10" y1="-10" x2="0" y2="0" antialias="true" style="normal" /> <ligne x1="0" y1="40" x2="0" y2="20" antialias="false" style="normal" />
<ligne x1="0" y1="0" x2="10" y2="-10" antialias="true" style="normal" /> <!--W2-->
<ligne x1="10" y1="-10" x2="10" y2="10" antialias="false" style="normal" /> <ligne x1="20" y1="40" x2="20" y2="20" antialias="false" style="normal" />
<!--Bornes Supérieurs--> <ligne x1="20" y1="20" x2="14" y2="14" antialias="true" style="normal" />
<borne orientation="n" x="-20" y="-40" /> <!--Lettre M-->
<borne orientation="n" x="0" y="-40" /> <ligne x1="-10" y1="-10" x2="-10" y2="10" antialias="false" style="normal" />
<borne orientation="n" x="20" y="-40" /> <ligne x1="-10" y1="-10" x2="0" y2="0" antialias="true" style="normal" />
<!--Bornes Inférieurs--> <ligne x1="0" y1="0" x2="10" y2="-10" antialias="true" style="normal" />
<borne orientation="s" x="-20" y="40" /> <ligne x1="10" y1="-10" x2="10" y2="10" antialias="false" style="normal" />
<borne orientation="s" x="0" y="40" /> <!--Bornes Supérieurs-->
<borne orientation="s" x="20" y="40" /> <borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="0" y="-40" />
<borne orientation="n" x="20" y="-40" />
<!--Bornes Inférieurs-->
<borne orientation="s" x="-20" y="40" />
<borne orientation="s" x="0" y="40" />
<borne orientation="s" x="20" y="40" />
</description>
</definition> </definition>

View File

@ -1,9 +1,16 @@
<definition type="element" nom="Diode" width="25" height="45" hotspot_x="15" hotspot_y="25" orientation="dyyy"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Diode--> <definition type="element" width="25" height="45" hotspot_x="15" hotspot_y="25" orientation="dyyy">
<polygone x1="-10" y1="-10" x2="10" y2="-10" x3="0" y3="10" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="-20" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Diode</name>
<ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" /> <name lang="en">Diode</name>
<!--Bornes--> </names>
<borne orientation="s" x="0" y="20" /> <description>
<borne orientation="n" x="0" y="-20" /> <!--Diode-->
<polygone x1="-10" y1="-10" x2="10" y2="-10" x3="0" y3="10" antialias="true" style="normal" />
<ligne x1="0" y1="-20" x2="0" y2="20" antialias="false" style="normal" />
<ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="s" x="0" y="20" />
<borne orientation="n" x="0" y="-20" />
</description>
</definition> </definition>

View File

@ -1,14 +1,21 @@
<definition type="element" nom="Tyristor" width="40" height="40" hotspot_x="20" hotspot_y="20" orientation="dyyy"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Diode--> <definition type="element" width="40" height="40" hotspot_x="20" hotspot_y="20" orientation="dyyy">
<polygone x1="-10" y1="-10" x2="10" y2="-10" x3="0" y3="10" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="-20" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Thyristor</name>
<ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" /> <name lang="en">Thyristor</name>
<!--Gachette--> </names>
<ligne x1="-5" y1="10" x2="-10" y2="15" antialias="true" style="normal" /> <description>
<ligne x1="-10" y1="15" x2="-15" y2="15" antialias="false" style="normal" /> <!--Diode-->
<!--Borne Diode--> <polygone x1="-10" y1="-10" x2="10" y2="-10" x3="0" y3="10" antialias="true" style="normal" />
<borne orientation="s" x="0" y="20" /> <ligne x1="0" y1="-20" x2="0" y2="20" antialias="false" style="normal" />
<borne orientation="n" x="0" y="-20" /> <ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" />
<!--Borne Gachette--> <!--Gachette-->
<borne orientation="o" x="-15" y="15" /> <ligne x1="-5" y1="10" x2="-10" y2="15" antialias="true" style="normal" />
<ligne x1="-10" y1="15" x2="-15" y2="15" antialias="false" style="normal" />
<!--Borne Diode-->
<borne orientation="s" x="0" y="20" />
<borne orientation="n" x="0" y="-20" />
<!--Borne Gachette-->
<borne orientation="o" x="-15" y="15" />
</description>
</definition> </definition>

View File

@ -1,12 +1,19 @@
<definition type="element" nom="Zener" width="25" height="45" hotspot_x="15" hotspot_y="25" orientation="dyyy"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Diode--> <definition type="element" width="25" height="45" hotspot_x="15" hotspot_y="25" orientation="dyyy">
<polygone x1="-10" y1="-10" x2="10" y2="-10" x3="0" y3="10" antialias="true" style="normal" /> <names>
<ligne x1="0" y1="-20" x2="0" y2="20" antialias="false" style="normal" /> <name lang="fr">Zener</name>
<ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" /> <name lang="en">Zener</name>
<!--Zener--> </names>
<ligne x1="-10" y1="10" x2="-10" y2="5" antialias="false" style="normal" /> <description>
<ligne x1="10" y1="10" x2="10" y2="15" antialias="false" style="normal" /> <!--Diode-->
<!--Bornes--> <polygone x1="-10" y1="-10" x2="10" y2="-10" x3="0" y3="10" antialias="true" style="normal" />
<borne orientation="s" x="0" y="20" /> <ligne x1="0" y1="-20" x2="0" y2="20" antialias="false" style="normal" />
<borne orientation="n" x="0" y="-20" /> <ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" />
<!--Zener-->
<ligne x1="-10" y1="10" x2="-10" y2="5" antialias="false" style="normal" />
<ligne x1="10" y1="10" x2="10" y2="15" antialias="false" style="normal" />
<!--Bornes-->
<borne orientation="s" x="0" y="20" />
<borne orientation="n" x="0" y="-20" />
</description>
</definition> </definition>

View File

@ -1,9 +1,16 @@
<definition type="element" nom="Terre" width="30" height="30" hotspot_x="15" hotspot_y="5" orientation="dnnn"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Terre--> <definition type="element" width="30" height="30" hotspot_x="15" hotspot_y="5" orientation="dnnn">
<ligne x1="0" y1="-0" x2="0" y2="10" antialias="false" style="normal" /> <names>
<ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" /> <name lang="fr">Terre</name>
<ligne x1="-6" y1="14" x2="6" y2="14" antialias="false" style="normal" /> <name lang="en">Ground</name>
<ligne x1="-2" y1="18" x2="2" y2="18" antialias="false" style="normal" /> </names>
<!--Borne--> <description>
<borne orientation="n" x="0" y="0" /> <!--Terre-->
<ligne x1="0" y1="-0" x2="0" y2="10" antialias="false" style="normal" />
<ligne x1="-10" y1="10" x2="10" y2="10" antialias="false" style="normal" />
<ligne x1="-6" y1="14" x2="6" y2="14" antialias="false" style="normal" />
<ligne x1="-2" y1="18" x2="2" y2="18" antialias="false" style="normal" />
<!--Borne-->
<borne orientation="n" x="0" y="0" />
</description>
</definition> </definition>

View File

@ -1,23 +1,30 @@
<definition type="element" nom="Transformateur monophasé" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Transforateur--> <definition type="element" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny">
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" /> <names>
<cercle x="-20" y="0" rayon="40" antialias="true" style="normal" /> <name lang="fr">Transformateur monophasé</name>
<!--Phase 1--> <name lang="en">One-phase transformer</name>
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" /> </names>
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" /> <description>
<!--Neutre 1--> <!--Transforateur-->
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" /> <cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" /> <cercle x="-20" y="0" rayon="40" antialias="true" style="normal" />
<!--Phase 2--> <!--Phase 1-->
<ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" /> <ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" /> <ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<!--Neutre 2--> <!--Neutre 1-->
<ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" /> <ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" /> <ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<!--Bornes supérieurs--> <!--Phase 2-->
<borne orientation="n" x="-20" y="-40" /> <ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" />
<borne orientation="n" x="20" y="-40" /> <ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" />
<!--Bornes inférieurs--> <!--Neutre 2-->
<borne orientation="s" x="-20" y="60" /> <ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" />
<borne orientation="s" x="20" y="60" /> <ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" />
<!--Bornes supérieurs-->
<borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="20" y="-40" />
<!--Bornes inférieurs-->
<borne orientation="s" x="-20" y="60" />
<borne orientation="s" x="20" y="60" />
</description>
</definition> </definition>

View File

@ -1,29 +1,36 @@
<definition type="element" nom="Transformateur triphasé" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny" ci="true"> <!DOCTYPE definition SYSTEM "definition_element.dtd">
<!--Transformateur--> <definition type="element" width="45" height="105" hotspot_x="25" hotspot_y="45" orientation="dnny" ci="true">
<cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" /> <names>
<cercle x="-20" y="0" rayon="40" antialias="true" style="normal" /> <name lang="fr">Transformateur triphasé</name>
<!--U1--> <name lang="en">Three-phase transformer</name>
<ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" /> </names>
<ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" /> <description>
<!--V1--> <!--Transformateur-->
<ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="dashed" /> <cercle x="-20" y="-20" rayon="40" antialias="true" style="normal" />
<!--W1--> <cercle x="-20" y="0" rayon="40" antialias="true" style="normal" />
<ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" /> <!--U1-->
<ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" /> <ligne x1="-20" y1="-40" x2="-20" y2="-20" antialias="false" style="normal" />
<!--U2--> <ligne x1="-20" y1="-20" x2="-14" y2="-14" antialias="true" style="normal" />
<ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" /> <!--V1-->
<ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" /> <ligne x1="0" y1="-40" x2="0" y2="-20" antialias="false" style="dashed" />
<!--V2--> <!--W1-->
<ligne x1="0" y1="60" x2="0" y2="40" antialias="false" style="normal" /> <ligne x1="20" y1="-40" x2="20" y2="-20" antialias="false" style="normal" />
<!--W2--> <ligne x1="20" y1="-20" x2="14" y2="-14" antialias="true" style="normal" />
<ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" /> <!--U2-->
<ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" /> <ligne x1="-20" y1="60" x2="-20" y2="40" antialias="false" style="normal" />
<!--Bornes supérieurs--> <ligne x1="-20" y1="40" x2="-14" y2="34" antialias="true" style="normal" />
<borne orientation="n" x="-20" y="-40" /> <!--V2-->
<borne orientation="n" x="0" y="-40" /> <ligne x1="0" y1="60" x2="0" y2="40" antialias="false" style="normal" />
<borne orientation="n" x="20" y="-40" /> <!--W2-->
<!--Bornes inférieurs--> <ligne x1="20" y1="60" x2="20" y2="40" antialias="false" style="normal" />
<borne orientation="s" x="-20" y="60" /> <ligne x1="20" y1="40" x2="14" y2="34" antialias="true" style="normal" />
<borne orientation="s" x="0" y="60" /> <!--Bornes supérieurs-->
<borne orientation="s" x="20" y="60" /> <borne orientation="n" x="-20" y="-40" />
<borne orientation="n" x="0" y="-40" />
<borne orientation="n" x="20" y="-40" />
<!--Bornes inférieurs-->
<borne orientation="s" x="-20" y="60" />
<borne orientation="s" x="0" y="60" />
<borne orientation="s" x="20" y="60" />
</description>
</definition> </definition>