adg-adim.h | adg-adim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_ADIM_H__ | #ifndef __ADG_ADIM_H__ | |||
#define __ADG_ADIM_H__ | #define __ADG_ADIM_H__ | |||
#include "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)) | |||
#define ADG_IS_ADIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_ADIM)) | #define ADG_IS_ADIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_ADIM)) | |||
#define ADG_IS_ADIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_ADIM)) | #define ADG_IS_ADIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_ADIM)) | |||
#define ADG_ADIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_ADIM, AdgADimClass)) | #define ADG_ADIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_ADIM, AdgADimClass)) | |||
typedef struct _AdgADim AdgADim; | typedef struct _AdgADim AdgADim; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
adg-alignment.h | adg-alignment.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_ALIGNMENT_H__ | #ifndef __ADG_ALIGNMENT_H__ | |||
#define __ADG_ALIGNMENT_H__ | #define __ADG_ALIGNMENT_H__ | |||
#include "adg-container.h" | ||||
#include "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)) | |||
#define ADG_ALIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), AD G_TYPE_ALIGNMENT, AdgAlignmentClass)) | #define ADG_ALIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), AD G_TYPE_ALIGNMENT, AdgAlignmentClass)) | |||
#define ADG_IS_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), A DG_TYPE_ALIGNMENT)) | #define ADG_IS_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), A DG_TYPE_ALIGNMENT)) | |||
#define ADG_IS_ALIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), AD G_TYPE_ALIGNMENT)) | #define ADG_IS_ALIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), AD G_TYPE_ALIGNMENT)) | |||
#define ADG_ALIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AD G_TYPE_ALIGNMENT, AdgAlignmentClass)) | #define ADG_ALIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AD G_TYPE_ALIGNMENT, AdgAlignmentClass)) | |||
typedef struct _AdgAlignment AdgAlignment; | typedef struct _AdgAlignment AdgAlignment; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-arrow.h | adg-arrow.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_ARROW_H__ | #ifndef __ADG_ARROW_H__ | |||
#define __ADG_ARROW_H__ | #define __ADG_ARROW_H__ | |||
#include "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)) | |||
#define ADG_IS_ARROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_ARROW)) | #define ADG_IS_ARROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_ARROW)) | |||
#define ADG_IS_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_ARROW)) | #define ADG_IS_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_ARROW)) | |||
#define ADG_ARROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_ARROW, AdgArrowClass)) | #define ADG_ARROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_ARROW, AdgArrowClass)) | |||
typedef struct _AdgArrow AdgArrow; | typedef struct _AdgArrow AdgArrow; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
adg-canvas.h | adg-canvas.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_CANVAS_H__ | #ifndef __ADG_CANVAS_H__ | |||
#define __ADG_CANVAS_H__ | #define __ADG_CANVAS_H__ | |||
#include "adg-container.h" | ||||
#include "adg-title-block.h" | ||||
#include "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)) | |||
#define ADG_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_CANVAS, AdgCanvasClass)) | #define ADG_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_CANVAS, AdgCanvasClass)) | |||
#define ADG_IS_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_CANVAS)) | #define ADG_IS_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_CANVAS)) | |||
#define ADG_IS_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_CANVAS)) | #define ADG_IS_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_CANVAS)) | |||
#define ADG_CANVAS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_CANVAS, AdgCanvasClass)) | #define ADG_CANVAS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_CANVAS, AdgCanvasClass)) | |||
#if 0 | #if 0 | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_COLOR_STYLE_H__ | #ifndef __ADG_COLOR_STYLE_H__ | |||
#define __ADG_COLOR_STYLE_H__ | #define __ADG_COLOR_STYLE_H__ | |||
#include "adg-style.h" | ||||
#include "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)) | |||
#define ADG_COLOR_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE_COLOR_STYLE, AdgColorStyleClass)) | #define ADG_COLOR_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE_COLOR_STYLE, AdgColorStyleClass)) | |||
#define ADG_IS_COLOR_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_COLOR_STYLE)) | #define ADG_IS_COLOR_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_COLOR_STYLE)) | |||
#define ADG_IS_COLOR_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE_COLOR_STYLE)) | #define ADG_IS_COLOR_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE_COLOR_STYLE)) | |||
#define ADG_COLOR_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE_COLOR_STYLE, AdgColorStyleClass)) | #define ADG_COLOR_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE_COLOR_STYLE, AdgColorStyleClass)) | |||
typedef struct _AdgColorStyle AdgColorStyle; | typedef struct _AdgColorStyle AdgColorStyle; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-container.h | adg-container.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_CONTAINER_H__ | #ifndef __ADG_CONTAINER_H__ | |||
#define __ADG_CONTAINER_H__ | #define __ADG_CONTAINER_H__ | |||
#include "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)) | |||
#define ADG_IS_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), A DG_TYPE_CONTAINER)) | #define ADG_IS_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), A DG_TYPE_CONTAINER)) | |||
#define ADG_IS_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), AD G_TYPE_CONTAINER)) | #define ADG_IS_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), AD G_TYPE_CONTAINER)) | |||
#define ADG_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AD G_TYPE_CONTAINER, AdgContainerClass)) | #define ADG_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AD G_TYPE_CONTAINER, AdgContainerClass)) | |||
typedef struct _AdgContainer AdgContainer; | typedef struct _AdgContainer AdgContainer; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_DIM_STYLE_H__ | #ifndef __ADG_DIM_STYLE_H__ | |||
#define __ADG_DIM_STYLE_H__ | #define __ADG_DIM_STYLE_H__ | |||
#include "adg-style.h" | ||||
#include "adg-dress.h" | ||||
#include "adg-marker.h" | ||||
#include "adg-pair.h" | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_DIM_STYLE (adg_dim_style_get_type()) | #define ADG_TYPE_DIM_STYLE (adg_dim_style_get_type()) | |||
#define ADG_DIM_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), A DG_TYPE_DIM_STYLE, AdgDimStyle)) | #define ADG_DIM_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), A DG_TYPE_DIM_STYLE, AdgDimStyle)) | |||
#define ADG_DIM_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), AD G_TYPE_DIM_STYLE, AdgDimStyleClass)) | #define ADG_DIM_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), AD G_TYPE_DIM_STYLE, AdgDimStyleClass)) | |||
#define ADG_IS_DIM_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), A DG_TYPE_DIM_STYLE)) | #define ADG_IS_DIM_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), A DG_TYPE_DIM_STYLE)) | |||
#define ADG_IS_DIM_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), AD G_TYPE_DIM_STYLE)) | #define ADG_IS_DIM_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), AD G_TYPE_DIM_STYLE)) | |||
#define ADG_DIM_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AD G_TYPE_DIM_STYLE, AdgDimStyleClass)) | #define ADG_DIM_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AD G_TYPE_DIM_STYLE, AdgDimStyleClass)) | |||
typedef struct _AdgDimStyle AdgDimStyle; | typedef struct _AdgDimStyle AdgDimStyle; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 1 lines changed or added | |||
adg-dim.h | adg-dim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_DIM_H__ | #ifndef __ADG_DIM_H__ | |||
#define __ADG_DIM_H__ | #define __ADG_DIM_H__ | |||
#include "adg-point.h" | ||||
#include "adg-alignment.h" | ||||
#include "adg-model.h" | ||||
#include "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()) | |||
#define ADG_DIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYP E_DIM, AdgDim)) | #define ADG_DIM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYP E_DIM, AdgDim)) | |||
#define ADG_DIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE _DIM, AdgDimClass)) | #define ADG_DIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE _DIM, AdgDimClass)) | |||
#define ADG_IS_DIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYP E_DIM)) | #define ADG_IS_DIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYP E_DIM)) | |||
#define ADG_IS_DIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE _DIM)) | #define ADG_IS_DIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE _DIM)) | |||
#define ADG_DIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE _DIM, AdgDimClass)) | #define ADG_DIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE _DIM, AdgDimClass)) | |||
typedef struct _AdgDim AdgDim; | typedef struct _AdgDim AdgDim; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_DRESS_BUILTINS_H__ | #ifndef __ADG_DRESS_BUILTINS_H__ | |||
#define __ADG_DRESS_BUILTINS_H__ | #define __ADG_DRESS_BUILTINS_H__ | |||
#include "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_BACKGROUND (_adg_dress_color_background()) | #define ADG_DRESS_COLOR_BACKGROUND (_adg_dress_color_background()) | |||
#define ADG_DRESS_COLOR_STROKE (_adg_dress_color_stroke()) | #define ADG_DRESS_COLOR_STROKE (_adg_dress_color_stroke()) | |||
#define ADG_DRESS_COLOR_DIMENSION (_adg_dress_color_dimension()) | #define ADG_DRESS_COLOR_DIMENSION (_adg_dress_color_dimension()) | |||
#define ADG_DRESS_COLOR_FILL (_adg_dress_color_fill()) | #define ADG_DRESS_COLOR_FILL (_adg_dress_color_fill()) | |||
#define ADG_DRESS_COLOR_ANNOTATION (_adg_dress_color_annotation()) | #define ADG_DRESS_COLOR_ANNOTATION (_adg_dress_color_annotation()) | |||
#define ADG_DRESS_LINE (_adg_dress_line()) | #define ADG_DRESS_LINE (_adg_dress_line()) | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
adg-dress.h | adg-dress.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_DRESS_H__ | #ifndef __ADG_DRESS_H__ | |||
#define __ADG_DRESS_H__ | #define __ADG_DRESS_H__ | |||
#include "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)) | |||
#define ADG_TYPE_PARAM_SPEC_DRESS (_adg_param_spec_dress_get_type()) | #define ADG_TYPE_PARAM_SPEC_DRESS (_adg_param_spec_dress_get_type()) | |||
#define ADG_IS_PARAM_SPEC_DRESS(spec) (G_TYPE_CHECK_INSTANCE_TYPE((spec), ADG_TYPE_PARAM_SPEC_DRESS)) | #define ADG_IS_PARAM_SPEC_DRESS(spec) (G_TYPE_CHECK_INSTANCE_TYPE((spec), ADG_TYPE_PARAM_SPEC_DRESS)) | |||
/* AdgDress defined in adg-entity.h */ | /* AdgDress defined in adg-entity.h */ | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
adg-edges.h | adg-edges.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_EDGES_H__ | #ifndef __ADG_EDGES_H__ | |||
#define __ADG_EDGES_H__ | #define __ADG_EDGES_H__ | |||
#include "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)) | |||
#define ADG_IS_EDGES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_EDGES)) | #define ADG_IS_EDGES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_EDGES)) | |||
#define ADG_IS_EDGES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_EDGES)) | #define ADG_IS_EDGES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_EDGES)) | |||
#define ADG_EDGES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_EDGES, AdgEdgesClass)) | #define ADG_EDGES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_EDGES, AdgEdgesClass)) | |||
typedef struct _AdgEdges AdgEdges; | typedef struct _AdgEdges AdgEdges; | |||
skipping to change at line 59 | skipping to change at line 57 | |||
AdgTrailClass parent_class; | AdgTrailClass parent_class; | |||
}; | }; | |||
GType adg_edges_get_type (void) G_GNUC_CONST; | GType adg_edges_get_type (void) G_GNUC_CONST; | |||
AdgEdges * adg_edges_new (void); | AdgEdges * adg_edges_new (void); | |||
AdgEdges * adg_edges_new_with_source (AdgTrail *source); | AdgEdges * adg_edges_new_with_source (AdgTrail *source); | |||
void adg_edges_set_source (AdgEdges *edges, | void adg_edges_set_source (AdgEdges *edges, | |||
AdgTrail *source); | AdgTrail *source); | |||
AdgTrail * adg_edges_get_source (AdgEdges *edges); | AdgTrail * adg_edges_get_source (AdgEdges *edges); | |||
void adg_edges_set_axis_angle (AdgEdges *edges, | ||||
gdouble angle); | ||||
gdouble adg_edges_get_axis_angle (AdgEdges *edges); | ||||
void adg_edges_set_critical_angle (AdgEdges *edges, | void adg_edges_set_critical_angle (AdgEdges *edges, | |||
gdouble angle); | gdouble angle); | |||
gdouble adg_edges_get_critical_angle (AdgEdges *edges); | gdouble adg_edges_get_critical_angle (AdgEdges *edges); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_EDGES_H__ */ | #endif /* __ADG_EDGES_H__ */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||
adg-entity.h | adg-entity.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_ENTITY_H__ | #ifndef __ADG_ENTITY_H__ | |||
#define __ADG_ENTITY_H__ | #define __ADG_ENTITY_H__ | |||
#include "adg-matrix.h" | ||||
#include "adg-point.h" | ||||
#include <cpml.h> | ||||
/* The following header is autogenerated, so it could be hosted | ||||
* by a different directory on VPATH builds */ | ||||
#include <adg/adg-type-builtins.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_ENTITY (adg_entity_get_type()) | #define ADG_TYPE_ENTITY (adg_entity_get_type()) | |||
#define ADG_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_ENTITY, AdgEntity)) | #define ADG_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_ TYPE_ENTITY, AdgEntity)) | |||
#define ADG_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_ENTITY, AdgEntityClass)) | #define ADG_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_ENTITY, AdgEntityClass)) | |||
#define ADG_IS_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_ENTITY)) | #define ADG_IS_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_ENTITY)) | |||
#define ADG_IS_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_ENTITY)) | #define ADG_IS_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_ENTITY)) | |||
#define ADG_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_ENTITY, AdgEntityClass)) | #define ADG_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_ENTITY, AdgEntityClass)) | |||
/* Forward declarations */ | /* Forward declarations */ | |||
ADG_FORWARD_DECL(AdgCanvas); | ADG_FORWARD_DECL(AdgCanvas); | |||
ADG_FORWARD_DECL(AdgStyle); | ||||
ADG_FORWARD_DECL(AdgPoint); | ||||
typedef gint AdgDress; | typedef gint AdgDress; | |||
#if 0 | ||||
/* This is declared in adg-model.h */ | ||||
typedef struct _AdgEntity AdgEntity; | typedef struct _AdgEntity AdgEntity; | |||
#endif | ||||
typedef struct _AdgEntityClass AdgEntityClass; | typedef struct _AdgEntityClass AdgEntityClass; | |||
struct _AdgEntity { | struct _AdgEntity { | |||
/*< private >*/ | /*< private >*/ | |||
GInitiallyUnowned parent; | GInitiallyUnowned parent; | |||
gpointer data; | gpointer data; | |||
}; | }; | |||
struct _AdgEntityClass { | struct _AdgEntityClass { | |||
/*< private >*/ | /*< private >*/ | |||
GInitiallyUnownedClass parent_class; | GInitiallyUnownedClass parent_class; | |||
/*< public >*/ | /*< public >*/ | |||
/* Signals */ | /* Signals */ | |||
void (*parent_set) (AdgEntity *entity, | void (*parent_set) (AdgEntity *entity, | |||
AdgEntity *old_paren t); | AdgEntity *old_paren t); | |||
void (*global_changed) (AdgEntity *entity); | void (*global_changed) (AdgEntity *entity); | |||
void (*local_changed) (AdgEntity *entity); | void (*local_changed) (AdgEntity *entity); | |||
/* Virtual Table */ | ||||
void (*invalidate) (AdgEntity *entity); | void (*invalidate) (AdgEntity *entity); | |||
void (*arrange) (AdgEntity *entity); | void (*arrange) (AdgEntity *entity); | |||
void (*render) (AdgEntity *entity, | void (*render) (AdgEntity *entity, | |||
cairo_t *cr); | cairo_t *cr); | |||
}; | }; | |||
void adg_switch_extents (gboolean state); | void adg_switch_extents (gboolean state); | |||
GType adg_entity_get_type (void) G_GNUC_CONST; | GType adg_entity_get_type (void) G_GNUC_CONST; | |||
AdgCanvas * adg_entity_get_canvas (AdgEntity *entity); | AdgCanvas * adg_entity_get_canvas (AdgEntity *entity); | |||
End of changes. 6 change blocks. | ||||
14 lines changed or deleted | 3 lines changed or added | |||
adg-enums.h | adg-enums.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_ENUMS_H__ | #ifndef __ADG_ENUMS_H__ | |||
#define __ADG_ENUMS_H__ | #define __ADG_ENUMS_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*({)?.../. | |||
* | * | |||
* Check the sources for up to date information and further details: | * Check the sources for up to date information and further details: | |||
* http://git.gnome.org/browse/glib/tree/gobject/glib-mkenums.in | * http://git.gnome.org/browse/glib/tree/gobject/glib-mkenums.in | |||
*/ | */ | |||
skipping to change at line 71 | skipping to change at line 69 | |||
} AdgMixMethod; | } AdgMixMethod; | |||
typedef enum { | typedef enum { | |||
ADG_PROJECTION_UNDEFINED, | ADG_PROJECTION_UNDEFINED, | |||
ADG_PROJECTION_FIRST_ANGLE, | ADG_PROJECTION_FIRST_ANGLE, | |||
ADG_PROJECTION_THIRD_ANGLE | ADG_PROJECTION_THIRD_ANGLE | |||
} AdgProjectionScheme; | } AdgProjectionScheme; | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_ENUMS_H__ */ | #endif /* __ADG_ENUMS_H__ */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_FILL_STYLE_H__ | #ifndef __ADG_FILL_STYLE_H__ | |||
#define __ADG_FILL_STYLE_H__ | #define __ADG_FILL_STYLE_H__ | |||
#include "adg-style.h" | ||||
#include "adg-pattern.h" | ||||
#include <cpml.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()) | |||
#define ADG_FILL_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_FILL_STYLE, AdgFillStyle)) | #define ADG_FILL_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_FILL_STYLE, AdgFillStyle)) | |||
#define ADG_FILL_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_FILL_STYLE, AdgFillStyleClass)) | #define ADG_FILL_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_FILL_STYLE, AdgFillStyleClass)) | |||
#define ADG_IS_FILL_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_FILL_STYLE)) | #define ADG_IS_FILL_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_FILL_STYLE)) | |||
#define ADG_IS_FILL_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_FILL_STYLE)) | #define ADG_IS_FILL_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_FILL_STYLE)) | |||
#define ADG_FILL_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_FILL_STYLE, AdgFillStyleClass)) | #define ADG_FILL_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_FILL_STYLE, AdgFillStyleClass)) | |||
typedef struct _AdgFillStyle AdgFillStyle; | typedef struct _AdgFillStyle AdgFillStyle; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_FONT_STYLE_H__ | #ifndef __ADG_FONT_STYLE_H__ | |||
#define __ADG_FONT_STYLE_H__ | #define __ADG_FONT_STYLE_H__ | |||
#include "adg-style.h" | ||||
#include "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)) | |||
#define ADG_FONT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_FONT_STYLE, AdgFontStyleClass)) | #define ADG_FONT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_FONT_STYLE, AdgFontStyleClass)) | |||
#define ADG_IS_FONT_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_FONT_STYLE)) | #define ADG_IS_FONT_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_FONT_STYLE)) | |||
#define ADG_IS_FONT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_FONT_STYLE)) | #define ADG_IS_FONT_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_FONT_STYLE)) | |||
#define ADG_FONT_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_FONT_STYLE, AdgFontStyleClass)) | #define ADG_FONT_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_FONT_STYLE, AdgFontStyleClass)) | |||
typedef struct _AdgFontStyle AdgFontStyle; | typedef struct _AdgFontStyle AdgFontStyle; | |||
skipping to change at line 55 | skipping to change at line 52 | |||
gpointer data; | gpointer data; | |||
}; | }; | |||
struct _AdgFontStyleClass { | struct _AdgFontStyleClass { | |||
/*< private >*/ | /*< private >*/ | |||
AdgStyleClass parent_class; | AdgStyleClass parent_class; | |||
}; | }; | |||
GType adg_font_style_get_type (void) G_GNUC_CONST; | GType adg_font_style_get_type (void) G_GNUC_CONST; | |||
AdgFontStyle * adg_font_style_new (void); | AdgFontStyle * adg_font_style_new (void); | |||
cairo_font_options_t * | ||||
adg_font_style_new_options (AdgFontStyle *font_styl | ||||
e); | ||||
cairo_scaled_font_t * | cairo_scaled_font_t * | |||
adg_font_style_get_scaled_font (AdgFontStyle *font_styl e, | adg_font_style_get_scaled_font (AdgFontStyle *font_styl e, | |||
const AdgMatrix *ctm); | const AdgMatrix *ctm); | |||
void adg_font_style_set_color_dress (AdgFontStyle *font_style | void adg_font_style_set_color_dress (AdgFontStyle *font_styl | |||
, | e, | |||
AdgDress dress); | AdgDress dress); | |||
AdgDress adg_font_style_get_color_dress (AdgFontStyle *font_style | AdgDress adg_font_style_get_color_dress (AdgFontStyle *font_styl | |||
); | e); | |||
void adg_font_style_set_family (AdgFontStyle *font_styl e, | void adg_font_style_set_family (AdgFontStyle *font_styl e, | |||
const gchar *family); | const gchar *family); | |||
const gchar * adg_font_style_get_family (AdgFontStyle *font_styl e); | const gchar * adg_font_style_get_family (AdgFontStyle *font_styl e); | |||
void adg_font_style_set_slant (AdgFontStyle *font_styl e, | void adg_font_style_set_slant (AdgFontStyle *font_styl e, | |||
cairo_font_slant_t slant); | cairo_font_slant_t slant); | |||
cairo_font_slant_t | cairo_font_slant_t | |||
adg_font_style_get_slant (AdgFontStyle *font_styl e); | adg_font_style_get_slant (AdgFontStyle *font_styl e); | |||
void adg_font_style_set_weight (AdgFontStyle *font_styl e, | void adg_font_style_set_weight (AdgFontStyle *font_styl e, | |||
cairo_font_weight_t weight ); | cairo_font_weight_t weight ); | |||
cairo_font_weight_t | cairo_font_weight_t | |||
End of changes. 4 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added | |||
adg-gtk-area.h | adg-gtk-area.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
adg-gtk-layout.h | adg-gtk-layout.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
adg-gtk-utils.h | adg-gtk-utils.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
adg-gtk.h | adg-gtk.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
adg-hatch.h | adg-hatch.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_HATCH_H__ | #ifndef __ADG_HATCH_H__ | |||
#define __ADG_HATCH_H__ | #define __ADG_HATCH_H__ | |||
#include "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)) | |||
#define ADG_IS_HATCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_HATCH)) | #define ADG_IS_HATCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_HATCH)) | |||
#define ADG_IS_HATCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_HATCH)) | #define ADG_IS_HATCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_HATCH)) | |||
#define ADG_HATCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_HATCH, AdgHatchClass)) | #define ADG_HATCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_HATCH, AdgHatchClass)) | |||
typedef struct _AdgHatch AdgHatch; | typedef struct _AdgHatch AdgHatch; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
adg-ldim.h | adg-ldim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_LDIM_H__ | #ifndef __ADG_LDIM_H__ | |||
#define __ADG_LDIM_H__ | #define __ADG_LDIM_H__ | |||
#include "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)) | |||
#define ADG_IS_LDIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_LDIM)) | #define ADG_IS_LDIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_LDIM)) | |||
#define ADG_IS_LDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_LDIM)) | #define ADG_IS_LDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_LDIM)) | |||
#define ADG_LDIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_LDIM, AdgLDimClass)) | #define ADG_LDIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_LDIM, AdgLDimClass)) | |||
typedef struct _AdgLDim AdgLDim; | typedef struct _AdgLDim AdgLDim; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_LINE_STYLE_H__ | #ifndef __ADG_LINE_STYLE_H__ | |||
#define __ADG_LINE_STYLE_H__ | #define __ADG_LINE_STYLE_H__ | |||
#include "adg-style.h" | ||||
#include "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)) | |||
#define ADG_LINE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_LINE_STYLE, AdgLineStyleClass)) | #define ADG_LINE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_LINE_STYLE, AdgLineStyleClass)) | |||
#define ADG_IS_LINE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_LINE_STYLE)) | #define ADG_IS_LINE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_LINE_STYLE)) | |||
#define ADG_IS_LINE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_LINE_STYLE)) | #define ADG_IS_LINE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_LINE_STYLE)) | |||
#define ADG_LINE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_LINE_STYLE, AdgLineStyleClass)) | #define ADG_LINE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_LINE_STYLE, AdgLineStyleClass)) | |||
typedef struct _AdgLineStyle AdgLineStyle; | typedef struct _AdgLineStyle AdgLineStyle; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-logo.h | adg-logo.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_LOGO_H__ | #ifndef __ADG_LOGO_H__ | |||
#define __ADG_LOGO_H__ | #define __ADG_LOGO_H__ | |||
#include "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)) | |||
#define ADG_IS_LOGO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_LOGO)) | #define ADG_IS_LOGO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_LOGO)) | |||
#define ADG_IS_LOGO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_LOGO)) | #define ADG_IS_LOGO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_LOGO)) | |||
#define ADG_LOGO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_LOGO, AdgLogoClass)) | #define ADG_LOGO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_LOGO, AdgLogoClass)) | |||
typedef struct _AdgLogo AdgLogo; | typedef struct _AdgLogo AdgLogo; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
adg-marker.h | adg-marker.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_MARKER_H__ | #ifndef __ADG_MARKER_H__ | |||
#define __ADG_MARKER_H__ | #define __ADG_MARKER_H__ | |||
#include "adg-entity.h" | ||||
#include "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)) | |||
#define ADG_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_MARKER, AdgMarkerClass)) | #define ADG_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_MARKER, AdgMarkerClass)) | |||
#define ADG_IS_MARKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_MARKER)) | #define ADG_IS_MARKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_MARKER)) | |||
#define ADG_IS_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_MARKER)) | #define ADG_IS_MARKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_MARKER)) | |||
#define ADG_MARKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_MARKER, AdgMarkerClass)) | #define ADG_MARKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_MARKER, AdgMarkerClass)) | |||
typedef struct _AdgMarker AdgMarker; | typedef struct _AdgMarker AdgMarker; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-matrix.h | adg-matrix.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_MATRIX_H__ | #ifndef __ADG_MATRIX_H__ | |||
#define __ADG_MATRIX_H__ | #define __ADG_MATRIX_H__ | |||
#include "adg-enums.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()) | |||
typedef cairo_matrix_t AdgMatrix; | typedef cairo_matrix_t AdgMatrix; | |||
GType adg_matrix_get_type (void) G_GNUC_CONST; | GType adg_matrix_get_type (void) G_GNUC_CONST; | |||
const AdgMatrix *adg_matrix_identity (void) G_GNUC_CONST; | const AdgMatrix *adg_matrix_identity (void) G_GNUC_CONST; | |||
const AdgMatrix *adg_matrix_null (void) G_GNUC_CONST; | const AdgMatrix *adg_matrix_null (void) G_GNUC_CONST; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-model.h | adg-model.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_MODEL_H__ | #ifndef __ADG_MODEL_H__ | |||
#define __ADG_MODEL_H__ | #define __ADG_MODEL_H__ | |||
#include "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)) | |||
#define ADG_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_MODEL, AdgModel)) | #define ADG_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_MODEL, AdgModel)) | |||
#define ADG_IS_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_MODEL)) | #define ADG_IS_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_MODEL)) | |||
#define ADG_IS_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_MODEL)) | #define ADG_IS_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_MODEL)) | |||
#define ADG_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_MODEL, AdgModelClass)) | #define ADG_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_MODEL, AdgModelClass)) | |||
/* Forward declarations */ | ||||
ADG_FORWARD_DECL(AdgEntity); | ||||
typedef struct _AdgModel AdgModel; | typedef struct _AdgModel AdgModel; | |||
typedef struct _AdgModelClass AdgModelClass; | typedef struct _AdgModelClass AdgModelClass; | |||
typedef void (*AdgDependencyFunc) (AdgModel *model, | typedef void (*AdgDependencyFunc) (AdgModel *model, | |||
AdgEntity *entity, | AdgEntity *entity, | |||
gpointer user_data) ; | gpointer user_data) ; | |||
typedef void (*AdgNamedPairFunc) (AdgModel *model, | typedef void (*AdgNamedPairFunc) (AdgModel *model, | |||
const gchar *name, | const gchar *name, | |||
AdgPair *pair, | AdgPair *pair, | |||
gpointer user_data) ; | gpointer user_data) ; | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 1 lines changed or added | |||
adg-pair.h | adg-pair.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_PAIR_H__ | #ifndef __ADG_PAIR_H__ | |||
#define __ADG_PAIR_H__ | #define __ADG_PAIR_H__ | |||
#include <cpml.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()) | |||
typedef CpmlPair AdgPair; | typedef CpmlPair AdgPair; | |||
GType adg_pair_get_type (void) G_GNUC_CONST; | GType adg_pair_get_type (void) G_GNUC_CONST; | |||
void adg_pair_copy (AdgPair *pair, | void adg_pair_copy (AdgPair *pair, | |||
const AdgPair *src); | const AdgPair *src); | |||
AdgPair * adg_pair_dup (const AdgPair *pair); | AdgPair * adg_pair_dup (const AdgPair *pair); | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-path.h | adg-path.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_PATH_H__ | #ifndef __ADG_PATH_H__ | |||
#define __ADG_PATH_H__ | #define __ADG_PATH_H__ | |||
#include "adg-trail.h" | ||||
#include "adg-primitive.h" | ||||
#include "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()) | |||
#define ADG_PATH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_PATH, AdgPath)) | #define ADG_PATH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TY PE_PATH, AdgPath)) | |||
#define ADG_PATH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_PATH, AdgPathClass)) | #define ADG_PATH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYP E_PATH, AdgPathClass)) | |||
#define ADG_IS_PATH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_PATH)) | #define ADG_IS_PATH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_PATH)) | |||
#define ADG_IS_PATH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_PATH)) | #define ADG_IS_PATH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_PATH)) | |||
#define ADG_PATH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_PATH, AdgPathClass)) | #define ADG_PATH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_PATH, AdgPathClass)) | |||
typedef struct _AdgPath AdgPath; | typedef struct _AdgPath AdgPath; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 1 lines changed or added | |||
adg-pattern.h | adg-pattern.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_PATTERN_H__ | #ifndef __ADG_PATTERN_H__ | |||
#define __ADG_PATTERN_H__ | #define __ADG_PATTERN_H__ | |||
#include <glib-object.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 ()) | |||
typedef cairo_pattern_t AdgPattern; | typedef cairo_pattern_t AdgPattern; | |||
GType adg_pattern_get_type (void) G_GNUC_CONST; | GType adg_pattern_get_type (void) G_GNUC_CONST; | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-point.h | adg-point.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_POINT_H__ | #ifndef __ADG_POINT_H__ | |||
#define __ADG_POINT_H__ | #define __ADG_POINT_H__ | |||
#include "adg-pair.h" | ||||
#include "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()) | |||
/* Forward declaration */ | #if 0 | |||
ADG_FORWARD_DECL(AdgStyle); | /* This is declared in adg-entity.h */ | |||
typedef struct _AdgPoint AdgPoint; | typedef struct _AdgPoint AdgPoint; | |||
#endif | ||||
GType adg_point_get_type (void) G_GNUC_CONST; | GType adg_point_get_type (void) G_GNUC_CONST; | |||
AdgPoint * adg_point_new (void); | AdgPoint * adg_point_new (void); | |||
AdgPoint * adg_point_dup (const AdgPoint *src); | AdgPoint * adg_point_dup (const AdgPoint *src); | |||
void adg_point_destroy (AdgPoint *point); | void adg_point_destroy (AdgPoint *point); | |||
void adg_point_copy (AdgPoint *point, | void adg_point_copy (AdgPoint *point, | |||
const AdgPoint *src); | const AdgPoint *src); | |||
void adg_point_set_pair (AdgPoint *point, | void adg_point_set_pair (AdgPoint *point, | |||
const AdgPair *pair); | const AdgPair *pair); | |||
End of changes. 4 change blocks. | ||||
7 lines changed or deleted | 4 lines changed or added | |||
adg-primitive.h | adg-primitive.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_PRIMITIVE_H__ | #ifndef __ADG_PRIMITIVE_H__ | |||
#define __ADG_PRIMITIVE_H__ | #define __ADG_PRIMITIVE_H__ | |||
#include <cpml.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()) | |||
typedef CpmlPrimitive AdgPrimitive; | typedef CpmlPrimitive AdgPrimitive; | |||
GType adg_primitive_get_type (void) G_GNUC_CONST; | GType adg_primitive_get_type (void) G_GNUC_CONST; | |||
AdgPrimitive * adg_primitive_dup (const AdgPrimitive *primitive) ; | AdgPrimitive * adg_primitive_dup (const AdgPrimitive *primitive) ; | |||
AdgPrimitive * adg_primitive_deep_dup (const AdgPrimitive *primitive) ; | AdgPrimitive * adg_primitive_deep_dup (const AdgPrimitive *primitive) ; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-projection.h | adg-projection.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_PROJECTION_H__ | #ifndef __ADG_PROJECTION_H__ | |||
#define __ADG_PROJECTION_H__ | #define __ADG_PROJECTION_H__ | |||
#include "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)) | |||
#define ADG_IS_PROJECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_PROJECTION)) | #define ADG_IS_PROJECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_PROJECTION)) | |||
#define ADG_IS_PROJECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_PROJECTION)) | #define ADG_IS_PROJECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_PROJECTION)) | |||
#define ADG_PROJECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_PROJECTION, AdgProjectionClass)) | #define ADG_PROJECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_PROJECTION, AdgProjectionClass)) | |||
typedef struct _AdgProjection AdgProjection; | typedef struct _AdgProjection AdgProjection; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
adg-rdim.h | adg-rdim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_RDIM_H__ | #ifndef __ADG_RDIM_H__ | |||
#define __ADG_RDIM_H__ | #define __ADG_RDIM_H__ | |||
#include "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)) | |||
#define ADG_IS_RDIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_RDIM)) | #define ADG_IS_RDIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TY PE_RDIM)) | |||
#define ADG_IS_RDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_RDIM)) | #define ADG_IS_RDIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYP E_RDIM)) | |||
#define ADG_RDIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_RDIM, AdgRDimClass)) | #define ADG_RDIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYP E_RDIM, AdgRDimClass)) | |||
typedef struct _AdgRDim AdgRDim; | typedef struct _AdgRDim AdgRDim; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_RULED_FILL_H__ | #ifndef __ADG_RULED_FILL_H__ | |||
#define __ADG_RULED_FILL_H__ | #define __ADG_RULED_FILL_H__ | |||
#include "adg-fill-style.h" | ||||
#include "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)) | |||
#define ADG_RULED_FILL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_RULED_FILL, AdgRuledFillClass)) | #define ADG_RULED_FILL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_TYPE_RULED_FILL, AdgRuledFillClass)) | |||
#define ADG_IS_RULED_FILL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_RULED_FILL)) | #define ADG_IS_RULED_FILL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_RULED_FILL)) | |||
#define ADG_IS_RULED_FILL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_RULED_FILL)) | #define ADG_IS_RULED_FILL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), A DG_TYPE_RULED_FILL)) | |||
#define ADG_RULED_FILL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_RULED_FILL, AdgRuledFillClass)) | #define ADG_RULED_FILL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), A DG_TYPE_RULED_FILL, AdgRuledFillClass)) | |||
typedef struct _AdgRuledFill AdgRuledFill; | typedef struct _AdgRuledFill AdgRuledFill; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-segment.h | adg-segment.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_SEGMENT_H__ | #ifndef __ADG_SEGMENT_H__ | |||
#define __ADG_SEGMENT_H__ | #define __ADG_SEGMENT_H__ | |||
#include <cpml.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()) | |||
typedef CpmlSegment AdgSegment; | typedef CpmlSegment AdgSegment; | |||
GType adg_segment_get_type (void) G_GNUC_CONST; | GType adg_segment_get_type (void) G_GNUC_CONST; | |||
AdgSegment * adg_segment_dup (const AdgSegment *segment); | AdgSegment * adg_segment_dup (const AdgSegment *segment); | |||
AdgSegment * adg_segment_deep_dup (const AdgSegment *segment); | AdgSegment * adg_segment_deep_dup (const AdgSegment *segment); | |||
AdgSegment * adg_segment_deep_copy (AdgSegment *segment, | AdgSegment * adg_segment_deep_copy (AdgSegment *segment, | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-stroke.h | adg-stroke.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_STROKE_H__ | #ifndef __ADG_STROKE_H__ | |||
#define __ADG_STROKE_H__ | #define __ADG_STROKE_H__ | |||
#include "adg-entity.h" | ||||
#include "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)) | |||
#define ADG_STROKE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_STROKE, AdgStrokeClass)) | #define ADG_STROKE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T YPE_STROKE, AdgStrokeClass)) | |||
#define ADG_IS_STROKE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_STROKE)) | #define ADG_IS_STROKE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_ TYPE_STROKE)) | |||
#define ADG_IS_STROKE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_STROKE)) | #define ADG_IS_STROKE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T YPE_STROKE)) | |||
#define ADG_STROKE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_STROKE, AdgStrokeClass)) | #define ADG_STROKE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T YPE_STROKE, AdgStrokeClass)) | |||
typedef struct _AdgStroke AdgStroke; | typedef struct _AdgStroke AdgStroke; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 lines changed or added | |||
adg-style.h | adg-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_STYLE_H__ | #ifndef __ADG_STYLE_H__ | |||
#define __ADG_STYLE_H__ | #define __ADG_STYLE_H__ | |||
#include "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)) | |||
#define ADG_IS_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_STYLE)) | #define ADG_IS_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_STYLE)) | |||
#define ADG_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_STYLE)) | #define ADG_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_STYLE)) | |||
#define ADG_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_STYLE, AdgStyleClass)) | #define ADG_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_STYLE, AdgStyleClass)) | |||
#if 0 | #if 0 | |||
skipping to change at line 53 | skipping to change at line 51 | |||
struct _AdgStyle { | struct _AdgStyle { | |||
/*< private >*/ | /*< private >*/ | |||
GObject parent; | GObject parent; | |||
}; | }; | |||
struct _AdgStyleClass { | struct _AdgStyleClass { | |||
/*< private >*/ | /*< private >*/ | |||
GObjectClass parent_class; | GObjectClass parent_class; | |||
/*< public >*/ | /*< public >*/ | |||
/* Signals */ | ||||
void (*invalidate) (AdgStyle *style); | ||||
void (*apply) (AdgStyle *style, | void (*apply) (AdgStyle *style, | |||
AdgEntity *entity, | AdgEntity *entity, | |||
cairo_t *cr); | cairo_t *cr); | |||
}; | }; | |||
GType adg_style_get_type (void) G_GNUC_CONST; | GType adg_style_get_type (void) G_GNUC_CONST; | |||
void adg_style_invalidate (AdgStyle *style); | ||||
void adg_style_apply (AdgStyle *style, | void adg_style_apply (AdgStyle *style, | |||
AdgEntity *entity, | AdgEntity *entity, | |||
cairo_t *cr); | cairo_t *cr); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_STYLE_H__ */ | #endif /* __ADG_STYLE_H__ */ | |||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 4 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_TABLE_STYLE_H__ | #ifndef __ADG_TABLE_STYLE_H__ | |||
#define __ADG_TABLE_STYLE_H__ | #define __ADG_TABLE_STYLE_H__ | |||
#include "adg-style.h" | ||||
#include "adg-dress.h" | ||||
#include "adg-marker.h" | ||||
#include "adg-pair.h" | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_TABLE_STYLE (adg_table_style_get_type()) | #define ADG_TYPE_TABLE_STYLE (adg_table_style_get_type()) | |||
#define ADG_TABLE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_TABLE_STYLE, AdgTableStyle)) | #define ADG_TABLE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_TYPE_TABLE_STYLE, AdgTableStyle)) | |||
#define ADG_TABLE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE_TABLE_STYLE, AdgTableStyleClass)) | #define ADG_TABLE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TYPE_TABLE_STYLE, AdgTableStyleClass)) | |||
#define ADG_IS_TABLE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_TABLE_STYLE)) | #define ADG_IS_TABLE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_TABLE_STYLE)) | |||
#define ADG_IS_TABLE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE_TABLE_STYLE)) | #define ADG_IS_TABLE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE_TABLE_STYLE)) | |||
#define ADG_TABLE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE_TABLE_STYLE, AdgTableStyleClass)) | #define ADG_TABLE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE_TABLE_STYLE, AdgTableStyleClass)) | |||
typedef struct _AdgTableStyle AdgTableStyle; | typedef struct _AdgTableStyle AdgTableStyle; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 1 lines changed or added | |||
adg-table.h | adg-table.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_TABLE_H__ | #ifndef __ADG_TABLE_H__ | |||
#define __ADG_TABLE_H__ | #define __ADG_TABLE_H__ | |||
#include "adg-entity.h" | ||||
#include "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)) | |||
#define ADG_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_TABLE, AdgTableClass)) | #define ADG_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_TABLE, AdgTableClass)) | |||
#define ADG_IS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_TABLE)) | #define ADG_IS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_TABLE)) | |||
#define ADG_IS_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_TABLE)) | #define ADG_IS_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_TABLE)) | |||
#define ADG_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_TABLE, AdgTableClass)) | #define ADG_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_TABLE, AdgTableClass)) | |||
typedef struct _AdgTableCell AdgTableCell; | typedef struct _AdgTableCell AdgTableCell; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_TITLE_BLOCK_H__ | #ifndef __ADG_TITLE_BLOCK_H__ | |||
#define __ADG_TITLE_BLOCK_H__ | #define __ADG_TITLE_BLOCK_H__ | |||
#include "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)) | |||
#define ADG_IS_TITLE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_TITLE_BLOCK)) | #define ADG_IS_TITLE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_TYPE_TITLE_BLOCK)) | |||
#define ADG_IS_TITLE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE_TITLE_BLOCK)) | #define ADG_IS_TITLE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TYPE_TITLE_BLOCK)) | |||
#define ADG_TITLE_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE_TITLE_BLOCK, AdgTitleBlockClass)) | #define ADG_TITLE_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TYPE_TITLE_BLOCK, AdgTitleBlockClass)) | |||
typedef struct _AdgTitleBlock AdgTitleBlock; | typedef struct _AdgTitleBlock AdgTitleBlock; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_TOY_TEXT_H__ | #ifndef __ADG_TOY_TEXT_H__ | |||
#define __ADG_TOY_TEXT_H__ | #define __ADG_TOY_TEXT_H__ | |||
#include "adg-entity.h" | ||||
#include "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)) | |||
#define ADG_TOY_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG _TYPE_TOY_TEXT, AdgToyTextClass)) | #define ADG_TOY_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG _TYPE_TOY_TEXT, AdgToyTextClass)) | |||
#define ADG_IS_TOY_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AD G_TYPE_TOY_TEXT)) | #define ADG_IS_TOY_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AD G_TYPE_TOY_TEXT)) | |||
#define ADG_IS_TOY_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG _TYPE_TOY_TEXT)) | #define ADG_IS_TOY_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG _TYPE_TOY_TEXT)) | |||
#define ADG_TOY_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG _TYPE_TOY_TEXT, AdgToyTextClass)) | #define ADG_TOY_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG _TYPE_TOY_TEXT, AdgToyTextClass)) | |||
typedef struct _AdgToyText AdgToyText; | typedef struct _AdgToyText AdgToyText; | |||
skipping to change at line 54 | skipping to change at line 51 | |||
AdgEntity parent; | AdgEntity parent; | |||
gpointer data; | gpointer data; | |||
}; | }; | |||
struct _AdgToyTextClass { | struct _AdgToyTextClass { | |||
/*< private >*/ | /*< private >*/ | |||
AdgEntityClass parent_class; | AdgEntityClass parent_class; | |||
}; | }; | |||
GType adg_toy_text_get_type (void) G_GNUC_CONST; | GType adg_toy_text_get_type (void) G_GNUC_CONST; | |||
AdgToyText * adg_toy_text_new (const gchar *label); | AdgToyText * adg_toy_text_new (const gchar *text); | |||
void adg_toy_text_set_font_dress (AdgToyText *toy_text, | ||||
AdgDress dress); | ||||
AdgDress adg_toy_text_get_font_dress (AdgToyText *toy_text); | ||||
void adg_toy_text_set_label (AdgToyText *toy_text, | ||||
const gchar *label); | ||||
const gchar * adg_toy_text_get_label (AdgToyText *toy_text); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_TOY_TEXT_H__ */ | #endif /* __ADG_TOY_TEXT_H__ */ | |||
End of changes. 3 change blocks. | ||||
11 lines changed or deleted | 2 lines changed or added | |||
adg-trail.h | adg-trail.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_TRAIL_H__ | #ifndef __ADG_TRAIL_H__ | |||
#define __ADG_TRAIL_H__ | #define __ADG_TRAIL_H__ | |||
#include "adg-model.h" | ||||
#include "adg-primitive.h" | ||||
#include "adg-segment.h" | ||||
#include <cpml.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_TRAIL (adg_trail_get_type()) | #define ADG_TYPE_TRAIL (adg_trail_get_type()) | |||
#define ADG_TRAIL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_TRAIL, AdgTrail)) | #define ADG_TRAIL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T YPE_TRAIL, AdgTrail)) | |||
#define ADG_TRAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_TRAIL, AdgTrailClass)) | #define ADG_TRAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY PE_TRAIL, AdgTrailClass)) | |||
#define ADG_IS_TRAIL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_TRAIL)) | #define ADG_IS_TRAIL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T YPE_TRAIL)) | |||
#define ADG_IS_TRAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_TRAIL)) | #define ADG_IS_TRAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY PE_TRAIL)) | |||
#define ADG_TRAIL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_TRAIL, AdgTrailClass)) | #define ADG_TRAIL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY PE_TRAIL, AdgTrailClass)) | |||
typedef struct _AdgTrail AdgTrail; | typedef struct _AdgTrail AdgTrail; | |||
skipping to change at line 69 | skipping to change at line 64 | |||
AdgTrail * adg_trail_new (AdgTrailCallback callback, | AdgTrail * adg_trail_new (AdgTrailCallback callback, | |||
gpointer user_data ); | gpointer user_data ); | |||
const cairo_path_t *adg_trail_get_cairo_path (AdgTrail *trail); | const cairo_path_t *adg_trail_get_cairo_path (AdgTrail *trail); | |||
CpmlPath * adg_trail_cpml_path (AdgTrail *trail); | CpmlPath * adg_trail_cpml_path (AdgTrail *trail); | |||
gboolean adg_trail_put_segment (AdgTrail *trail, | gboolean adg_trail_put_segment (AdgTrail *trail, | |||
guint n_segment , | guint n_segment , | |||
AdgSegment *segment); | AdgSegment *segment); | |||
const CpmlExtents * adg_trail_get_extents (AdgTrail *trail); | const CpmlExtents * adg_trail_get_extents (AdgTrail *trail); | |||
void adg_trail_dump (AdgTrail *trail); | void adg_trail_dump (AdgTrail *trail); | |||
void adg_trail_set_max_angle (AdgTrail *trail, | ||||
gdouble angle); | ||||
gdouble adg_trail_get_max_angle (AdgTrail *trail); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_TRAIL_H__ */ | #endif /* __ADG_TRAIL_H__ */ | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 4 lines changed or added | |||
adg-type-builtins.h | adg-type-builtins.h | |||
---|---|---|---|---|
/* Generated data (by glib-mkenums) */ | /* Generated data (by glib-mkenums) */ | |||
#ifndef __ADG_TYPE_BUILTINS_H__ | #ifndef __ADG_TYPE_BUILTINS_H__ | |||
#define __ADG_TYPE_BUILTINS_H__ | #define __ADG_TYPE_BUILTINS_H__ | |||
#include <glib-object.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
/* Enumerations from "./adg-enums.h" */ | /* Enumerations from "./adg-enums.h" */ | |||
#define ADG_TYPE_THREE_STATE (adg_three_state_get_type()) | #define ADG_TYPE_THREE_STATE (adg_three_state_get_type()) | |||
GType adg_three_state_get_type(void) G_GNUC_CONST; | GType adg_three_state_get_type(void) G_GNUC_CONST; | |||
#define ADG_TYPE_TRANSFORM_MODE (adg_transform_mode_get_type()) | #define ADG_TYPE_TRANSFORM_MODE (adg_transform_mode_get_type()) | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 0 lines changed or added | |||
adg-utils.h | adg-utils.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_UTILS_H__ | #ifndef __ADG_UTILS_H__ | |||
#define __ADG_UTILS_H__ | #define __ADG_UTILS_H__ | |||
#include <glib-object.h> | ||||
#include <math.h> | ||||
#define ADG_FORWARD_DECL(id) typedef struct _##id id | #define ADG_FORWARD_DECL(id) typedef struct _##id id | |||
#define ADG_DIR_RIGHT 0. | #define ADG_DIR_RIGHT 0. | |||
#define ADG_DIR_DOWN G_PI_2 | #define ADG_DIR_DOWN G_PI_2 | |||
#define ADG_DIR_LEFT G_PI | #define ADG_DIR_LEFT G_PI | |||
#define ADG_DIR_UP -G_PI_2 | #define ADG_DIR_UP -G_PI_2 | |||
#define ADG_UTF8_DIAMETER "\xE2\x8C\x80" | #define ADG_UTF8_DIAMETER "\xE2\x8C\x80" | |||
#define ADG_UTF8_DEGREE "\xC2\xB0" | #define ADG_UTF8_DEGREE "\xC2\xB0" | |||
End of changes. 2 change blocks. | ||||
4 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,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007,2008,2009,2010,2011 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_H__ | #ifndef __ADG_H__ | |||
#define __ADG_H__ | #define __ADG_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <cpml.h> | ||||
#include "adg/adg-enums.h" | ||||
#include "adg/adg-utils.h" | #include "adg/adg-utils.h" | |||
#include "adg/adg-pair.h" | #include "adg/adg-pair.h" | |||
#include "adg/adg-matrix.h" | #include "adg/adg-matrix.h" | |||
#include "adg/adg-pattern.h" | #include "adg/adg-pattern.h" | |||
#include "adg/adg-primitive.h" | #include "adg/adg-primitive.h" | |||
#include "adg/adg-segment.h" | #include "adg/adg-segment.h" | |||
#include "adg/adg-point.h" | #include "adg/adg-entity.h" | |||
#include "adg/adg-model.h" | #include "adg/adg-model.h" | |||
#include "adg/adg-trail.h" | #include "adg/adg-trail.h" | |||
#include "adg/adg-path.h" | #include "adg/adg-path.h" | |||
#include "adg/adg-edges.h" | #include "adg/adg-edges.h" | |||
#include "adg/adg-point.h" | ||||
#include "adg/adg-marker.h" | ||||
#include "adg/adg-style.h" | #include "adg/adg-style.h" | |||
#include "adg/adg-color-style.h" | #include "adg/adg-color-style.h" | |||
#include "adg/adg-line-style.h" | #include "adg/adg-line-style.h" | |||
#include "adg/adg-font-style.h" | #include "adg/adg-font-style.h" | |||
#include "adg/adg-ruled-fill.h" | ||||
#include "adg/adg-table-style.h" | #include "adg/adg-table-style.h" | |||
#include "adg/adg-dim-style.h" | #include "adg/adg-dim-style.h" | |||
#include "adg/adg-fill-style.h" | #include "adg/adg-fill-style.h" | |||
#include "adg/adg-ruled-fill.h" | ||||
#include "adg/adg-dress.h" | #include "adg/adg-dress.h" | |||
#include "adg/adg-dress-builtins.h" | #include "adg/adg-dress-builtins.h" | |||
#include "adg/adg-entity.h" | ||||
#include "adg/adg-stroke.h" | #include "adg/adg-stroke.h" | |||
#include "adg/adg-hatch.h" | #include "adg/adg-hatch.h" | |||
#include "adg/adg-textual.h" | ||||
#include "adg/adg-toy-text.h" | #include "adg/adg-toy-text.h" | |||
#include "adg/adg-logo.h" | #include "adg/adg-logo.h" | |||
#include "adg/adg-projection.h" | #include "adg/adg-projection.h" | |||
#include "adg/adg-container.h" | #include "adg/adg-container.h" | |||
#include "adg/adg-alignment.h" | #include "adg/adg-alignment.h" | |||
#include "adg/adg-table.h" | ||||
#include "adg/adg-title-block.h" | ||||
#include "adg/adg-canvas.h" | #include "adg/adg-canvas.h" | |||
#include "adg/adg-marker.h" | ||||
#include "adg/adg-arrow.h" | #include "adg/adg-arrow.h" | |||
#include "adg/adg-dim.h" | #include "adg/adg-dim.h" | |||
#include "adg/adg-adim.h" | ||||
#include "adg/adg-ldim.h" | #include "adg/adg-ldim.h" | |||
#include "adg/adg-rdim.h" | #include "adg/adg-rdim.h" | |||
#include "adg/adg-table.h" | #include "adg/adg-adim.h" | |||
#include "adg/adg-title-block.h" | ||||
#endif /* __ADG_H__ */ | #endif /* __ADG_H__ */ | |||
End of changes. 13 change blocks. | ||||
11 lines changed or deleted | 11 lines changed or added | |||
cpml-arc.h | cpml-arc.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
cpml-curve.h | cpml-curve.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
cpml-extents.h | cpml-extents.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
cpml-pair.h | cpml-pair.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
cpml-primitive.h | cpml-primitive.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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 27 | skipping to change at line 27 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__CPML_H__) | #if !defined(__CPML_H__) | |||
#error "Only <cpml/cpml.h> can be included directly." | #error "Only <cpml/cpml.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __CPML_PRIMITIVE_H__ | #ifndef __CPML_PRIMITIVE_H__ | |||
#define __CPML_PRIMITIVE_H__ | #define __CPML_PRIMITIVE_H__ | |||
#ifndef CAIRO_PATH_ARC_TO | ||||
#define CAIRO_PATH_ARC_TO 100 | ||||
#endif | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
typedef struct _CpmlPrimitive CpmlPrimitive; | #define CPML_MOVE CAIRO_PATH_MOVE_TO | |||
#define CPML_LINE CAIRO_PATH_LINE_TO | ||||
#define CPML_CURVE CAIRO_PATH_CURVE_TO | ||||
#define CPML_CLOSE CAIRO_PATH_CLOSE_PATH | ||||
#define CPML_ARC ((CpmlPrimitiveType) 88) | ||||
typedef enum { | typedef cairo_path_data_type_t CpmlPrimitiveType; | |||
CPML_MOVE = CAIRO_PATH_MOVE_TO, | typedef struct _CpmlPrimitive CpmlPrimitive; | |||
CPML_LINE = CAIRO_PATH_LINE_TO, | ||||
CPML_CURVE = CAIRO_PATH_CURVE_TO, | ||||
CPML_CLOSE = CAIRO_PATH_CLOSE_PATH, | ||||
CPML_ARC = CAIRO_PATH_ARC_TO | ||||
} 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; | |||
}; | }; | |||
size_t cpml_primitive_type_get_n_points | size_t cpml_primitive_type_get_n_points | |||
(CpmlPrimitiveType type); | (CpmlPrimitiveType type); | |||
void cpml_primitive_from_segment(CpmlPrimitive *primitive, | void cpml_primitive_from_segment(CpmlPrimitive *primitive, | |||
End of changes. 4 change blocks. | ||||
13 lines changed or deleted | 8 lines changed or added | |||
cpml-segment.h | cpml-segment.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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 44 | skipping to change at line 44 | |||
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); | |||
void cpml_segment_copy (CpmlSegment *segment, | void cpml_segment_copy (CpmlSegment *segment, | |||
const CpmlSegment *src); | const CpmlSegment *src); | |||
#define cpml_path_is_empty(cpml_path) \ | #define cpml_path_is_empty(cpml_path) \ | |||
((cpml_path) == NULL || (cpml_path)->data == NULL || \ | ((cpml_path) == NULL || ((cairo_path_t *) cpml_path)->data == NULL || \ | |||
(cpml_path)->num_data <= 0) | ((cairo_path_t *) cpml_path)->num_data <= 0) | |||
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_get_length (const CpmlSegment *segment); | |||
void cpml_segment_put_extents (const CpmlSegment *segment, | void cpml_segment_put_extents (const CpmlSegment *segment, | |||
CpmlExtents *extents); | CpmlExtents *extents); | |||
void cpml_segment_put_pair_at (const CpmlSegment *segment, | void cpml_segment_put_pair_at (const CpmlSegment *segment, | |||
double pos, | double pos, | |||
CpmlPair *pair); | CpmlPair *pair); | |||
void cpml_segment_put_vector_at (const CpmlSegment *segment, | void cpml_segment_put_vector_at (const CpmlSegment *segment, | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
cpml-utils.h | cpml-utils.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
cpml.h | cpml.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008,2009,2010 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011 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. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||