[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/tcpdf/fonts/ttf2ufm/ttf2ufm-src/other/ -> bz.c (source)

   1  /*
   2   * see COPYRIGHT
   3   */
   4  
   5  #include <stdio.h>
   6  #include <stdlib.h>
   7  #include "bzscreen.h"
   8  
   9  /* size of the screen in "physical pixels" */
  10  #define PHYSX    980
  11  #define PHYSY    310
  12  
  13  /* the bounding box of the drawing in "logical pixels" */
  14  /* the base point - set to 0, 0 for absolute coordinates */
  15  #define BASEX 19 
  16  #define BASEY 122
  17  /* the maximal point */
  18  #define MAXX 450
  19  #define MAXY 481
  20  
  21  main(argc,argv)
  22      int argc;
  23      char **argv;
  24  {
  25      initscreen(PHYSX, PHYSY, PHYSX, PHYSY, 0, 0, BASEX, BASEY, MAXX, MAXY);
  26  
  27      /*
  28      drawcurve('#', 0,0, 51,0, 1,49, 45,98);
  29      drawcurve('1', 5,28, 8,37, 16,65, 45,98);
  30  
  31      drawcurve('3', 0,0, 0,24, 30,68, 80,72);
  32  
  33      drawcurve('1', 0,0, 0,5, 1,10, 2,15);
  34      drawcurve('2', 2,15, 8,42, 30,68, 80,72);
  35  
  36      drawcurve('4', 0,0, 0,37, 22,67, 80,72);
  37      */
  38  
  39      /* final */
  40      /*
  41      drawcurve('#', 324, 481, 390, 481, 448, 475, 448, 404 );
  42      drawcurve('#', 448, 404, 448, 404, 448, 324, 448, 324 );
  43      drawcurve('#', 448, 324, 402, 245, 19, 338, 19, 122 );
  44      */
  45  
  46      /* 3 */
  47      /*
  48      */
  49      drawcurve('*', 450, 404, 450, 397, 450, 390, 448, 384 );
  50  
  51      drawcurve('*', 448, 384, 446, 378, 444, 370, 443, 360 );
  52      drawcurve('.', 443, 360, 309, 356, 206, 341, 132, 304 );
  53      drawcurve('.', 132, 304, 57, 266, 19, 208, 19, 122 );
  54  
  55      /* 4 */
  56      drawcurve('#', 324, 481, 390, 481, 450, 475, 450, 404 );
  57      drawcurve('#', 450, 404, 450, 397, 450, 390, 448, 384 );
  58  
  59      drawcurve('#', 448, 384, 402, 245, 19, 338, 19, 122 );
  60  
  61      /*
  62      drawcurve('.', 324, 481, 361, 481, 391, 478, 414, 466 );
  63      drawcurve('.', 414, 466, 436, 454, 450, 436, 450, 404 );
  64  
  65      drawcurve('.', 450, 404, 450, 390, 447, 378, 443, 360 );
  66      drawcurve('.', 443, 360, 309, 356, 206, 341, 132, 304 );
  67  
  68      drawcurve('.', 132, 304, 57, 266, 19, 208, 19, 122 );
  69      */
  70  
  71      printscreen(stdout);
  72  }
  73  
  74  sumcurves(dx11, dy11, dx12, dy12, dx13, dy13,
  75      dx21, dy21, dx22, dy22, dx23, dy23)
  76  {
  77  }
  78  


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1