adg-adim.h | adg-adim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_ADIM_H__ | #ifndef __ADG_ADIM_H__ | |||
#define __ADG_ADIM_H__ | #define __ADG_ADIM_H__ | |||
#include <adg/adg-dim.h> | #include <adg/adg-dim.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_ADIM (adg_adim_get_type ()) | #define ADG_TYPE_ADIM (adg_adim_get_type ()) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-arrow-style.h | adg-arrow-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_ARROW_STYLE_H__ | #ifndef __ADG_ARROW_STYLE_H__ | |||
#define __ADG_ARROW_STYLE_H__ | #define __ADG_ARROW_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-enums.h> | #include <adg/adg-enums.h> | |||
#include <cpml/cpml.h> | #include <cpml/cpml.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-canvas.h | adg-canvas.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_CANVAS_H__ | #ifndef __ADG_CANVAS_H__ | |||
#define __ADG_CANVAS_H__ | #define __ADG_CANVAS_H__ | |||
#include <adg/adg-container.h> | #include <adg/adg-container.h> | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-container.h | adg-container.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_CONTAINER_H__ | #ifndef __ADG_CONTAINER_H__ | |||
#define __ADG_CONTAINER_H__ | #define __ADG_CONTAINER_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_CONTAINER (adg_container_get_type ()) | #define ADG_TYPE_CONTAINER (adg_container_get_type ()) | |||
#define ADG_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ADG_TYPE_CONTAINER, AdgContainer)) | #define ADG_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ADG_TYPE_CONTAINER, AdgContainer)) | |||
#define ADG_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), A DG_TYPE_CONTAINER, AdgContainerClass)) | #define ADG_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), A DG_TYPE_CONTAINER, AdgContainerClass)) | |||
#define ADG_IS_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ADG_TYPE_CONTAINER)) | #define ADG_IS_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ADG_TYPE_CONTAINER)) | |||
#define ADG_IS_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), A DG_TYPE_CONTAINER)) | #define ADG_IS_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), A DG_TYPE_CONTAINER)) | |||
#define ADG_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), A DG_TYPE_CONTAINER, AdgContainerClass)) | #define ADG_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), A DG_TYPE_CONTAINER, AdgContainerClass)) | |||
typedef struct _AdgContainer AdgContainer; | /* AdgContainer declared in adg-entity.h */ | |||
typedef struct _AdgContainerClass AdgContainerClass; | typedef struct _AdgContainerClass AdgContainerClass; | |||
typedef struct _AdgContainerPrivate AdgContainerPrivate; | typedef struct _AdgContainerPrivate AdgContainerPrivate; | |||
struct _AdgContainer { | struct _AdgContainer { | |||
AdgEntity entity; | AdgEntity entity; | |||
/*< private >*/ | /*< private >*/ | |||
AdgContainerPrivate *priv; | AdgContainerPrivate *priv; | |||
}; | }; | |||
struct _AdgContainerClass { | struct _AdgContainerClass { | |||
AdgEntityClass parent_class; | AdgEntityClass parent_class; | |||
/* Virtual Table */ | ||||
GSList * (*get_children) (AdgContainer *container) | ||||
; | ||||
gboolean (*add) (AdgContainer *container, | ||||
AdgEntity *entity); | ||||
gboolean (*remove) (AdgContainer *container, | ||||
AdgEntity *entity); | ||||
}; | }; | |||
GType adg_container_get_type (void) G_GNUC_CONST | GType adg_container_get_type (void) G_GNUC_CONST; | |||
; | GSList * adg_container_get_children (AdgContainer *container); | |||
const AdgMatrix *adg_container_get_model_transformation (AdgContainer *co | void adg_container_add (AdgContainer *container, | |||
ntainer); | AdgEntity *entity); | |||
void adg_container_set_model_transformation (AdgContainer *co | void adg_container_remove (AdgContainer *container, | |||
ntainer, | AdgEntity *entity); | |||
AdgMatrix *tr | ||||
ansformation); | void adg_container_foreach (AdgContainer *container, | |||
const AdgMatrix *adg_container_get_paper_transformation (AdgContainer *co | GCallback callback, | |||
ntainer); | gpointer user_data); | |||
void adg_container_set_paper_transformation (AdgContainer *co | void adg_container_propagate (AdgContainer *container, | |||
ntainer, | guint signal_id, | |||
AdgMatrix *tr | GQuark detail, | |||
ansformation); | ...); | |||
void adg_container_propagate_by_name(AdgContainer *container, | ||||
const gchar *detailed_si | ||||
gnal, | ||||
...); | ||||
void adg_container_propagate_valist(AdgContainer *container, | ||||
guint signal_id, | ||||
GQuark detail, | ||||
va_list var_args); | ||||
const AdgMatrix *adg_container_get_model_transformation | ||||
(AdgContainer *container) | ||||
; | ||||
void adg_container_set_model_transformation | ||||
(AdgContainer *container, | ||||
AdgMatrix *transforma | ||||
tion); | ||||
const AdgMatrix *adg_container_get_paper_transformation | ||||
(AdgContainer *container) | ||||
; | ||||
void adg_container_set_paper_transformation | ||||
(AdgContainer *container, | ||||
AdgMatrix *transforma | ||||
tion); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_CONTAINER_H__ */ | #endif /* __ADG_CONTAINER_H__ */ | |||
End of changes. 7 change blocks. | ||||
19 lines changed or deleted | 50 lines changed or added | |||
adg-context.h | adg-context.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_CONTEXT_H__ | #ifndef __ADG_CONTEXT_H__ | |||
#define __ADG_CONTEXT_H__ | #define __ADG_CONTEXT_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_CONTEXT (adg_context_get_type ()) | #define ADG_TYPE_CONTEXT (adg_context_get_type ()) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-dim-style.h | adg-dim-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_DIM_STYLE_H__ | #ifndef __ADG_DIM_STYLE_H__ | |||
#define __ADG_DIM_STYLE_H__ | #define __ADG_DIM_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-font-style.h> | #include <adg/adg-font-style.h> | |||
#include <adg/adg-line-style.h> | #include <adg/adg-line-style.h> | |||
#include <adg/adg-arrow-style.h> | #include <adg/adg-arrow-style.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-dim.h | adg-dim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_DIM_H__ | #ifndef __ADG_DIM_H__ | |||
#define __ADG_DIM_H__ | #define __ADG_DIM_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
#include <adg/adg-pair.h> | #include <adg/adg-pair.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 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, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_ENTITY_H__ | #ifndef __ADG_ENTITY_H__ | |||
#define __ADG_ENTITY_H__ | #define __ADG_ENTITY_H__ | |||
#include <adg/adg-context.h> | #include <adg/adg-context.h> | |||
#include <adg/adg-matrix.h> | #include <adg/adg-matrix.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-arrow-style.h> | #include <adg/adg-arrow-style.h> | |||
#include <adg/adg-dim-style.h> | #include <adg/adg-dim-style.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
/* Forward declarations */ | /* Forward declarations */ | |||
typedef struct _AdgCanvas AdgCanvas; | typedef struct _AdgCanvas AdgCanvas; | |||
typedef struct _AdgContainer AdgContainer; | ||||
#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_ TYPE_ENTITY, AdgEntityClass)) | #define ADG_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ADG_ TYPE_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_ TYPE_ENTITY)) | #define ADG_IS_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ADG_ TYPE_ENTITY)) | |||
#define ADG_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ADG_ TYPE_ENTITY, AdgEntityClass)) | #define ADG_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ADG_ TYPE_ENTITY, AdgEntityClass)) | |||
typedef struct _AdgEntity AdgEntity; | typedef struct _AdgEntity AdgEntity; | |||
typedef struct _AdgEntityClass AdgEntityClass; | typedef struct _AdgEntityClass AdgEntityClass; | |||
skipping to change at line 55 | skipping to change at line 56 | |||
struct _AdgEntity { | struct _AdgEntity { | |||
GInitiallyUnowned initially_unowned; | GInitiallyUnowned initially_unowned; | |||
/*< private >*/ | /*< private >*/ | |||
AdgEntityPrivate *priv; | AdgEntityPrivate *priv; | |||
}; | }; | |||
struct _AdgEntityClass { | struct _AdgEntityClass { | |||
GInitiallyUnownedClass parent_class; | GInitiallyUnownedClass parent_class; | |||
/* Signals */ | /* Signals */ | |||
void (*parent_set) (AdgEntity *entity, | ||||
AdgContainer *old_parent | ||||
); | ||||
void (*model_matrix_changed) (AdgEntity *entity, | void (*model_matrix_changed) (AdgEntity *entity, | |||
AdgMatrix *parent_mat rix); | AdgMatrix *parent_mat rix); | |||
void (*paper_matrix_changed) (AdgEntity *entity, | void (*paper_matrix_changed) (AdgEntity *entity, | |||
AdgMatrix *parent_mat rix); | AdgMatrix *parent_mat rix); | |||
void (*invalidate) (AdgEntity *entity); | void (*invalidate) (AdgEntity *entity); | |||
void (*render) (AdgEntity *entity, | void (*render) (AdgEntity *entity, | |||
cairo_t *cr); | cairo_t *cr); | |||
/* Virtual Table */ | /* Virtual Table */ | |||
AdgContainer * (*get_parent) (AdgEntity *entity); | ||||
void (*set_parent) (AdgEntity *entity, | ||||
AdgContainer *parent); | ||||
AdgContext * (*get_context) (AdgEntity *entity); | ||||
const AdgMatrix * (*get_model_matrix) (AdgEntity *entity); | const AdgMatrix * (*get_model_matrix) (AdgEntity *entity); | |||
const AdgMatrix * (*get_paper_matrix) (AdgEntity *entity); | const AdgMatrix * (*get_paper_matrix) (AdgEntity *entity); | |||
}; | }; | |||
#define ADG_CALLBACK(f) ((AdgCallback) (f)) | #define ADG_CALLBACK(f) ((AdgCallback) (f)) | |||
typedef void (*AdgCallback) (AdgEntity *entity, gpointer user_data); | typedef void (*AdgCallback) (AdgEntity *entity, gpointer user_data); | |||
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); | |||
AdgContainer * adg_entity_get_parent (AdgEntity *entity); | ||||
void adg_entity_set_parent (AdgEntity *entity, | ||||
AdgContainer *parent); | ||||
void adg_entity_unparent (AdgEntity *entity); | ||||
void adg_entity_reparent (AdgEntity *entity, | ||||
AdgContainer *parent); | ||||
AdgContext * adg_entity_get_context (AdgEntity *entity); | AdgContext * adg_entity_get_context (AdgEntity *entity); | |||
void adg_entity_set_context (AdgEntity *entity, | void adg_entity_set_context (AdgEntity *entity, | |||
AdgContext *context); | AdgContext *context); | |||
const AdgMatrix*adg_entity_get_model_matrix (AdgEntity *entity); | const AdgMatrix*adg_entity_get_model_matrix (AdgEntity *entity); | |||
const AdgMatrix*adg_entity_get_paper_matrix (AdgEntity *entity); | const AdgMatrix*adg_entity_get_paper_matrix (AdgEntity *entity); | |||
gboolean adg_entity_build_paper2model (AdgEntity *entity, | gboolean adg_entity_build_paper2model (AdgEntity *entity, | |||
AdgMatrix *matrix); | AdgMatrix *matrix); | |||
gboolean adg_entity_build_model2paper (AdgEntity *entity, | gboolean adg_entity_build_model2paper (AdgEntity *entity, | |||
AdgMatrix *matrix); | AdgMatrix *matrix); | |||
void adg_entity_scale_to_model (AdgEntity *entity, | void adg_entity_scale_to_model (AdgEntity *entity, | |||
End of changes. 8 change blocks. | ||||
4 lines changed or deleted | 19 lines changed or added | |||
adg-enums.h | adg-enums.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_ENUMS_H__ | #ifndef __ADG_ENUMS_H__ | |||
#define __ADG_ENUMS_H__ | #define __ADG_ENUMS_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
/** | /** | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-font-style.h | adg-font-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_FONT_STYLE_H__ | #ifndef __ADG_FONT_STYLE_H__ | |||
#define __ADG_FONT_STYLE_H__ | #define __ADG_FONT_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-enums.h> | #include <adg/adg-enums.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-ldim.h | adg-ldim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_LDIM_H__ | #ifndef __ADG_LDIM_H__ | |||
#define __ADG_LDIM_H__ | #define __ADG_LDIM_H__ | |||
#include <adg/adg-dim.h> | #include <adg/adg-dim.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_LDIM (adg_ldim_get_type ()) | #define ADG_TYPE_LDIM (adg_ldim_get_type ()) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-line-style.h | adg-line-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_LINE_STYLE_H__ | #ifndef __ADG_LINE_STYLE_H__ | |||
#define __ADG_LINE_STYLE_H__ | #define __ADG_LINE_STYLE_H__ | |||
#include <adg/adg-style.h> | #include <adg/adg-style.h> | |||
#include <adg/adg-enums.h> | #include <adg/adg-enums.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-matrix.h | adg-matrix.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_MATRIX_H__ | #ifndef __ADG_MATRIX_H__ | |||
#define __ADG_MATRIX_H__ | #define __ADG_MATRIX_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <cairo.h> | #include <cairo.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-model.h | adg-model.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_MODEL_H__ | #ifndef __ADG_MODEL_H__ | |||
#define __ADG_MODEL_H__ | #define __ADG_MODEL_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_MODEL (adg_model_get_type ()) | #define ADG_TYPE_MODEL (adg_model_get_type ()) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-pair.h | adg-pair.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_PAIR_H__ | #ifndef __ADG_PAIR_H__ | |||
#define __ADG_PAIR_H__ | #define __ADG_PAIR_H__ | |||
#include <cpml/cpml.h> | #include <cpml/cpml.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-path.h | adg-path.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_PATH_H__ | #ifndef __ADG_PATH_H__ | |||
#define __ADG_PATH_H__ | #define __ADG_PATH_H__ | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PATH (adg_path_get_type ()) | #define ADG_TYPE_PATH (adg_path_get_type ()) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-pattern.h | adg-pattern.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_PATTERN_H__ | #ifndef __ADG_PATTERN_H__ | |||
#define __ADG_PATTERN_H__ | #define __ADG_PATTERN_H__ | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <cairo.h> | #include <cairo.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-style.h | adg-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_STYLE_H__ | #ifndef __ADG_STYLE_H__ | |||
#define __ADG_STYLE_H__ | #define __ADG_STYLE_H__ | |||
#include <adg/adg-pattern.h> | #include <adg/adg-pattern.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_STYLE (adg_style_get_type ()) | #define ADG_TYPE_STYLE (adg_style_get_type ()) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg-util.h | adg-util.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_UTIL_H__ | #ifndef __ADG_UTIL_H__ | |||
#define __ADG_UTIL_H__ | #define __ADG_UTIL_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <cairo.h> | #include <cairo.h> | |||
#include <math.h> | #include <math.h> | |||
#define ADG_ISSET(flags,mask) (((flags) & (mask)) != 0 ? TRUE : FALSE) | #define ADG_ISSET(flags,mask) (((flags) & (mask)) != 0 ? TRUE : FALSE) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
adg.h | adg.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007-2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2007-2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __ADG_H__ | #ifndef __ADG_H__ | |||
#define __ADG_H__ | #define __ADG_H__ | |||
#include <adg/adg-adim.h> | #include <adg/adg-adim.h> | |||
#include <adg/adg-canvas.h> | #include <adg/adg-canvas.h> | |||
#include <adg/adg-container.h> | #include <adg/adg-container.h> | |||
#include <adg/adg-dim.h> | #include <adg/adg-dim.h> | |||
#include <adg/adg-entity.h> | #include <adg/adg-entity.h> | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
cpml-pair.h | cpml-pair.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __CPML_PAIR_H__ | #ifndef __CPML_PAIR_H__ | |||
#define __CPML_PAIR_H__ | #define __CPML_PAIR_H__ | |||
#include <cairo.h> | #include <cairo.h> | |||
#include <math.h> | #include <math.h> | |||
#define CPML_DIR_RIGHT 0. | #define CPML_DIR_RIGHT 0. | |||
#define CPML_DIR_DOWN (M_PI/2.) | #define CPML_DIR_DOWN (M_PI/2.) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
cpml-path.h | cpml-path.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __CPML_PATH_H__ | #ifndef __CPML_PATH_H__ | |||
#define __CPML_PATH_H__ | #define __CPML_PATH_H__ | |||
#include <cpml/cpml-pair.h> | #include <cpml/cpml-pair.h> | |||
#define CPML_LAST 0 | #define CPML_LAST 0 | |||
#define CPML_FIRST 1 | #define CPML_FIRST 1 | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
cpml.h | cpml.h | |||
---|---|---|---|---|
/* CPML - Cairo Path Manipulation Library | /* CPML - Cairo Path Manipulation Library | |||
* Copyright (C) 2008, Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008, 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 Library 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 | |||
* Library General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __CPML_H__ | #ifndef __CPML_H__ | |||
#define __CPML_H__ | #define __CPML_H__ | |||
#include <cpml/cpml-pair.h> | #include <cpml/cpml-pair.h> | |||
#include <cpml/cpml-path.h> | #include <cpml/cpml-path.h> | |||
#endif /* __CPML_H__ */ | #endif /* __CPML_H__ */ | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||