home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xfig.idb / usr / freeware / src / xfig / xfig.3.1.4 / object.c.z / object.c
Encoding:
C/C++ Source or Header  |  1997-09-09  |  1.6 KB  |  42 lines

  1. /*
  2.  * FIG : Facility for Interactive Generation of figures
  3.  * Copyright (c) 1985 by Supoj Sutanthavibul
  4.  * Parts Copyright (c) 1991 by Paul King
  5.  * Parts Copyright (c) 1994 by Brian V. Smith
  6.  *
  7.  * The X Consortium, and any party obtaining a copy of these files from
  8.  * the X Consortium, directly or indirectly, is granted, free of charge, a
  9.  * full and unrestricted irrevocable, world-wide, paid up, royalty-free,
  10.  * nonexclusive right and license to deal in this software and
  11.  * documentation files (the "Software"), including without limitation the
  12.  * rights to use, copy, modify, merge, publish, distribute, sublicense,
  13.  * and/or sell copies of the Software, and to permit persons who receive
  14.  * copies from any such party to do so, with the only requirement being
  15.  * that this copyright notice remain intact.  This license includes without
  16.  * limitation a license to do the foregoing actions under any patents of
  17.  * the party supplying this software to the X Consortium.
  18.  */
  19.  
  20. #include "fig.h"
  21. #include "resources.h"
  22. #include "mode.h"
  23. #include "object.h"
  24. #include "paintop.h"
  25. #include "w_setup.h"
  26.  
  27. /************************  Objects  **********************/
  28.  
  29. F_compound    objects = {0, 0, { 0, 0 }, { 0, 0 }, 
  30.                 NULL, NULL, NULL, NULL, NULL, NULL, NULL};
  31.  
  32. /************  global object pointers ************/
  33.  
  34. F_line           *cur_l, *new_l, *old_l;
  35. F_arc           *cur_a, *new_a, *old_a;
  36. F_ellipse      *cur_e, *new_e, *old_e;
  37. F_text           *cur_t, *new_t, *old_t;
  38. F_spline       *cur_s, *new_s, *old_s;
  39. F_compound     *cur_c, *new_c, *old_c;
  40. F_point           *first_point, *cur_point;
  41. F_linkinfo     *cur_links;
  42.