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

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.