/usr/share/carmetal/buffer.mcr is in carmetal 3.5.2+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <?xml version="1.0" encoding="utf-8"?>
<CaR>
<Macro Name="Barycentre 2 pts">
<Parameter name="A">Premier point ?</Parameter>
<Parameter name="a">Premier coefficient ?</Parameter>
<Parameter name="C">Deuxième point ?</Parameter>
<Parameter name="c">Deuxième coefficient ?</Parameter>
<Comment>
<P>Désigner deux points pondérés (A,a) et (B,b) pour créer le
barycentre G=Bar{(A,a),(B,b)}</P>
</Comment>
<Objects>
<Point name="A" n="0" mainparameter="true" x="-2.7330316742081453" y="0.9230769230769229">Point à -2.73303, 0.92308 </Point>
<Expression name="a" n="1" color="1" type="thick" showname="true" showvalue="true" mainparameter="true" bold="true" large="true" ctag0="green" cexpr0="1" ctag1="thick" cexpr1="1" x="x(A)+0.2" y="y(A)" value="2" prompt="" fixed="true">Expression "2" à -2.53303, 0.92308 </Expression>
<Point name="C" n="2" mainparameter="true" x="0.14479638009049722" y="0.16289592760180982">Point à 0.1448, 0.1629 </Point>
<Expression name="c" n="3" color="1" type="thick" showname="true" showvalue="true" mainparameter="true" bold="true" large="true" ctag0="green" cexpr0="1" ctag1="thick" cexpr1="1" x="x(C)+0.2" y="y(C)" value="-1" prompt="" fixed="true">Expression "-1" à 0.3448, 0.1629 </Expression>
<Point name="P3" n="4" type="thick" target="true" bold="true" large="true" x="x(A)+c/(a+c)*(x(C)-x(A))" actx="-5.610859728506788" y="y(A)+c/(a+c)*(y(C)-y(A))" acty="1.683257918552036" shape="circle" fixed="true">Point à "x(A)+c/(a+c)*(x(C)-x(A))", "y(A)+c/(a+c)*(y(C)-y(A))" </Point>
</Objects>
</Macro>
</CaR>
|