Initialisation du projet bclogo
[bclogo.git] / dev / latex / sources_MetaPost / bc-lampe.mp
1 prologues:=1;\r
2 outputtemplate:="%j.mps";\r
3 beginfig(1);\r
4 linecap := butt;\r
5 fill (7.386720,3.144530)--(9.726560,3.144530)--(9.726560,5.484380)\r
6     --(7.386720,5.484380)--cycle;\r
7 pickup pencircle scaled 0.600000bp;\r
8 draw (7.386720,3.144530)--(9.726560,3.144530)--(9.726560,5.484380)\r
9     --(7.386720,5.484380)--cycle;\r
10 drawoptions (withcolor (1.000000,1.000000,0.000000));\r
11 pickup pencircle scaled 0.000000bp;\r
12 fill (9.726560,5.484380)--(9.726560,6.261720)..controls (9.726560,8.601560) and (10.894500,8.992190)..(11.675800,10.160200)\r
13     ..controls (12.843800,12.109400) and (12.066400,15.621100)..(8.558590,15.621100)\r
14     ..controls (5.046880,15.621100) and (4.269530,12.109400)..(5.437500,10.160200)\r
15     ..controls (6.218750,8.992190) and (7.386720,8.601560)..(7.386720,6.261720)\r
16     --(7.386720,5.484380)--cycle;\r
17 drawoptions (withcolor (0.000000,0.000000,0.000000));\r
18 pickup pencircle scaled 0.600000bp;\r
19 draw (9.726560,5.484380)--(9.726560,6.261720)..controls (9.726560,8.601560) and (10.894500,8.992190)..(11.675800,10.160200)\r
20     ..controls (12.843800,12.109400) and (12.066400,15.621100)..(8.558590,15.621100)\r
21     ..controls (5.046880,15.621100) and (4.269530,12.109400)..(5.437500,10.160200)\r
22     ..controls (6.218750,8.992190) and (7.386720,8.601560)..(7.386720,6.261720)\r
23     --(7.386720,5.484380);\r
24 draw (6.609380,4.312500)--(10.507800,4.312500);\r
25 pickup pencircle scaled 0.200000bp;\r
26 draw (8.558590,3.535160)..controls (8.945310,7.042970) and (8.167970,10.160200)..(10.117200,11.722700)\r
27     ..controls (9.335940,12.890600) and (7.386720,12.500000)..(6.996090,11.722700)\r
28     ..controls (8.945310,10.160200) and (8.167970,7.042970)..(8.558590,3.535160);\r
29 pickup pencircle scaled 0.600000bp;\r
30 draw (4.660160,16.007799)--(2.320310,18.347700);\r
31 draw (8.558590,17.570299)--(8.558590,20.296900);\r
32 draw (12.457000,15.621100)--(14.882800,17.660200);\r
33 draw (13.625000,12.890600)--(15.964800,12.890600);\r
34 draw (3.488280,12.890600)--(0.761719,12.890600);\r
35 r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));\r
36 picture pic;\r
37 pic:=currentpicture;\r
38 currentpicture:=nullpicture;\r
39 drawoptions();\r
40 draw pic scaled(r);\r
41 z0=.5*urcorner(currentpicture)+.5*ulcorner(currentpicture);\r
42 z1=.5*lrcorner(currentpicture)+.5*llcorner(currentpicture);\r
43 draw (z0+(10.5,2));\r
44 draw (z1-(10.5,2));\r
45 clip currentpicture to ((z0-(8.5pt,0))--(z0+(8.5pt,0))--(z1+(8.5pt,-2pt))--(z1-(8.5pt,2pt))--cycle);\r
46 endfig;\r
47 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.