aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ipe/files/patch-Plageo
blob: c05c8172f8ac9e8f9859e5905ea2b833d2ab5719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
diff -cr ../Ipe-5.0/Plageo/Makefile Plageo/Makefile
*** ../Ipe-5.0/Plageo/Makefile  Thu Nov 27 15:15:48 1997
--- Plageo/Makefile Thu Oct 26 14:41:49 2000
***************
*** 12,18 ****
  CC    = g++
  # define GFLAGS if you use g++
  #GFLAGS  =
! GFLAGS    = -fno-for-scope
  
  INCLUDE = -I.
  CFLAGS  = $(GFLAGS) -O $(INCLUDE)
--- 12,18 ----
  CC    = g++
  # define GFLAGS if you use g++
  #GFLAGS  =
! GFLAGS    = -fno-for-scope -g
  
  INCLUDE = -I.
  CFLAGS  = $(GFLAGS) -O $(INCLUDE)
diff -cr ../Ipe-5.0/Plageo/ipestream.h Plageo/ipestream.h
*** ../Ipe-5.0/Plageo/ipestream.h   Mon Dec 18 11:19:43 1995
--- Plageo/ipestream.h  Thu Oct 26 15:16:31 2000
***************
*** 21,28 ****
  public:
    ipestream(void) { _f = NULL; }
    ipestream(FILE *fd) { _f = fd; }
!   
!   int open(char *fname, char *mode) {
      _f = fopen(fname, mode); return (_f != NULL); }
    int openfd(int fd, char *mode) {
      _f = fdopen(fd, mode); return (_f != NULL); }
--- 21,28 ----
  public:
    ipestream(void) { _f = NULL; }
    ipestream(FILE *fd) { _f = fd; }
!   int isopen(void) { return (_f != NULL); };
!   int open(const char *fname, char *mode) {
      _f = fopen(fname, mode); return (_f != NULL); }
    int openfd(int fd, char *mode) {
      _f = fdopen(fd, mode); return (_f != NULL); }
diff -cr ../Ipe-5.0/Plageo/ireray.C Plageo/ireray.C
*** ../Ipe-5.0/Plageo/ireray.C  Tue May  9 04:35:50 1995
--- Plageo/ireray.C Wed Oct 25 11:31:18 2000
***************
*** 40,46 ****
  // template<class T>
  reray_T::reray_T(const reray_T & a)
  {
!     register i = a.sz;
      reserved_size = sz = i;
      if (i==0) {
    v = 0;
--- 40,46 ----
  // template<class T>
  reray_T::reray_T(const reray_T & a)
  {
!     register unsigned int i = a.sz;
      reserved_size = sz = i;
      if (i==0) {
    v = 0;
Only in ../Ipe-5.0/Plageo: libplageo.a
diff -cr ../Ipe-5.0/Plageo/pl_coincidence.C Plageo/pl_coincidence.C
*** ../Ipe-5.0/Plageo/pl_coincidence.C  Tue May  9 04:35:52 1995
--- Plageo/pl_coincidence.C Wed Oct 25 11:28:53 2000
***************
*** 468,475 ****
  
  typedef edgelist_link *edgelistp;
  
! static const    up = 0;
! static const    down = 1;
  
  // sorted list of edges intersecting current sweep line
  static edgelistp el = 0;
--- 468,475 ----
  
  typedef edgelist_link *edgelistp;
  
! static const int    up = 0;
! static const int   down = 1;
  
  // sorted list of edges intersecting current sweep line
  static edgelistp el = 0;
diff -cr ../Ipe-5.0/Plageo/plageo.h Plageo/plageo.h
*** ../Ipe-5.0/Plageo/plageo.h  Tue May  9 04:35:50 1995
--- Plageo/plageo.h Wed Oct 25 11:28:06 2000
***************
*** 1050,1065 ****
  
  extern int lies_inside(const pl_fixedvec &, const pl_disc &);
  
! inline do_overlap(const pl_fixedvec &vec, const pl_box &box)
  { return lies_inside(vec, box); }
  
! inline do_overlap(const pl_fixedvec &vec, const pl_pgn &pgn)
  { return lies_inside(vec, pgn); }
  
! inline do_overlap(const pl_fixedvec &vec, const pl_disc &disc)
  { return lies_inside(vec, disc); }
  
! inline do_overlap(const pl_fixedvec &vec, const pl_object &obj)
  { return do_overlap(obj, vec); }
  
  // ******   POINT   ******
--- 1050,1065 ----
  
  extern int lies_inside(const pl_fixedvec &, const pl_disc &);
  
! inline int do_overlap(const pl_fixedvec &vec, const pl_box &box)
  { return lies_inside(vec, box); }
  
! inline int do_overlap(const pl_fixedvec &vec, const pl_pgn &pgn)
  { return lies_inside(vec, pgn); }
  
! inline int  do_overlap(const pl_fixedvec &vec, const pl_disc &disc)
  { return lies_inside(vec, disc); }
  
! inline int do_overlap(const pl_fixedvec &vec, const pl_object &obj)
  { return do_overlap(obj, vec); }
  
  // ******   POINT   ******