Initialisation du projet bclogo
[bclogo.git] / dev / latex / sources_MetaPost / bc-trombone.mp
diff --git a/dev/latex/sources_MetaPost/bc-trombone.mp b/dev/latex/sources_MetaPost/bc-trombone.mp
new file mode 100644 (file)
index 0000000..b9b869f
--- /dev/null
@@ -0,0 +1,37 @@
+outputtemplate:="%j.mps";\r
+prologues := 1;\r
+beginfig(1);\r
+  picture trombone;\r
+trombone=image(linecap := butt;\r
+linejoin := mitered;\r
+fill (31.867201,44.898399)--(31.867201,17.500000)..controls (31.867201,9.578130) and (25.421900,3.132810)..(17.500000,3.132810)\r
+    ..controls (9.578130,3.132810) and (3.132810,9.578130)..(3.132810,17.500000)\r
+    --(3.132810,65.632797)..controls (3.132810,71.828102) and (8.171880,76.867203)..(14.367200,76.863297)\r
+    ..controls (20.558599,76.867203) and (25.597700,71.828102)..(25.597700,65.632797)\r
+    --(25.597700,17.500000)..controls (25.597700,13.035200) and (21.964800,9.402340)..(17.500000,9.402340)\r
+    ..controls (13.035200,9.402340) and (9.402340,13.035200)..(9.402340,17.500000)\r
+    --(9.402340,44.898399)--(6.269530,44.898399)--(6.269530,17.500000)\r
+    ..controls (6.269530,11.308600) and (11.304700,6.269530)..(17.500000,6.269530)\r
+    ..controls (23.691401,6.269530) and (28.730499,11.308600)..(28.730499,17.500000)\r
+    --(28.730499,65.632797)..controls (28.730499,73.554703) and (22.289101,80.000000)..(14.367200,80.000000)\r
+    ..controls (6.445310,80.000000) and (0.000000,73.554703)..(0.000000,65.632797)\r
+    --(0.000000,17.500000)..controls (0.000000,7.851560) and (7.851560,0.000000)..(17.500000,0.000000)\r
+    ..controls (27.148399,0.000000) and (35.000000,7.851560)..(35.000000,17.500000)\r
+    --(35.000000,44.898399)--cycle withcolor(.5,.5,.5);\r
+    );\r
+\r
+\r
+  draw trombone rotated 45;\r
+  r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));\r
+  picture pic;\r
+pic:=currentpicture;\r
+currentpicture:=nullpicture;\r
+drawoptions();\r
+draw pic scaled(r);\r
+z0=.5*urcorner(currentpicture)+.5*ulcorner(currentpicture);\r
+z1=.5*lrcorner(currentpicture)+.5*llcorner(currentpicture);\r
+draw (z0+(10.5,2));\r
+draw (z1-(10.5,2));\r
+clip currentpicture to ((z0-(8.5pt,0))--(z0+(8.5pt,0))--(z1+(8.5pt,0))--(z1-(8.5pt,0))--cycle);\r
+endfig;\r
+end\r

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.