a164673df39400a337d80285a0df9a6dbbcaa73a
[bclogo.git] / dev / latex / sources_MetaPost / bc-pluie.mp
1 prologues:=1;
2 outputtemplate:="%j.mps";
3 beginfig(1);
4 drawoptions (withcolor (0.854902,0.854902,0.854902));
5 linecap := butt;
6 linejoin := mitered;
7 fill (1.312500,7.531250)..controls (1.750000,6.363280) and (15.585900,6.652340)..(16.468800,7.531250)
8     ..controls (19.292999,10.343800) and (15.675800,13.859400)..(12.941400,10.960900)
9     ..controls (11.984400,15.808600) and (6.250000,16.218800)..(5.429690,12.050800)
10     ..controls (1.605470,12.187500) and (0.609375,9.398440)..(1.312500,7.531250)
11     --cycle;
12 drawoptions (withcolor (0.725490,0.725490,0.725490));
13 pickup pencircle scaled 0.797010bp;
14 linejoin := rounded;
15 draw (1.312500,7.531250)..controls (1.750000,6.363280) and (15.585900,6.652340)..(16.468800,7.531250)
16     ..controls (19.292999,10.343800) and (15.675800,13.859400)..(12.941400,10.960900)
17     ..controls (11.984400,15.808600) and (6.250000,16.218800)..(5.429690,12.050800)
18     ..controls (1.605470,12.187500) and (0.609375,9.398440)..(1.312500,7.531250)
19     --cycle;
20 drawoptions (withcolor (0.717647,0.717647,0.717647));
21 draw (2.289060,6.382810)--(0.515625,3.585940);
22 draw (4.933590,6.382810)--(3.160160,3.585940);
23 draw (7.578130,6.382810)--(5.804690,3.585940);
24 draw (10.222700,6.382810)--(8.449220,3.585940);
25 draw (12.867200,6.382810)--(11.093800,3.585940);
26 draw (15.511700,6.382810)--(13.738300,3.585940);
27 r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));
28 picture pic;
29 pic:=currentpicture;
30 currentpicture:=nullpicture;
31 drawoptions();
32 draw pic scaled(r);
33 z0=.5*urcorner(currentpicture)+.5*ulcorner(currentpicture);
34 z1=.5*lrcorner(currentpicture)+.5*llcorner(currentpicture);
35 draw (z0+(10.5,2));
36 draw (z1-(10.5,2));
37 clip currentpicture to ((z0-(8.5pt,0))--(z0+(8.5pt,0))--(z1+(8.5pt,0))--(z1-(8.5pt,0))--cycle);
38 endfig;
39 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.