adg-adim.h | adg-adim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_ADIM_H__ | #ifndef __ADG_ADIM_H__ | |||
#define __ADG_ADIM_H__ | #define __ADG_ADIM_H__ | |||
#include <adg/adg-dim.h> | #include <adg/adg-dim.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_ADIM (adg_adim_get_type()) | #define ADG_TYPE_ADIM (adg_adim_get_type()) | |||
#define ADG_ADIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_ADIM, AdgADim)) | #define ADG_ADIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_ADIM, AdgADim)) | |||
#define ADG_ADIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_ADIM, AdgADimClass)) | #define ADG_ADIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_ADIM, AdgADimClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-alignment.h | adg-alignment.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_ALIGNMENT_H__ | #ifndef __ADG_ALIGNMENT_H__ | |||
#define __ADG_ALIGNMENT_H__ | #define __ADG_ALIGNMENT_H__ | |||
#include <adg/adg-container.h> | #include <adg/adg-container.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_ALIGNMENT (adg_alignment_get_type()) | #define ADG_TYPE_ALIGNMENT (adg_alignment_get_type()) | |||
#define ADG_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), A DG_TYPE_ALIGNMENT, AdgAlignment)) | #define ADG_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), A DG_TYPE_ALIGNMENT, AdgAlignment)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-arrow.h | adg-arrow.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_ARROW_H__ | #ifndef __ADG_ARROW_H__ | |||
#define __ADG_ARROW_H__ | #define __ADG_ARROW_H__ | |||
#include <adg/adg-marker.h> | #include <adg/adg-marker.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_ARROW (adg_arrow_get_type()) | #define ADG_TYPE_ARROW (adg_arrow_get_type()) | |||
#define ADG_ARROW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_ARROW, AdgArrow)) | #define ADG_ARROW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_ARROW, AdgArrow)) | |||
#define ADG_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_ARROW, AdgArrowClass)) | #define ADG_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_ARROW, AdgArrowClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-canvas.h | adg-canvas.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_CANVAS_H__ | #ifndef __ADG_CANVAS_H__ | |||
#define __ADG_CANVAS_H__ | #define __ADG_CANVAS_H__ | |||
#include <adg/adg-container.h> | #include <adg/adg-container.h> | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_CANVAS (adg_canvas_get_type()) | #define ADG_TYPE_CANVAS (adg_canvas_get_type()) | |||
#define ADG_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_CANVAS, AdgCanvas)) | #define ADG_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_CANVAS, AdgCanvas)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-color-style.h | adg-color-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_COLOR_STYLE_H__ | #ifndef __ADG_COLOR_STYLE_H__ | |||
#define __ADG_COLOR_STYLE_H__ | #define __ADG_COLOR_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-enums.h> | #include <adg/adg-enums.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_COLOR_STYLE (adg_color_style_get_type()) | #define ADG_TYPE_COLOR_STYLE (adg_color_style_get_type()) | |||
#define ADG_COLOR_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_COLOR_STYLE, AdgColorStyle)) | #define ADG_COLOR_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_COLOR_STYLE, AdgColorStyle)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-container.h | adg-container.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_CONTAINER_H__ | #ifndef __ADG_CONTAINER_H__ | |||
#define __ADG_CONTAINER_H__ | #define __ADG_CONTAINER_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_CONTAINER (adg_container_get_type()) | #define ADG_TYPE_CONTAINER (adg_container_get_type()) | |||
#define ADG_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), A DG_TYPE_CONTAINER, AdgContainer)) | #define ADG_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), A DG_TYPE_CONTAINER, AdgContainer)) | |||
#define ADG_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), AD G_TYPE_CONTAINER, AdgContainerClass)) | #define ADG_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), AD G_TYPE_CONTAINER, AdgContainerClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-dim-style.h | adg-dim-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_DIM_STYLE_H__ | #ifndef __ADG_DIM_STYLE_H__ | |||
#define __ADG_DIM_STYLE_H__ | #define __ADG_DIM_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-dress.h> | #include <adg/adg-dress.h> | |||
#include <adg/adg-marker.h> | #include <adg/adg-marker.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-dim.h | adg-dim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_DIM_H__ | #ifndef __ADG_DIM_H__ | |||
#define __ADG_DIM_H__ | #define __ADG_DIM_H__ | |||
#include <adg/adg-alignment.h> | #include <adg/adg-alignment.h> | |||
#include <adg/adg-model.h> | #include <adg/adg-model.h> | |||
#include <adg/adg-enums.h> | #include <adg/adg-enums.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_DIM (adg_dim_get_type()) | #define ADG_TYPE_DIM (adg_dim_get_type()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-dress-builtins.h | adg-dress-builtins.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_DRESS_BUILTINS_H__ | #ifndef __ADG_DRESS_BUILTINS_H__ | |||
#define __ADG_DRESS_BUILTINS_H__ | #define __ADG_DRESS_BUILTINS_H__ | |||
#include <adg/adg-dress.h> | #include <adg/adg-dress.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_DRESS_UNDEFINED 0 | #define ADG_DRESS_UNDEFINED 0 | |||
#define ADG_DRESS_COLOR (_adg_dress_color()) | #define ADG_DRESS_COLOR (_adg_dress_color()) | |||
#define ADG_DRESS_COLOR_STROKE (_adg_dress_color_stroke()) | #define ADG_DRESS_COLOR_STROKE (_adg_dress_color_stroke()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-dress.h | adg-dress.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_DRESS_H__ | #ifndef __ADG_DRESS_H__ | |||
#define __ADG_DRESS_H__ | #define __ADG_DRESS_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_DRESS (adg_dress_get_type()) | #define ADG_TYPE_DRESS (adg_dress_get_type()) | |||
#define ADG_VALUE_HOLDS_DRESS(value) (G_TYPE_CHECK_VALUE_TYPE((value), A DG_TYPE_DRESS)) | #define ADG_VALUE_HOLDS_DRESS(value) (G_TYPE_CHECK_VALUE_TYPE((value), A DG_TYPE_DRESS)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-edges.h | adg-edges.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_EDGES_H__ | #ifndef __ADG_EDGES_H__ | |||
#define __ADG_EDGES_H__ | #define __ADG_EDGES_H__ | |||
#include <adg/adg-trail.h> | #include <adg/adg-trail.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_EDGES (adg_edges_get_type()) | #define ADG_TYPE_EDGES (adg_edges_get_type()) | |||
#define ADG_EDGES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_EDGES, AdgEdges)) | #define ADG_EDGES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_EDGES, AdgEdges)) | |||
#define ADG_EDGES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_EDGES, AdgEdgesClass)) | #define ADG_EDGES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_EDGES, AdgEdgesClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-entity.h | adg-entity.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_ENTITY_H__ | #ifndef __ADG_ENTITY_H__ | |||
#define __ADG_ENTITY_H__ | #define __ADG_ENTITY_H__ | |||
#include <adg/adg-util.h> | #include <adg/adg-util.h> | |||
#include <adg/adg-type-builtins.h> | #include <adg/adg-type-builtins.h> | |||
#include <adg/adg-matrix.h> | #include <adg/adg-matrix.h> | |||
#include <cpml/cpml.h> | #include <cpml/cpml.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-enums.h | adg-enums.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_ENUMS_H__ | #ifndef __ADG_ENUMS_H__ | |||
#define __ADG_ENUMS_H__ | #define __ADG_ENUMS_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
/* This header file should follow this (inconsistent) style to cope | /* This header file should follow this (inconsistent) style to cope | |||
* with glib-mkenums. At the time of writing, the regex used is | * with glib-mkenums. At the time of writing, the regex used is | |||
* /\s*typedef\s+enum\s*({)?.../. | * /\s*typedef\s+enum\s*({)?.../. | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-fill-style.h | adg-fill-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_FILL_STYLE_H__ | #ifndef __ADG_FILL_STYLE_H__ | |||
#define __ADG_FILL_STYLE_H__ | #define __ADG_FILL_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-pattern.h> | #include <adg/adg-pattern.h> | |||
#include <cpml/cpml-extents.h> | #include <cpml/cpml-extents.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_FILL_STYLE (adg_fill_style_get_type()) | #define ADG_TYPE_FILL_STYLE (adg_fill_style_get_type()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-font-style.h | adg-font-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_FONT_STYLE_H__ | #ifndef __ADG_FONT_STYLE_H__ | |||
#define __ADG_FONT_STYLE_H__ | #define __ADG_FONT_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-matrix.h> | #include <adg/adg-matrix.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_FONT_STYLE (adg_font_style_get_type()) | #define ADG_TYPE_FONT_STYLE (adg_font_style_get_type()) | |||
#define ADG_FONT_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_FONT_STYLE, AdgFontStyle)) | #define ADG_FONT_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_FONT_STYLE, AdgFontStyle)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-hatch.h | adg-hatch.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_HATCH_H__ | #ifndef __ADG_HATCH_H__ | |||
#define __ADG_HATCH_H__ | #define __ADG_HATCH_H__ | |||
#include <adg/adg-stroke.h> | #include <adg/adg-stroke.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_HATCH (adg_hatch_get_type()) | #define ADG_TYPE_HATCH (adg_hatch_get_type()) | |||
#define ADG_HATCH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_HATCH, AdgHatch)) | #define ADG_HATCH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_HATCH, AdgHatch)) | |||
#define ADG_HATCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_HATCH, AdgHatchClass)) | #define ADG_HATCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_HATCH, AdgHatchClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-ldim.h | adg-ldim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_LDIM_H__ | #ifndef __ADG_LDIM_H__ | |||
#define __ADG_LDIM_H__ | #define __ADG_LDIM_H__ | |||
#include <adg/adg-dim.h> | #include <adg/adg-dim.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_LDIM (adg_ldim_get_type()) | #define ADG_TYPE_LDIM (adg_ldim_get_type()) | |||
#define ADG_LDIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_LDIM, AdgLDim)) | #define ADG_LDIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_LDIM, AdgLDim)) | |||
#define ADG_LDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_LDIM, AdgLDimClass)) | #define ADG_LDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_LDIM, AdgLDimClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-line-style.h | adg-line-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_LINE_STYLE_H__ | #ifndef __ADG_LINE_STYLE_H__ | |||
#define __ADG_LINE_STYLE_H__ | #define __ADG_LINE_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-dress.h> | #include <adg/adg-dress.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_LINE_STYLE (adg_line_style_get_type()) | #define ADG_TYPE_LINE_STYLE (adg_line_style_get_type()) | |||
#define ADG_LINE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_LINE_STYLE, AdgLineStyle)) | #define ADG_LINE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_LINE_STYLE, AdgLineStyle)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-logo.h | adg-logo.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_LOGO_H__ | #ifndef __ADG_LOGO_H__ | |||
#define __ADG_LOGO_H__ | #define __ADG_LOGO_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_LOGO (adg_logo_get_type()) | #define ADG_TYPE_LOGO (adg_logo_get_type()) | |||
#define ADG_LOGO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_LOGO, AdgLogo)) | #define ADG_LOGO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_LOGO, AdgLogo)) | |||
#define ADG_LOGO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_LOGO, AdgLogoClass)) | #define ADG_LOGO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_LOGO, AdgLogoClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-marker.h | adg-marker.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_MARKER_H__ | #ifndef __ADG_MARKER_H__ | |||
#define __ADG_MARKER_H__ | #define __ADG_MARKER_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
#include <adg/adg-trail.h> | #include <adg/adg-trail.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_MARKER (adg_marker_get_type()) | #define ADG_TYPE_MARKER (adg_marker_get_type()) | |||
#define ADG_MARKER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_MARKER, AdgMarker)) | #define ADG_MARKER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_MARKER, AdgMarker)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-matrix.h | adg-matrix.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_MATRIX_H__ | #ifndef __ADG_MATRIX_H__ | |||
#define __ADG_MATRIX_H__ | #define __ADG_MATRIX_H__ | |||
#include <adg/adg-enums.h> | #include <adg/adg-enums.h> | |||
#include <cairo.h> | #include <cairo.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_MATRIX (adg_matrix_get_type()) | #define ADG_TYPE_MATRIX (adg_matrix_get_type()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-model.h | adg-model.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_MODEL_H__ | #ifndef __ADG_MODEL_H__ | |||
#define __ADG_MODEL_H__ | #define __ADG_MODEL_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_MODEL (adg_model_get_type()) | #define ADG_TYPE_MODEL (adg_model_get_type()) | |||
#define ADG_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_MODEL, AdgModel)) | #define ADG_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_MODEL, AdgModel)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-pair.h | adg-pair.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_PAIR_H__ | #ifndef __ADG_PAIR_H__ | |||
#define __ADG_PAIR_H__ | #define __ADG_PAIR_H__ | |||
#include <cpml/cpml.h> | #include <cpml/cpml.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PAIR (adg_pair_get_type()) | #define ADG_TYPE_PAIR (adg_pair_get_type()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-path.h | adg-path.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_PATH_H__ | #ifndef __ADG_PATH_H__ | |||
#define __ADG_PATH_H__ | #define __ADG_PATH_H__ | |||
#include <adg/adg-trail.h> | #include <adg/adg-trail.h> | |||
#include <adg/adg-primitive.h> | #include <adg/adg-primitive.h> | |||
#include <adg/adg-segment.h> | #include <adg/adg-segment.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PATH (adg_path_get_type()) | #define ADG_TYPE_PATH (adg_path_get_type()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-pattern.h | adg-pattern.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_PATTERN_H__ | #ifndef __ADG_PATTERN_H__ | |||
#define __ADG_PATTERN_H__ | #define __ADG_PATTERN_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <cairo.h> | #include <cairo.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PATTERN (adg_pattern_get_type ()) | #define ADG_TYPE_PATTERN (adg_pattern_get_type ()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-point.h | adg-point.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_POINT_H__ | #ifndef __ADG_POINT_H__ | |||
#define __ADG_POINT_H__ | #define __ADG_POINT_H__ | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
#include <adg/adg-model.h> | #include <adg/adg-model.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_POINT (adg_point_get_type()) | #define ADG_TYPE_POINT (adg_point_get_type()) | |||
typedef struct _AdgPoint AdgPoint; | typedef struct _AdgPoint AdgPoint; | |||
GType adg_point_get_type (void) G_GNUC_CONST; | GType adg_point_get_type (void) G_GNUC_CONST; | |||
AdgPoint * adg_point_copy (AdgPoint *point, | AdgPoint * adg_point_new (void); | |||
const AdgPoint *src); | AdgPoint * adg_point_dup (const AdgPoint *point); | |||
AdgPoint * adg_point_new (void); | void adg_point_destroy (AdgPoint *point); | |||
AdgPoint * adg_point_dup (const AdgPoint *point); | void adg_point_copy (AdgPoint *point, | |||
void adg_point_destroy (AdgPoint *point); | const AdgPoint *src); | |||
const AdgPair * adg_point_pair (AdgPoint *point); | void adg_point_set_pair (AdgPoint *point, | |||
void adg_point_set (AdgPoint *point, | const AdgPair *pair); | |||
const AdgPair *pair); | void adg_point_set_pair_explicit (AdgPoint *point, | |||
void adg_point_set_explicit (AdgPoint *point, | gdouble x, | |||
gdouble x, | gdouble y); | |||
gdouble y); | void adg_point_set_pair_from_model (AdgPoint *point, | |||
void adg_point_set_from_model(AdgPoint *point, | AdgModel *model, | |||
AdgModel *model, | const gchar *name); | |||
const gchar *name); | const AdgPair * adg_point_get_pair (AdgPoint *point); | |||
void adg_point_invalidate (AdgPoint *point); | void adg_point_invalidate (AdgPoint *point); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_POINT_H__ */ | #endif /* __ADG_POINT_H__ */ | |||
End of changes. 4 change blocks. | ||||
17 lines changed or deleted | 21 lines changed or added | |||
adg-primitive.h | adg-primitive.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_PRIMITIVE_H__ | #ifndef __ADG_PRIMITIVE_H__ | |||
#define __ADG_PRIMITIVE_H__ | #define __ADG_PRIMITIVE_H__ | |||
#include <cpml/cpml.h> | #include <cpml/cpml.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PRIMITIVE (adg_primitive_get_type()) | #define ADG_TYPE_PRIMITIVE (adg_primitive_get_type()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-projection.h | adg-projection.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_PROJECTION_H__ | #ifndef __ADG_PROJECTION_H__ | |||
#define __ADG_PROJECTION_H__ | #define __ADG_PROJECTION_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PROJECTION (adg_projection_get_type()) | #define ADG_TYPE_PROJECTION (adg_projection_get_type()) | |||
#define ADG_PROJECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_PROJECTION, AdgProjection)) | #define ADG_PROJECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_PROJECTION, AdgProjection)) | |||
#define ADG_PROJECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_PROJECTION, AdgProjectionClass)) | #define ADG_PROJECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_PROJECTION, AdgProjectionClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-rdim.h | adg-rdim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_RDIM_H__ | #ifndef __ADG_RDIM_H__ | |||
#define __ADG_RDIM_H__ | #define __ADG_RDIM_H__ | |||
#include <adg/adg-dim.h> | #include <adg/adg-dim.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_RDIM (adg_rdim_get_type()) | #define ADG_TYPE_RDIM (adg_rdim_get_type()) | |||
#define ADG_RDIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_RDIM, AdgRDim)) | #define ADG_RDIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_RDIM, AdgRDim)) | |||
#define ADG_RDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_RDIM, AdgRDimClass)) | #define ADG_RDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_RDIM, AdgRDimClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-ruled-fill.h | adg-ruled-fill.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_RULED_FILL_H__ | #ifndef __ADG_RULED_FILL_H__ | |||
#define __ADG_RULED_FILL_H__ | #define __ADG_RULED_FILL_H__ | |||
#include <adg/adg-fill-style.h> | #include <adg/adg-fill-style.h> | |||
#include <adg/adg-dress.h> | #include <adg/adg-dress.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_RULED_FILL (adg_ruled_fill_get_type()) | #define ADG_TYPE_RULED_FILL (adg_ruled_fill_get_type()) | |||
#define ADG_RULED_FILL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_RULED_FILL, AdgRuledFill)) | #define ADG_RULED_FILL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_RULED_FILL, AdgRuledFill)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-segment.h | adg-segment.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_SEGMENT_H__ | #ifndef __ADG_SEGMENT_H__ | |||
#define __ADG_SEGMENT_H__ | #define __ADG_SEGMENT_H__ | |||
#include <cpml/cpml.h> | #include <cpml/cpml.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_SEGMENT (adg_segment_get_type()) | #define ADG_TYPE_SEGMENT (adg_segment_get_type()) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-stroke.h | adg-stroke.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_STROKE_H__ | #ifndef __ADG_STROKE_H__ | |||
#define __ADG_STROKE_H__ | #define __ADG_STROKE_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
#include <adg/adg-trail.h> | #include <adg/adg-trail.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_STROKE (adg_stroke_get_type()) | #define ADG_TYPE_STROKE (adg_stroke_get_type()) | |||
#define ADG_STROKE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_STROKE, AdgStroke)) | #define ADG_STROKE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_STROKE, AdgStroke)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-style.h | adg-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_STYLE_H__ | #ifndef __ADG_STYLE_H__ | |||
#define __ADG_STYLE_H__ | #define __ADG_STYLE_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_STYLE (adg_style_get_type()) | #define ADG_TYPE_STYLE (adg_style_get_type()) | |||
#define ADG_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_STYLE, AdgStyle)) | #define ADG_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_STYLE, AdgStyle)) | |||
#define ADG_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_STYLE, AdgStyleClass)) | #define ADG_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_STYLE, AdgStyleClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-table-style.h | adg-table-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_TABLE_STYLE_H__ | #ifndef __ADG_TABLE_STYLE_H__ | |||
#define __ADG_TABLE_STYLE_H__ | #define __ADG_TABLE_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-dress.h> | #include <adg/adg-dress.h> | |||
#include <adg/adg-marker.h> | #include <adg/adg-marker.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-table.h | adg-table.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_TABLE_H__ | #ifndef __ADG_TABLE_H__ | |||
#define __ADG_TABLE_H__ | #define __ADG_TABLE_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_TABLE (adg_table_get_type()) | #define ADG_TYPE_TABLE (adg_table_get_type()) | |||
#define ADG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_TABLE, AdgTable)) | #define ADG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_TABLE, AdgTable)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-title-block.h | adg-title-block.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_TITLE_BLOCK_H__ | #ifndef __ADG_TITLE_BLOCK_H__ | |||
#define __ADG_TITLE_BLOCK_H__ | #define __ADG_TITLE_BLOCK_H__ | |||
#include <adg/adg-table.h> | #include <adg/adg-table.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_TITLE_BLOCK (adg_title_block_get_type()) | #define ADG_TYPE_TITLE_BLOCK (adg_title_block_get_type()) | |||
#define ADG_TITLE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_TITLE_BLOCK, AdgTitleBlock)) | #define ADG_TITLE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_TITLE_BLOCK, AdgTitleBlock)) | |||
#define ADG_TITLE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE_TITLE_BLOCK, AdgTitleBlockClass)) | #define ADG_TITLE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE_TITLE_BLOCK, AdgTitleBlockClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-toy-text.h | adg-toy-text.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_TOY_TEXT_H__ | #ifndef __ADG_TOY_TEXT_H__ | |||
#define __ADG_TOY_TEXT_H__ | #define __ADG_TOY_TEXT_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_TOY_TEXT (adg_toy_text_get_type()) | #define ADG_TYPE_TOY_TEXT (adg_toy_text_get_type()) | |||
#define ADG_TOY_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AD G_TYPE_TOY_TEXT, AdgToyText)) | #define ADG_TOY_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AD G_TYPE_TOY_TEXT, AdgToyText)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-trail.h | adg-trail.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_TRAIL_H__ | #ifndef __ADG_TRAIL_H__ | |||
#define __ADG_TRAIL_H__ | #define __ADG_TRAIL_H__ | |||
#include <adg/adg-model.h> | #include <adg/adg-model.h> | |||
#include <adg/adg-primitive.h> | #include <adg/adg-primitive.h> | |||
#include <adg/adg-segment.h> | #include <adg/adg-segment.h> | |||
#include <cpml/cpml.h> | #include <cpml/cpml.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-util.h | adg-util.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | ||||
#error "Only <adg/adg.h> can be included directly." | ||||
#endif | ||||
#ifndef __ADG_UTIL_H__ | #ifndef __ADG_UTIL_H__ | |||
#define __ADG_UTIL_H__ | #define __ADG_UTIL_H__ | |||
#include <glib.h> | #include <glib-object.h> | |||
#include <math.h> | #include <math.h> | |||
#define ADG_DIR_RIGHT 0. | #define ADG_DIR_RIGHT 0. | |||
#define ADG_DIR_DOWN M_PI_2 | #define ADG_DIR_DOWN M_PI_2 | |||
#define ADG_DIR_LEFT M_PI | #define ADG_DIR_LEFT M_PI | |||
#define ADG_DIR_UP (M_PI_2 * 3.) | #define ADG_DIR_UP (M_PI_2 * 3.) | |||
#define ADG_FORWARD_DECL(id) typedef struct _##id id | #define ADG_FORWARD_DECL(id) typedef struct _##id id | |||
#define ADG_MESSAGE(message) g_message("file `%s' at line %d: %s", \ | ||||
__FILE__, __LINE__, #message) | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#if GLIB_CHECK_VERSION(2, 16, 0) | ||||
#define adg_strcmp g_strcmp0 | ||||
#else | ||||
gint adg_strcmp (const gchar *s1, | gint adg_strcmp (const gchar *s1, | |||
const gchar *s2); | const gchar *s2); | |||
#endif | ||||
gboolean adg_is_empty (const gchar *str); | gboolean adg_is_empty (const gchar *str); | |||
gboolean adg_enum_report_invalid (GType enum_type, | ||||
int value); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_UTIL_H__ */ | #endif /* __ADG_UTIL_H__ */ | |||
End of changes. 7 change blocks. | ||||
4 lines changed or deleted | 13 lines changed or added | |||
adg-widget.h | adg-widget.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 24 | skipping to change at line 24 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_WIDGET_H__ | #ifndef __ADG_WIDGET_H__ | |||
#define __ADG_WIDGET_H__ | #define __ADG_WIDGET_H__ | |||
#include <gtk/gtk.h> | #include <gtk/gtk.h> | |||
#include <adg/adg-canvas.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_WIDGET (adg_widget_get_type()) | #define ADG_TYPE_WIDGET (adg_widget_get_type()) | |||
#define ADG_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_WIDGET, AdgWidget)) | #define ADG_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_WIDGET, AdgWidget)) | |||
#define ADG_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_WIDGET, AdgWidgetClass)) | #define ADG_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_WIDGET, AdgWidgetClass)) | |||
#define ADG_IS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_WIDGET)) | #define ADG_IS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_WIDGET)) | |||
#define ADG_IS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_WIDGET)) | #define ADG_IS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_WIDGET)) | |||
#define ADG_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_WIDGET, AdgWidgetClass)) | #define ADG_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_WIDGET, AdgWidgetClass)) | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
adg.h | adg.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_H__ | #ifndef __ADG_H__ | |||
#define __ADG_H__ | #define __ADG_H__ | |||
#include <adg/adg-adim.h> | #include <adg/adg-pair.h> | |||
#include <adg/adg-alignment.h> | #include <adg/adg-matrix.h> | |||
#include <adg/adg-canvas.h> | #include <adg/adg-pattern.h> | |||
#include <adg/adg-container.h> | #include <adg/adg-primitive.h> | |||
#include <adg/adg-dim.h> | #include <adg/adg-segment.h> | |||
#include <adg/adg-dress.h> | #include <adg/adg-point.h> | |||
#include <adg/adg-dress-builtins.h> | ||||
#include <adg/adg-model.h> | ||||
#include <adg/adg-trail.h> | ||||
#include <adg/adg-path.h> | ||||
#include <adg/adg-edges.h> | #include <adg/adg-edges.h> | |||
#include <adg/adg-entity.h> | ||||
#include <adg/adg-enums.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-color-style.h> | ||||
#include <adg/adg-line-style.h> | ||||
#include <adg/adg-font-style.h> | ||||
#include <adg/adg-ruled-fill.h> | ||||
#include <adg/adg-table-style.h> | ||||
#include <adg/adg-dim-style.h> | ||||
#include <adg/adg-fill-style.h> | #include <adg/adg-fill-style.h> | |||
#include <adg/adg-entity.h> | ||||
#include <adg/adg-stroke.h> | ||||
#include <adg/adg-hatch.h> | #include <adg/adg-hatch.h> | |||
#include <adg/adg-ldim.h> | #include <adg/adg-toy-text.h> | |||
#include <adg/adg-logo.h> | #include <adg/adg-logo.h> | |||
#include <adg/adg-matrix.h> | ||||
#include <adg/adg-model.h> | ||||
#include <adg/adg-pair.h> | ||||
#include <adg/adg-path.h> | ||||
#include <adg/adg-pattern.h> | ||||
#include <adg/adg-point.h> | ||||
#include <adg/adg-primitive.h> | ||||
#include <adg/adg-projection.h> | #include <adg/adg-projection.h> | |||
#include <adg/adg-container.h> | ||||
#include <adg/adg-alignment.h> | ||||
#include <adg/adg-canvas.h> | ||||
#include <adg/adg-marker.h> | ||||
#include <adg/adg-arrow.h> | ||||
#include <adg/adg-dim.h> | ||||
#include <adg/adg-adim.h> | ||||
#include <adg/adg-ldim.h> | ||||
#include <adg/adg-rdim.h> | #include <adg/adg-rdim.h> | |||
#include <adg/adg-segment.h> | ||||
#include <adg/adg-stroke.h> | ||||
#include <adg/adg-style.h> | ||||
#include <adg/adg-table.h> | #include <adg/adg-table.h> | |||
#include <adg/adg-table-style.h> | ||||
#include <adg/adg-title-block.h> | #include <adg/adg-title-block.h> | |||
#include <adg/adg-toy-text.h> | ||||
#include <adg/adg-type-builtins.h> | ||||
#include <adg/adg-util.h> | ||||
#include <adg/adg-widget.h> | ||||
#endif /* __ADG_H__ */ | #endif /* __ADG_H__ */ | |||
End of changes. 10 change blocks. | ||||
26 lines changed or deleted | 31 lines changed or added | |||
cpml-arc.h | cpml-arc.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_ARC_H__ | #ifndef __CPML_ARC_H__ | |||
#define __CPML_ARC_H__ | #define __CPML_ARC_H__ | |||
#include <cpml/cpml-primitive.h> | ||||
#include <cpml/cpml-util.h> | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
int cpml_arc_type_get_npoints (void) CPML_GNUC_CONST; | #ifdef CAIRO_PATH_ARC_TO | |||
#define CPML_ARC CAIRO_PATH_ARC_TO | ||||
#else | ||||
#define CPML_ARC 100 | ||||
#endif | ||||
cairo_bool_t | cairo_bool_t | |||
cpml_arc_info (const CpmlPrimitive *arc, | cpml_arc_info (const CpmlPrimitive *arc, | |||
CpmlPair *center, | CpmlPair *center, | |||
double *r, | double *r, | |||
double *start, | double *start, | |||
double *end); | double *end); | |||
double cpml_arc_length (const CpmlPrimitive *arc); | ||||
void cpml_arc_extents (const CpmlPrimitive *arc, | ||||
CpmlExtents *extents); | ||||
void cpml_arc_pair_at (const CpmlPrimitive *arc, | ||||
CpmlPair *pair, | ||||
double pos); | ||||
void cpml_arc_vector_at (const CpmlPrimitive *arc, | ||||
CpmlVector *vector, | ||||
double pos); | ||||
double cpml_arc_near_pos (const CpmlPrimitive *arc, | ||||
const CpmlPair *pair); | ||||
int cpml_arc_intersection (const CpmlPrimitive *arc, | ||||
const CpmlPrimitive *arc2, | ||||
CpmlPair *dest, | ||||
int max); | ||||
int cpml_arc_intersection_with_line (const CpmlPrimitive *arc, | ||||
const CpmlPrimitive *line, | ||||
CpmlPair *dest, | ||||
int max); | ||||
void cpml_arc_offset (CpmlPrimitive *arc, | ||||
double offset); | ||||
void cpml_arc_to_cairo (const CpmlPrimitive *arc, | void cpml_arc_to_cairo (const CpmlPrimitive *arc, | |||
cairo_t *cr); | cairo_t *cr); | |||
void cpml_arc_to_curves (const CpmlPrimitive *arc, | void cpml_arc_to_curves (const CpmlPrimitive *arc, | |||
CpmlSegment *segment, | CpmlSegment *segment, | |||
int n_curves); | size_t n_curves); | |||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_ARC_H__ */ | #endif /* __CPML_ARC_H__ */ | |||
End of changes. 6 change blocks. | ||||
27 lines changed or deleted | 12 lines changed or added | |||
cpml-close.h | cpml-close.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_CLOSE_H__ | #ifndef __CPML_CLOSE_H__ | |||
#define __CPML_CLOSE_H__ | #define __CPML_CLOSE_H__ | |||
#include <cpml/cpml-primitive.h> | #define CPML_CLOSE CAIRO_PATH_CLOSE_PATH | |||
#include <cpml/cpml-util.h> | ||||
CAIRO_BEGIN_DECLS | ||||
int cpml_close_type_get_npoints (void) CPML_GNUC_CONST; | ||||
void cpml_close_pair_at (const CpmlPrimitive *close, | ||||
CpmlPair *pair, | ||||
double pos); | ||||
void cpml_close_vector_at (const CpmlPrimitive *close, | ||||
CpmlVector *vector, | ||||
double pos); | ||||
double cpml_close_near_pos (const CpmlPrimitive *close, | ||||
const CpmlPair *pair); | ||||
void cpml_close_offset (CpmlPrimitive *close, | ||||
double offset); | ||||
CAIRO_END_DECLS | ||||
#endif /* __CPML_CLOSE_H__ */ | #endif /* __CPML_CLOSE_H__ */ | |||
End of changes. 3 change blocks. | ||||
19 lines changed or deleted | 6 lines changed or added | |||
cpml-curve.h | cpml-curve.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_CURVE_H__ | #ifndef __CPML_CURVE_H__ | |||
#define __CPML_CURVE_H__ | #define __CPML_CURVE_H__ | |||
#include <cpml/cpml-primitive.h> | ||||
#include <cpml/cpml-util.h> | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
int cpml_curve_type_get_npoints (void) CPML_GNUC_CONST; | #define CPML_CURVE CAIRO_PATH_CURVE_TO | |||
double cpml_curve_length (const CpmlPrimitive *curve); | ||||
void cpml_curve_extents (const CpmlPrimitive *curve, | void cpml_curve_put_pair_at_time (const CpmlPrimitive *curve, | |||
CpmlExtents *extents); | double t, | |||
void cpml_curve_pair_at_time (const CpmlPrimitive *curve, | CpmlPair *pair); | |||
CpmlPair *pair, | void cpml_curve_put_vector_at_time (const CpmlPrimitive *curve, | |||
double t); | double t, | |||
void cpml_curve_pair_at (const CpmlPrimitive *curve, | CpmlVector *vector); | |||
CpmlPair *pair, | ||||
double pos); | ||||
void cpml_curve_vector_at_time (const CpmlPrimitive *curve, | ||||
CpmlVector *vector, | ||||
double t); | ||||
void cpml_curve_vector_at (const CpmlPrimitive *curve, | ||||
CpmlVector *vector, | ||||
double pos); | ||||
double cpml_curve_near_pos (const CpmlPrimitive *curve, | ||||
const CpmlPair *pair); | ||||
int cpml_curve_intersection (const CpmlPrimitive *curve, | ||||
const CpmlPrimitive *curve2, | ||||
CpmlPair *dest, | ||||
int max); | ||||
int cpml_curve_intersection_with_arc(const CpmlPrimitive *curve, | ||||
const CpmlPrimitive *arc, | ||||
CpmlPair *dest, | ||||
int max); | ||||
int cpml_curve_intersection_with_line | ||||
(const CpmlPrimitive *curve, | ||||
const CpmlPrimitive *line, | ||||
CpmlPair *dest, | ||||
int max); | ||||
void cpml_curve_offset (CpmlPrimitive *curve, | ||||
double offset); | ||||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_CURVE_H__ */ | #endif /* __CPML_CURVE_H__ */ | |||
End of changes. 4 change blocks. | ||||
37 lines changed or deleted | 13 lines changed or added | |||
cpml-extents.h | cpml-extents.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_EXTENTS_H__ | #ifndef __CPML_EXTENTS_H__ | |||
#define __CPML_EXTENTS_H__ | #define __CPML_EXTENTS_H__ | |||
#include <cpml/cpml-pair.h> | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
typedef struct _CpmlExtents CpmlExtents; | typedef struct _CpmlExtents CpmlExtents; | |||
struct _CpmlExtents { | struct _CpmlExtents { | |||
cairo_bool_t is_defined; | cairo_bool_t is_defined; | |||
CpmlPair org; | CpmlPair org; | |||
CpmlVector size; | CpmlVector size; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||
cpml-line.h | cpml-line.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_LINE_H__ | #ifndef __CPML_LINE_H__ | |||
#define __CPML_LINE_H__ | #define __CPML_LINE_H__ | |||
#include <cpml/cpml-primitive.h> | #define CPML_LINE CAIRO_PATH_LINE_TO | |||
#include <cpml/cpml-util.h> | ||||
CAIRO_BEGIN_DECLS | ||||
int cpml_line_type_get_npoints (void) CPML_GNUC_CONST; | ||||
double cpml_line_length (const CpmlPrimitive *line); | ||||
void cpml_line_extents (const CpmlPrimitive *line, | ||||
CpmlExtents *extents); | ||||
void cpml_line_pair_at (const CpmlPrimitive *line, | ||||
CpmlPair *pair, | ||||
double pos); | ||||
void cpml_line_vector_at (const CpmlPrimitive *line, | ||||
CpmlVector *vector, | ||||
double pos); | ||||
double cpml_line_near_pos (const CpmlPrimitive *line, | ||||
const CpmlPair *pair); | ||||
int cpml_line_intersection (const CpmlPrimitive *line, | ||||
const CpmlPrimitive *line2, | ||||
CpmlPair *dest, | ||||
int max); | ||||
void cpml_line_offset (CpmlPrimitive *line, | ||||
double offset); | ||||
CAIRO_END_DECLS | ||||
#endif /* __CPML_LINE_H__ */ | #endif /* __CPML_LINE_H__ */ | |||
End of changes. 3 change blocks. | ||||
26 lines changed or deleted | 6 lines changed or added | |||
cpml-pair.h | cpml-pair.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_PAIR_H__ | #ifndef __CPML_PAIR_H__ | |||
#define __CPML_PAIR_H__ | #define __CPML_PAIR_H__ | |||
#include <cairo.h> | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
typedef struct _CpmlPair CpmlPair; | typedef struct _CpmlPair CpmlPair; | |||
typedef struct _CpmlPair CpmlVector; | typedef struct _CpmlPair CpmlVector; | |||
struct _CpmlPair { | struct _CpmlPair { | |||
double x, y; | double x, y; | |||
}; | }; | |||
CpmlPair * cpml_pair_copy (CpmlPair *pair, | void cpml_pair_from_cairo (CpmlPair *pair, | |||
const CpmlPair *src); | ||||
CpmlPair * cpml_pair_from_cairo (CpmlPair *pair, | ||||
const cairo_path_data_t | const cairo_path_data_t | |||
*path_data) ; | *path_data) ; | |||
void cpml_pair_copy (CpmlPair *pair, | ||||
void cpml_pair_negate (CpmlPair *pair); | ||||
cairo_bool_t cpml_pair_invert (CpmlPair *pair); | ||||
void cpml_pair_add (CpmlPair *pair, | ||||
const CpmlPair *src); | ||||
void cpml_pair_sub (CpmlPair *pair, | ||||
const CpmlPair *src); | ||||
void cpml_pair_mul (CpmlPair *pair, | ||||
const CpmlPair *src); | ||||
cairo_bool_t cpml_pair_div (CpmlPair *pair, | ||||
const CpmlPair *src); | const CpmlPair *src); | |||
void cpml_pair_transform (CpmlPair *pair, | void cpml_pair_transform (CpmlPair *pair, | |||
const cairo_matrix_t | const cairo_matrix_t | |||
*matrix); | *matrix); | |||
double cpml_pair_squared_distance (const CpmlPair *from, | double cpml_pair_squared_distance (const CpmlPair *from, | |||
const CpmlPair *to); | const CpmlPair *to); | |||
double cpml_pair_distance (const CpmlPair *from, | double cpml_pair_distance (const CpmlPair *from, | |||
const CpmlPair *to); | const CpmlPair *to); | |||
void cpml_pair_to_cairo (const CpmlPair *pair, | void cpml_pair_to_cairo (const CpmlPair *pair, | |||
cairo_path_data_t | cairo_path_data_t | |||
*path_data) ; | *path_data) ; | |||
CpmlVector * cpml_vector_from_angle (CpmlVector *vector, | void cpml_vector_from_angle (CpmlVector *vector, | |||
double angle); | double angle); | |||
void cpml_vector_set_length (CpmlVector *vector, | void cpml_vector_set_length (CpmlVector *vector, | |||
double length); | double length); | |||
double cpml_vector_angle (const CpmlVector | double cpml_vector_angle (const CpmlVector | |||
*vector); | *vector); | |||
void cpml_vector_normal (CpmlVector *vector); | void cpml_vector_normal (CpmlVector *vector); | |||
void cpml_vector_transform (CpmlVector *vector, | void cpml_vector_transform (CpmlVector *vector, | |||
const cairo_matrix_t | const cairo_matrix_t | |||
*matrix); | *matrix); | |||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
End of changes. 7 change blocks. | ||||
18 lines changed or deleted | 8 lines changed or added | |||
cpml-primitive.h | cpml-primitive.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_PRIMITIVE_H__ | #ifndef __CPML_PRIMITIVE_H__ | |||
#define __CPML_PRIMITIVE_H__ | #define __CPML_PRIMITIVE_H__ | |||
#include <cpml/cpml-segment.h> | ||||
#include <cpml/cpml-pair.h> | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
#define CPML_MOVE CAIRO_PATH_MOVE_TO | ||||
typedef struct _CpmlPrimitive CpmlPrimitive; | typedef struct _CpmlPrimitive CpmlPrimitive; | |||
typedef cairo_path_data_type_t CpmlPrimitiveType; | typedef cairo_path_data_type_t CpmlPrimitiveType; | |||
struct _CpmlPrimitive { | struct _CpmlPrimitive { | |||
CpmlSegment *segment; | CpmlSegment *segment; | |||
cairo_path_data_t *org; | cairo_path_data_t *org; | |||
cairo_path_data_t *data; | cairo_path_data_t *data; | |||
}; | }; | |||
CpmlPrimitive * | size_t cpml_primitive_type_get_n_points | |||
cpml_primitive_copy (CpmlPrimitive *primitive, | (CpmlPrimitiveType type); | |||
const CpmlPrimitive *src); | void cpml_primitive_from_segment(CpmlPrimitive *primitive, | |||
CpmlPrimitive * | CpmlSegment *segment); | |||
cpml_primitive_from_segment (CpmlPrimitive *primitive, | void cpml_primitive_copy (CpmlPrimitive *primitive, | |||
CpmlSegment *segment); | const CpmlPrimitive *src); | |||
void cpml_primitive_reset (CpmlPrimitive *primitive) | void cpml_primitive_reset (CpmlPrimitive *primitive) | |||
; | ; | |||
cairo_bool_t | cairo_bool_t cpml_primitive_next (CpmlPrimitive *primitive) | |||
cpml_primitive_next (CpmlPrimitive *primitive) | ; | |||
; | size_t cpml_primitive_get_n_points(const CpmlPrimitive *primitive) | |||
; | ||||
int cpml_primitive_get_npoints (const CpmlPrimitive *primitive) | ||||
; | ||||
cairo_path_data_t * | cairo_path_data_t * | |||
cpml_primitive_get_point (const CpmlPrimitive *primitive, | cpml_primitive_get_point (const CpmlPrimitive *primitive, | |||
int npoint); | int n_point); | |||
void cpml_primitive_to_cairo (const CpmlPrimitive *primitive, | double cpml_primitive_get_length (const CpmlPrimitive *primitive) | |||
cairo_t *cr); | ; | |||
void cpml_primitive_dump (const CpmlPrimitive *primitive, | void cpml_primitive_put_extents (const CpmlPrimitive *primitive, | |||
cairo_bool_t org_also); | CpmlExtents *extents); | |||
int cpml_primitive_intersection_with_segment | void cpml_primitive_put_pair_at (const CpmlPrimitive *primitive, | |||
(const CpmlPrimitive *primitive, | double pos, | |||
const CpmlSegment *segment, | CpmlPair *pair); | |||
CpmlPair *dest, | void cpml_primitive_put_vector_at | |||
int max); | (const CpmlPrimitive *primitive, | |||
double pos, | ||||
/* To be implemented by the primitives */ | CpmlVector *vector); | |||
int cpml_primitive_type_get_npoints (CpmlPrimitiveType type); | double cpml_primitive_get_closest_pos | |||
double cpml_primitive_length (const CpmlPrimitive *primitive) | (const CpmlPrimitive *primitive, | |||
; | const CpmlPair *pair); | |||
void cpml_primitive_extents (const CpmlPrimitive *primitive, | size_t cpml_primitive_put_intersections | |||
CpmlExtents *extents); | (const CpmlPrimitive *primitive, | |||
void cpml_primitive_pair_at (const CpmlPrimitive *primitive, | const CpmlPrimitive *primitive2 | |||
CpmlPair *pair, | , | |||
double pos); | size_t n_dest, | |||
void cpml_primitive_vector_at (const CpmlPrimitive *primitive, | CpmlPair *dest); | |||
CpmlVector *vector, | size_t cpml_primitive_put_intersections_with_segment | |||
double pos); | (const CpmlPrimitive *primitive, | |||
double cpml_primitive_near_pos (const CpmlPrimitive *primitive, | const CpmlSegment *segment, | |||
const CpmlPair *pair); | size_t n_dest, | |||
cairo_bool_t | CpmlPair *dest); | |||
cpml_primitive_join (CpmlPrimitive *primitive, | void cpml_primitive_offset (CpmlPrimitive *primitive, | |||
CpmlPrimitive *primitive2 | double offset); | |||
); | cairo_bool_t cpml_primitive_join (CpmlPrimitive *primitive, | |||
int cpml_primitive_intersection (const CpmlPrimitive *primitive, | CpmlPrimitive *primitive2 | |||
const CpmlPrimitive *primitive2 | ); | |||
, | void cpml_primitive_to_cairo (const CpmlPrimitive *primitive, | |||
CpmlPair *dest, | cairo_t *cr); | |||
int max); | void cpml_primitive_dump (const CpmlPrimitive *primitive, | |||
void cpml_primitive_offset (CpmlPrimitive *primitive, | cairo_bool_t org_also); | |||
double offset); | ||||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_PRIMITIVE_H__ */ | #endif /* __CPML_PRIMITIVE_H__ */ | |||
End of changes. 7 change blocks. | ||||
58 lines changed or deleted | 58 lines changed or added | |||
cpml-segment.h | cpml-segment.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_SEGMENT_H__ | #ifndef __CPML_SEGMENT_H__ | |||
#define __CPML_SEGMENT_H__ | #define __CPML_SEGMENT_H__ | |||
#include <cairo.h> | ||||
#include <cpml/cpml-extents.h> | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
typedef cairo_path_t CpmlPath; | typedef cairo_path_t CpmlPath; | |||
typedef struct _CpmlSegment CpmlSegment; | typedef struct _CpmlSegment CpmlSegment; | |||
struct _CpmlSegment { | struct _CpmlSegment { | |||
CpmlPath *path; | CpmlPath *path; | |||
cairo_path_data_t *data; | cairo_path_data_t *data; | |||
int num_data; | int num_data; | |||
}; | }; | |||
cairo_bool_t | cairo_bool_t | |||
cpml_segment_from_cairo (CpmlSegment *segment, | cpml_segment_from_cairo (CpmlSegment *segment, | |||
CpmlPath *path); | CpmlPath *path); | |||
CpmlSegment * | void cpml_segment_copy (CpmlSegment *segment, | |||
cpml_segment_copy (CpmlSegment *segment, | ||||
const CpmlSegment *src); | const CpmlSegment *src); | |||
#define cpml_path_is_empty(cpml_path) \ | ||||
void cpml_segment_to_cairo (const CpmlSegment *segment, | ((cpml_path) == NULL || (cpml_path)->data == NULL || \ | |||
cairo_t *cr); | (cpml_path)->num_data <= 0) | |||
void cpml_segment_dump (const CpmlSegment *segment); | ||||
void cpml_segment_reset (CpmlSegment *segment); | void cpml_segment_reset (CpmlSegment *segment); | |||
cairo_bool_t | cairo_bool_t | |||
cpml_segment_next (CpmlSegment *segment); | cpml_segment_next (CpmlSegment *segment); | |||
double cpml_segment_get_length (const CpmlSegment *segment); | ||||
double cpml_segment_length (const CpmlSegment *segment); | void cpml_segment_put_extents (const CpmlSegment *segment, | |||
void cpml_segment_extents (const CpmlSegment *segment, | ||||
CpmlExtents *extents); | CpmlExtents *extents); | |||
void cpml_segment_pair_at (const CpmlSegment *segment, | void cpml_segment_put_pair_at (const CpmlSegment *segment, | |||
CpmlPair *pair, | double pos, | |||
double pos); | CpmlPair *pair); | |||
void cpml_segment_vector_at (const CpmlSegment *segment, | void cpml_segment_put_vector_at (const CpmlSegment *segment, | |||
CpmlVector *vector, | double pos, | |||
double pos); | CpmlVector *vector); | |||
size_t cpml_segment_put_intersections (const CpmlSegment *segment, | ||||
void cpml_segment_reverse (CpmlSegment *segment); | ||||
void cpml_segment_transform (CpmlSegment *segment, | ||||
const cairo_matrix_t *matrix); | ||||
int cpml_segment_intersection (const CpmlSegment *segment, | ||||
const CpmlSegment *segment2, | const CpmlSegment *segment2, | |||
CpmlPair *dest, | size_t n_dest, | |||
int max); | CpmlPair *dest); | |||
void cpml_segment_offset (CpmlSegment *segment, | void cpml_segment_offset (CpmlSegment *segment, | |||
double offset); | double offset); | |||
void cpml_segment_transform (CpmlSegment *segment, | ||||
const cairo_matrix_t *matrix); | ||||
void cpml_segment_reverse (CpmlSegment *segment); | ||||
void cpml_segment_to_cairo (const CpmlSegment *segment, | ||||
cairo_t *cr); | ||||
void cpml_segment_dump (const CpmlSegment *segment); | ||||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_SEGMENT_H__ */ | #endif /* __CPML_SEGMENT_H__ */ | |||
End of changes. 9 change blocks. | ||||
27 lines changed or deleted | 26 lines changed or added | |||
cpml-util.h | cpml-util.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | ||||
#error "Only <cpml/cpml.h> can be included directly." | ||||
#endif | ||||
#ifndef __CPML_UTIL_H__ | #ifndef __CPML_UTIL_H__ | |||
#define __CPML_UTIL_H__ | #define __CPML_UTIL_H__ | |||
/* Required include files */ | ||||
#include <stdlib.h> | ||||
#include <cairo.h> | #include <cairo.h> | |||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) | |||
#define CPML_GNUC_CONST __attribute__((__const__)) | #define CPML_GNUC_CONST __attribute__((__const__)) | |||
#else | #else | |||
#define CPML_GNUC_CONST | #define CPML_GNUC_CONST | |||
#endif | #endif | |||
#ifndef CAIRO_PATH_ARC_TO | ||||
#define CAIRO_PATH_ARC_TO 100 | ||||
#undef CAIRO_HAS_ARC_SUPPORT | ||||
#else | ||||
#define CAIRO_HAS_ARC_SUPPORT 1 | ||||
#endif | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
double cpml_angle (double angle); | double cpml_angle (double angle); | |||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_UTIL_H__ */ | #endif /* __CPML_UTIL_H__ */ | |||
End of changes. 4 change blocks. | ||||
8 lines changed or deleted | 7 lines changed or added | |||
cpml.h | cpml.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, 2009 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __CPML_H__ | #ifndef __CPML_H__ | |||
#define __CPML_H__ | #define __CPML_H__ | |||
#include <cpml/cpml-arc.h> | #include <cpml/cpml-util.h> | |||
#include <cpml/cpml-curve.h> | ||||
#include <cpml/cpml-extents.h> | ||||
#include <cpml/cpml-line.h> | ||||
#include <cpml/cpml-pair.h> | #include <cpml/cpml-pair.h> | |||
#include <cpml/cpml-primitive.h> | #include <cpml/cpml-extents.h> | |||
#include <cpml/cpml-segment.h> | #include <cpml/cpml-segment.h> | |||
#include <cpml/cpml-util.h> | #include <cpml/cpml-primitive.h> | |||
#include <cpml/cpml-line.h> | ||||
#include <cpml/cpml-close.h> | ||||
#include <cpml/cpml-arc.h> | ||||
#include <cpml/cpml-curve.h> | ||||
#endif /* __CPML_H__ */ | #endif /* __CPML_H__ */ | |||
End of changes. 4 change blocks. | ||||
7 lines changed or deleted | 8 lines changed or added | |||