home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume19 / xfig / part01 / u_elastic.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-27  |  2.2 KB  |  80 lines

  1. /*
  2.  * FIG : Facility for Interactive Generation of figures
  3.  * Copyright (c) 1985 by Supoj Sutanthavibul
  4.  *
  5.  * "Permission to use, copy, modify, distribute, and sell this software and its
  6.  * documentation for any purpose is hereby granted without fee, provided that
  7.  * the above copyright notice appear in all copies and that both the copyright
  8.  * notice and this permission notice appear in supporting documentation. 
  9.  * No representations are made about the suitability of this software for 
  10.  * any purpose.  It is provided "as is" without express or implied warranty."
  11.  */
  12.  
  13. #define        MOVE_ARB    0
  14. #define        MOVE_HORIZ_VERT 1
  15. #define        BOX_SCALE    2
  16. #define        BOX_HSTRETCH    3
  17. #define        BOX_VSTRETCH    4
  18.  
  19. #define        MSG_RADIUS    0
  20. #define        MSG_DIAM    1
  21. #define        MSG_LENGTH    2
  22.  
  23. extern int    constrained;
  24. extern int    fix_x, fix_y, work_numsides;
  25. extern float    cur_angle;
  26. extern int    x1off, x2off, y1off, y2off;
  27. extern Cursor    cur_latexcursor;
  28. extern int    from_x, from_y;
  29. extern double    cosa, sina;
  30. extern int    movedpoint_num;
  31. extern int    latex_fix_x, latex_fix_y;
  32. extern F_point *left_point, *right_point;
  33.  
  34. extern        elastic_box();
  35. extern        elastic_movebox();
  36. extern        resizing_box();
  37. extern        elastic_box_constrained();
  38. extern        constrained_resizing_box();
  39. extern        moving_box();
  40. extern        elastic_poly();
  41. extern        resizing_poly();
  42. extern        scaling_compound();
  43. extern        elastic_scalecompound();
  44.  
  45. extern        resizing_ebr(), resizing_ebd();
  46. extern        constrained_resizing_ebr(), constrained_resizing_ebd();
  47. extern        constrained_resizing_cbd(), resizing_cbr(), resizing_cbd();
  48. extern        elastic_moveellipse();
  49. extern        moving_ellipse();
  50. extern        elastic_scaleellipse();
  51. extern        scaling_ellipse();
  52.  
  53. extern        freehand_line();
  54. extern        latex_line();
  55. extern        constrainedangle_line();
  56. extern        elastic_moveline();
  57. extern        elastic_line();
  58. extern        moving_line();
  59. extern        reshaping_line();
  60. extern        reshaping_latexline();
  61. extern        elastic_linelink();
  62. extern        elastic_scalepts();
  63. extern        scaling_line();
  64.  
  65. extern        moving_arc();
  66. extern        elastic_movearc();
  67. extern        reshaping_arc();
  68. extern        elastic_arclink();
  69. extern        scaling_arc();
  70. extern        elastic_scalearc();
  71.  
  72. extern        moving_text();
  73. extern        draw_movingtext();
  74.  
  75. extern        moving_spline();
  76. extern        scaling_spline();
  77.  
  78. extern        adjust_box_pos();
  79. extern        adjust_pos();
  80.