ipeattributes.h | ipeattributes.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Ipe object attributes | // Ipe object attributes | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipebase.h | ipebase.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Base header file --- must be included by all Ipe components. | // Base header file --- must be included by all Ipe components. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
skipping to change at line 77 | skipping to change at line 77 | |||
T *ptr() { return iPtr; } | T *ptr() { return iPtr; } | |||
T *take() { T *p = iPtr; iPtr = 0; return p; } | T *take() { T *p = iPtr; iPtr = 0; return p; } | |||
private: | private: | |||
T *iPtr; | T *iPtr; | |||
}; | }; | |||
namespace ipe { | namespace ipe { | |||
//! Ipelib version. | //! Ipelib version. | |||
/*! \ingroup base */ | /*! \ingroup base */ | |||
const int IPELIB_VERSION = 70014; | const int IPELIB_VERSION = 70100; | |||
//! Oldest readable file format version. | //! Oldest readable file format version. | |||
/*! \ingroup base */ | /*! \ingroup base */ | |||
const int OLDEST_FILE_FORMAT = 70000; | const int OLDEST_FILE_FORMAT = 70000; | |||
//! Current file format version. | //! Current file format version. | |||
/*! \ingroup base */ | /*! \ingroup base */ | |||
const int FILE_FORMAT = 70005; | const int FILE_FORMAT = 70005; | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
ipebitmap.h | ipebitmap.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Bitmaps | // Bitmaps | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipedoc.h | ipedoc.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The Ipe document. | // The Ipe document. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipefactory.h | ipefactory.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The Ipe object factory. | // The Ipe object factory. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipefontpool.h | ipefontpool.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The pool of embedded fonts. | // The pool of embedded fonts. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipegeo.h | ipegeo.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Geometric primitives | // Geometric primitives | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipegroup.h | ipegroup.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The group object. | // The group object. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipeimage.h | ipeimage.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The image object | // The image object | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipeiml.h | ipeiml.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Parse an Ipe XML file | // Parse an Ipe XML file | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipelatex.h | ipelatex.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Latex source to PDF converter | // Latex source to PDF converter | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipelet.h | ipelet.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Ipelets | // Ipelets | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipelib.h | ipelib.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Includes everything to handle Ipe objects, pages, and documents | // Includes everything to handle Ipe objects, pages, and documents | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipeobject.h | ipeobject.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The Ipe object type. | // The Ipe object type. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipepage.h | ipepage.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// A page of a document. | // A page of a document. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipepainter.h | ipepainter.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Painter abstraction | // Painter abstraction | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipepath.h | ipepath.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The path object. | // The path object. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipepdfparser.h | ipepdfparser.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// PDF file parser | // PDF file parser | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipepdfwriter.h | ipepdfwriter.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Creating PDF output | // Creating PDF output | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipepswriter.h | ipepswriter.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Creating Postscript output | // Creating Postscript output | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipereference.h | ipereference.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The reference object | // The reference object | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipeshape.h | ipeshape.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Drawable shapes | // Drawable shapes | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipesnap.h | ipesnap.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Snapping. | // Snapping. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipestyle.h | ipestyle.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Ipe style sheet | // Ipe style sheet | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipetext.h | ipetext.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// The text object. | // The text object. | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipetool.h | ipetool.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// ipeqt::Tool | // ipeqt::Tool | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
skipping to change at line 39 | skipping to change at line 39 | |||
*/ | */ | |||
#ifndef IPETOOL_H | #ifndef IPETOOL_H | |||
#define IPETOOL_H | #define IPETOOL_H | |||
#include "ipelib.h" | #include "ipelib.h" | |||
using namespace ipe; | using namespace ipe; | |||
namespace ipeqt { | namespace ipe { | |||
class Canvas; | class CanvasBase; | |||
class Tool { | class Tool { | |||
public: | public: | |||
virtual ~Tool(); | virtual ~Tool(); | |||
public: | public: | |||
virtual void draw(Painter &painter) const = 0; | virtual void draw(Painter &painter) const = 0; | |||
virtual void mouseButton(int button, bool press); | virtual void mouseButton(int button, bool press); | |||
virtual void mouseMove(int button); | virtual void mouseMove(); | |||
virtual bool key(int code, int modifiers, String text); | virtual bool key(int code, int modifiers, String text); | |||
protected: | protected: | |||
Tool(Canvas *canvas); | Tool(CanvasBase *canvas); | |||
protected: | protected: | |||
Canvas *iCanvas; | CanvasBase *iCanvas; | |||
}; | }; | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
class PanTool : public Tool { | class PanTool : public Tool { | |||
public: | public: | |||
PanTool(Canvas *canvas, const Page *page, int view); | PanTool(CanvasBase *canvas, const Page *page, int view); | |||
virtual void draw(Painter &painter) const; | virtual void draw(Painter &painter) const; | |||
virtual void mouseButton(int button, bool press); | virtual void mouseButton(int button, bool press); | |||
virtual void mouseMove(int button); | virtual void mouseMove(); | |||
private: | private: | |||
const Page *iPage; | const Page *iPage; | |||
int iView; | int iView; | |||
Vector iPan; | Vector iPan; | |||
Vector iMouseDown; | Vector iMouseDown; | |||
}; | }; | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
class SelectTool : public Tool { | class SelectTool : public Tool { | |||
public: | public: | |||
SelectTool(Canvas *canvas, Page *page, int view, | SelectTool(CanvasBase *canvas, Page *page, int view, | |||
double selectDistance, bool nonDestructive); | double selectDistance, bool nonDestructive); | |||
virtual void draw(Painter &painter) const; | virtual void draw(Painter &painter) const; | |||
virtual void mouseButton(int button, bool press); | virtual void mouseButton(int button, bool press); | |||
virtual void mouseMove(int button); | virtual void mouseMove(); | |||
virtual bool key(int code, int modifiers, String text); | virtual bool key(int code, int modifiers, String text); | |||
private: | private: | |||
void ensurePrimary(); | void ensurePrimary(); | |||
public: | public: | |||
struct SObj { | struct SObj { | |||
int index; | int index; | |||
double distance; | double distance; | |||
}; | }; | |||
skipping to change at line 116 | skipping to change at line 116 | |||
bool iDragging; | bool iDragging; | |||
Vector iCorner; | Vector iCorner; | |||
}; | }; | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
class TransformTool : public Tool { | class TransformTool : public Tool { | |||
public: | public: | |||
enum TType { ETranslate, EScale, EStretch, ERotate }; | enum TType { ETranslate, EScale, EStretch, ERotate }; | |||
TransformTool(Canvas *canvas, Page *page, int view, TType type, | TransformTool(CanvasBase *canvas, Page *page, int view, TType type, | |||
bool withShift); | bool withShift); | |||
bool isValid() const; | bool isValid() const; | |||
virtual void draw(Painter &painter) const; | virtual void draw(Painter &painter) const; | |||
virtual void mouseButton(int button, bool press); | virtual void mouseButton(int button, bool press); | |||
virtual void mouseMove(int button); | virtual void mouseMove(); | |||
virtual void report(); | virtual void report(); | |||
protected: | protected: | |||
void compute(const Vector &v); | void compute(const Vector &v); | |||
protected: | protected: | |||
Page *iPage; | Page *iPage; | |||
int iView; | int iView; | |||
End of changes. 12 change blocks. | ||||
12 lines changed or deleted | 12 lines changed or added | |||
ipeutils.h | ipeutils.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// Various utility classes | // Various utility classes | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ipexml.h | ipexml.h | |||
---|---|---|---|---|
// -*- C++ -*- | // -*- C++ -*- | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
// XML parsing | // XML parsing | |||
// -------------------------------------------------------------------- | // -------------------------------------------------------------------- | |||
/* | /* | |||
This file is part of the extensible drawing editor Ipe. | This file is part of the extensible drawing editor Ipe. | |||
Copyright (C) 1993-2010 Otfried Cheong | Copyright (C) 1993-2011 Otfried Cheong | |||
Ipe is free software; you can redistribute it and/or modify it | Ipe is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by | under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 3 of the License, or | the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
As a special exception, you have permission to link Ipe with the | As a special exception, you have permission to link Ipe with the | |||
CGAL library and distribute executables, as long as you follow the | CGAL library and distribute executables, as long as you follow the | |||
requirements of the Gnu General Public License in regard to all of | requirements of the Gnu General Public License in regard to all of | |||
the software in the executable aside from CGAL. | the software in the executable aside from CGAL. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||