-void gator( gdImagePtr gif, int x, int y){
-
-/* this function puts the name of the author and the tool into the
- graph. Remove if you must, but please note, that it is here,
- because I would like people who look at rrdtool generated graphs to
- see what was used to do it. No obviously you can also add a credit
- line to your webpage or printed document, this is fine with me. But
- as I have no control over this, I added the little tag in here.
-*/
-
-/* the fact that the text of what gets put into the graph is not
- visible in the function, has lead some to think this is for
- obfuscation reasons. While this is a nice side effect (I addmit),
- it is not the prime reason. The prime reason is, that the font
- used, is so small, that I had to hand edit the characters to ensure
- readability. I could thus not use the normal gd functions to write,
- but had to embed a slightly compressed bitmap version into the code.
-*/
-
- int li[]={0,0,1, 0,4,5, 0,8,9, 0,12,14, 0,17,17, 0,21,21,
- 0,24,24, 0,34,34, 0,40,42, 0,45,45, 0,48,49, 0,52,54,
- 0,61,61, 0,64,66, 0,68,70, 0,72,74, 0,76,76, 0,78,78,
- 0,80,82, 0,84,85,
- 1,0,0, 1,2,2, 1,4,4, 1,6,6, 1,8,8, 1,10,10,
- 1,13,13, 1,16,16, 1,18,18, 1,20,20, 1,22,22, 1,24,24,
- 1,34,34, 1,41,41, 1,44,44, 1,46,46, 1,48,48, 1,50,50,
- 1,53,53, 1,60,60, 1,62,62, 1,64,64, 1,69,69, 1,73,73,
- 1,76,76, 1,78,78, 1,80,80, 1,84,84, 1,86,86,
- 2,0,1, 2,4,5, 2,8,8, 2,10,10, 2,13,13, 2,16,16,
- 2,18,18, 2,20,20, 2,22,22, 2,24,24, 2,33,33, 2,41,41,
- 2,44,44, 2,46,46, 2,48,49, 2,53,53, 2,60,60, 2,62,62,
- 2,64,65, 2,69,69, 2,73,73, 2,76,77, 2,80,81, 2,84,85,
- 3,0,0, 3,2,2, 3,4,4, 3,6,6, 3,8,8, 3,10,10,
- 3,13,13, 3,16,16, 3,18,18, 3,20,20, 3,22,22, 3,24,24,
- 3,32,32, 3,41,41, 3,44,44, 3,46,46, 3,48,48, 3,50,50,
- 3,53,53, 3,60,60, 3,62,62, 3,64,64, 3,69,69, 3,73,73,
- 3,76,76, 3,78,78, 3,80,80, 3,84,84, 3,86,86,
- 4,0,0, 4,2,2, 4,4,4, 4,6,6, 4,8,9, 4,13,13,
- 4,17,17, 4,21,21, 4,24,26, 4,32,32, 4,41,41, 4,45,45,
- 4,48,49, 4,52,54, 4,61,61, 4,64,66, 4,69,69, 4,72,74,
- 4,76,76, 4,78,78, 4,80,82, 4,84,84};
- int i,ii;
- for(i=0; i<DIM(li); i=i+3)
- for(ii=y+li[i+1]; ii<=y+li[i+2];ii++)
- gdImageSetPixel(gif,x-li[i],ii,graph_col[GRC_GRID].i);
-}
-