adg-adim.h | adg-adim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-alignment.h | adg-alignment.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-arrow.h | adg-arrow.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-canvas.h | adg-canvas.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * * You should have received a copy of the GNU Lesser General Public | |||
* You should have received a copy of the GNU Lesser General Public | ||||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_H__) | #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__ | |||
skipping to change at line 57 | skipping to change at line 56 | |||
struct _AdgCanvasClass { | struct _AdgCanvasClass { | |||
/*< private >*/ | /*< private >*/ | |||
AdgContainerClass parent_class; | AdgContainerClass parent_class; | |||
}; | }; | |||
GType adg_canvas_get_type (void) G_GNUC_CONST; | GType adg_canvas_get_type (void) G_GNUC_CONST; | |||
AdgCanvas * adg_canvas_new (void); | AdgCanvas * adg_canvas_new (void); | |||
void adg_canvas_set_size (AdgCanvas *canvas, | void adg_canvas_set_size (AdgCanvas *canvas, | |||
const AdgPair *pair); | const AdgPair *size); | |||
void adg_canvas_set_size_explicit (AdgCanvas *canvas, | void adg_canvas_set_size_explicit (AdgCanvas *canvas, | |||
gdouble x, | gdouble x, | |||
gdouble y); | gdouble y); | |||
const AdgPair * adg_canvas_get_size (AdgCanvas *canvas); | const AdgPair * adg_canvas_get_size (AdgCanvas *canvas); | |||
void adg_canvas_set_background_dress (AdgCanvas *canvas, | void adg_canvas_set_background_dress (AdgCanvas *canvas, | |||
AdgDress dress); | AdgDress dress); | |||
AdgDress adg_canvas_get_background_dress (AdgCanvas *canvas); | AdgDress adg_canvas_get_background_dress (AdgCanvas *canvas); | |||
void adg_canvas_set_frame_dress (AdgCanvas *canvas, | void adg_canvas_set_frame_dress (AdgCanvas *canvas, | |||
AdgDress dress); | AdgDress dress); | |||
AdgDress adg_canvas_get_frame_dress (AdgCanvas *canvas); | AdgDress adg_canvas_get_frame_dress (AdgCanvas *canvas); | |||
skipping to change at line 111 | skipping to change at line 110 | |||
gdouble adg_canvas_get_bottom_padding (AdgCanvas *canvas); | gdouble adg_canvas_get_bottom_padding (AdgCanvas *canvas); | |||
void adg_canvas_set_left_padding (AdgCanvas *canvas, | void adg_canvas_set_left_padding (AdgCanvas *canvas, | |||
gdouble value); | gdouble value); | |||
gdouble adg_canvas_get_left_padding (AdgCanvas *canvas); | gdouble adg_canvas_get_left_padding (AdgCanvas *canvas); | |||
void adg_canvas_set_paddings (AdgCanvas *canvas, | void adg_canvas_set_paddings (AdgCanvas *canvas, | |||
gdouble top, | gdouble top, | |||
gdouble right, | gdouble right, | |||
gdouble bottom, | gdouble bottom, | |||
gdouble left); | gdouble left); | |||
void adg_canvas_set_paper (AdgCanvas *canvas, | ||||
const gchar *paper_name | ||||
, | ||||
GtkPageOrientation orienta | ||||
tion); | ||||
void adg_canvas_set_page_setup (AdgCanvas *canvas, | ||||
GtkPageSetup *page_setup | ||||
); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_CANVAS_H__ */ | #endif /* __ADG_CANVAS_H__ */ | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 12 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,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-container.h | adg-container.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-dim-style.h | adg-dim-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 80 | skipping to change at line 80 | |||
void adg_dim_style_set_line_dress (AdgDimStyle *dim_style, | void adg_dim_style_set_line_dress (AdgDimStyle *dim_style, | |||
AdgDress dress); | AdgDress dress); | |||
AdgDress adg_dim_style_get_line_dress (AdgDimStyle *dim_style) ; | AdgDress adg_dim_style_get_line_dress (AdgDimStyle *dim_style) ; | |||
void adg_dim_style_set_from_offset (AdgDimStyle *dim_style, | void adg_dim_style_set_from_offset (AdgDimStyle *dim_style, | |||
gdouble offset); | gdouble offset); | |||
gdouble adg_dim_style_get_from_offset (AdgDimStyle *dim_style) ; | gdouble adg_dim_style_get_from_offset (AdgDimStyle *dim_style) ; | |||
void adg_dim_style_set_to_offset (AdgDimStyle *dim_style, | void adg_dim_style_set_to_offset (AdgDimStyle *dim_style, | |||
gdouble offset); | gdouble offset); | |||
gdouble adg_dim_style_get_to_offset (AdgDimStyle *dim_style) ; | gdouble adg_dim_style_get_to_offset (AdgDimStyle *dim_style) ; | |||
void adg_dim_style_set_beyond (AdgDimStyle *dim_style, | void adg_dim_style_set_beyond (AdgDimStyle *dim_style, | |||
gdouble length); | gdouble beyond); | |||
gdouble adg_dim_style_get_beyond (AdgDimStyle *dim_style) ; | gdouble adg_dim_style_get_beyond (AdgDimStyle *dim_style) ; | |||
void adg_dim_style_set_baseline_spacing | void adg_dim_style_set_baseline_spacing | |||
(AdgDimStyle *dim_style, | (AdgDimStyle *dim_style, | |||
gdouble spacing); | gdouble spacing); | |||
gdouble adg_dim_style_get_baseline_spacing | gdouble adg_dim_style_get_baseline_spacing | |||
(AdgDimStyle *dim_style) ; | (AdgDimStyle *dim_style) ; | |||
void adg_dim_style_set_limits_spacing(AdgDimStyle *dim_style, | void adg_dim_style_set_limits_spacing(AdgDimStyle *dim_style, | |||
gdouble spacing); | gdouble spacing); | |||
gdouble adg_dim_style_get_limits_spacing(AdgDimStyle *dim_style) ; | gdouble adg_dim_style_get_limits_spacing(AdgDimStyle *dim_style) ; | |||
void adg_dim_style_set_quote_shift (AdgDimStyle *dim_style, | void adg_dim_style_set_quote_shift (AdgDimStyle *dim_style, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
adg-dim.h | adg-dim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-dress-builtins.h | adg-dress-builtins.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-dress.h | adg-dress.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-edges.h | adg-edges.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-entity.h | adg-entity.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 40 | skipping to change at line 40 | |||
#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(AdgStyle); | |||
ADG_FORWARD_DECL(AdgPoint); | ADG_FORWARD_DECL(AdgPoint); | |||
#ifdef __GI_SCANNER__ | ||||
ADG_FORWARD_DECL(AdgDress); | ||||
#else | ||||
typedef gint AdgDress; | typedef gint AdgDress; | |||
#endif | ||||
typedef struct _AdgEntity AdgEntity; | typedef struct _AdgEntity AdgEntity; | |||
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 (*destroy) (AdgEntity *entity); | ||||
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); | |||
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; | |||
void adg_entity_destroy (AdgEntity *entity); | ||||
AdgCanvas * adg_entity_get_canvas (AdgEntity *entity); | AdgCanvas * adg_entity_get_canvas (AdgEntity *entity); | |||
void adg_entity_set_parent (AdgEntity *entity, | void adg_entity_set_parent (AdgEntity *entity, | |||
AdgEntity *parent); | AdgEntity *parent); | |||
AdgEntity * adg_entity_get_parent (AdgEntity *entity); | AdgEntity * adg_entity_get_parent (AdgEntity *entity); | |||
void adg_entity_set_global_map (AdgEntity *entity, | void adg_entity_set_global_map (AdgEntity *entity, | |||
const AdgMatrix *map); | const AdgMatrix *map); | |||
void adg_entity_transform_global_map(AdgEntity *entity, | void adg_entity_transform_global_map(AdgEntity *entity, | |||
const AdgMatrix *transform ation, | const AdgMatrix *transform ation, | |||
AdgTransformMode mode); | AdgTransformMode mode); | |||
const AdgMatrix *adg_entity_get_global_map (AdgEntity *entity); | const AdgMatrix *adg_entity_get_global_map (AdgEntity *entity); | |||
skipping to change at line 111 | skipping to change at line 118 | |||
void adg_entity_apply_dress (AdgEntity *entity, | void adg_entity_apply_dress (AdgEntity *entity, | |||
AdgDress dress, | AdgDress dress, | |||
cairo_t *cr); | cairo_t *cr); | |||
void adg_entity_global_changed (AdgEntity *entity); | void adg_entity_global_changed (AdgEntity *entity); | |||
void adg_entity_local_changed (AdgEntity *entity); | void adg_entity_local_changed (AdgEntity *entity); | |||
void adg_entity_invalidate (AdgEntity *entity); | void adg_entity_invalidate (AdgEntity *entity); | |||
void adg_entity_arrange (AdgEntity *entity); | void adg_entity_arrange (AdgEntity *entity); | |||
void adg_entity_render (AdgEntity *entity, | void adg_entity_render (AdgEntity *entity, | |||
cairo_t *cr); | cairo_t *cr); | |||
AdgPoint * adg_entity_point (AdgEntity *entity, | AdgPoint * adg_entity_point (AdgEntity *entity, | |||
AdgPoint *old_point , | AdgPoint *point, | |||
AdgPoint *new_point ); | AdgPoint *new_point ); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_ENTITY_H__ */ | #endif /* __ADG_ENTITY_H__ */ | |||
End of changes. 6 change blocks. | ||||
2 lines changed or deleted | 9 lines changed or added | |||
adg-enums.h | adg-enums.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-fill-style.h | adg-fill-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-font-style.h | adg-font-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-area.h | adg-gtk-area.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_GTK_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg-gtk.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_GTK_AREA_H__ | #ifndef __ADG_GTK_AREA_H__ | |||
#define __ADG_GTK_AREA_H__ | #define __ADG_GTK_AREA_H__ | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_GTK_TYPE_AREA (adg_gtk_area_get_type()) | #define ADG_GTK_TYPE_AREA (adg_gtk_area_get_type()) | |||
#define ADG_GTK_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AD G_GTK_TYPE_AREA, AdgGtkArea)) | #define ADG_GTK_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AD G_GTK_TYPE_AREA, AdgGtkArea)) | |||
#define ADG_GTK_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG _GTK_TYPE_AREA, AdgGtkAreaClass)) | #define ADG_GTK_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG _GTK_TYPE_AREA, AdgGtkAreaClass)) | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 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,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_GTK_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg-gtk.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_GTK_LAYOUT_H__ | #ifndef __ADG_GTK_LAYOUT_H__ | |||
#define __ADG_GTK_LAYOUT_H__ | #define __ADG_GTK_LAYOUT_H__ | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_GTK_TYPE_LAYOUT (adg_gtk_layout_get_type()) | #define ADG_GTK_TYPE_LAYOUT (adg_gtk_layout_get_type()) | |||
#define ADG_GTK_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_GTK_TYPE_LAYOUT, AdgGtkLayout)) | #define ADG_GTK_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_GTK_TYPE_LAYOUT, AdgGtkLayout)) | |||
#define ADG_GTK_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_GTK_TYPE_LAYOUT, AdgGtkLayoutClass)) | #define ADG_GTK_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), A DG_GTK_TYPE_LAYOUT, AdgGtkLayoutClass)) | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 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,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.it> | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2 of the License, or (at your option) any later version. | * version 2 of the License, or (at your option) any later version. | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the | * License along with this library; if not, write to the | |||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#if !defined(__ADG_GTK_H__) | #if !defined(__ADG_H__) | |||
#error "Only <adg-gtk.h> can be included directly." | #error "Only <adg.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __ADG_GTK_UTILS_H__ | #ifndef __ADG_GTK_UTILS_H__ | |||
#define __ADG_GTK_UTILS_H__ | #define __ADG_GTK_UTILS_H__ | |||
#define ADG_GTK_MODIFIERS (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MA SK) | #define ADG_GTK_MODIFIERS (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MA SK) | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#if GTK_CHECK_VERSION(2, 14, 0) | #if GTK_CHECK_VERSION(2, 14, 0) | |||
#else | #else | |||
GdkWindow * gtk_widget_get_window (GtkWidget *widget); | GdkWindow * gtk_widget_get_window (GtkWidget *widget); | |||
#endif | #endif | |||
void adg_gtk_window_hide_here (GtkWindow *window); | void adg_gtk_window_hide_here (GtkWindow *window); | |||
void adg_gtk_toggle_button_sensitivize | void adg_gtk_toggle_button_sensitivize | |||
(GtkToggleButton*toggle_but ton, | (GtkToggleButton*toggle_but ton, | |||
GtkWidget *widget); | GtkWidget *widget); | |||
void adg_canvas_set_paper (AdgCanvas *canvas, | ||||
const gchar *paper_name | ||||
, | ||||
GtkPageOrientation orienta | ||||
tion); | ||||
void adg_canvas_set_page_setup (AdgCanvas *canvas, | ||||
GtkPageSetup *page_setup | ||||
); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_GTK_UTILS_H__ */ | #endif /* __ADG_GTK_UTILS_H__ */ | |||
End of changes. 3 change blocks. | ||||
12 lines changed or deleted | 3 lines changed or added | |||
adg-hatch.h | adg-hatch.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-ldim.h | adg-ldim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-line-style.h | adg-line-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-logo.h | adg-logo.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-marker.h | adg-marker.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-matrix.h | adg-matrix.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 31 | skipping to change at line 31 | |||
#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__ | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_MATRIX (adg_matrix_get_type()) | #define ADG_TYPE_MATRIX (adg_matrix_get_type()) | |||
#ifdef __GI_SCANNER__ | ||||
ADG_FORWARD_DECL(AdgMatrix); | ||||
#else | ||||
typedef cairo_matrix_t AdgMatrix; | typedef cairo_matrix_t AdgMatrix; | |||
#endif | ||||
GType adg_matrix_get_type (void) G_GNUC_CONST; | GType adg_matrix_get_type (void) G_GNUC_CONST; | |||
AdgMatrix * adg_matrix_new (void); | ||||
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; | |||
AdgMatrix * adg_matrix_copy (AdgMatrix *matrix, | void adg_matrix_copy (AdgMatrix *matrix, | |||
const AdgMatrix *src); | const AdgMatrix *src); | |||
AdgMatrix * adg_matrix_dup (const AdgMatrix *matrix); | AdgMatrix * adg_matrix_dup (const AdgMatrix *matrix); | |||
gboolean adg_matrix_equal (const AdgMatrix *matrix1, | gboolean adg_matrix_equal (const AdgMatrix *matrix1, | |||
const AdgMatrix *matrix2); | const AdgMatrix *matrix2); | |||
gboolean adg_matrix_normalize (AdgMatrix *matrix); | gboolean adg_matrix_normalize (AdgMatrix *matrix); | |||
void adg_matrix_transform (AdgMatrix *matrix, | void adg_matrix_transform (AdgMatrix *matrix, | |||
const AdgMatrix *transform ation, | const AdgMatrix *transform ation, | |||
AdgTransformMode mode); | AdgTransformMode mode); | |||
void adg_matrix_dump (const AdgMatrix *matrix); | void adg_matrix_dump (const AdgMatrix *matrix); | |||
End of changes. 5 change blocks. | ||||
2 lines changed or deleted | 8 lines changed or added | |||
adg-model.h | adg-model.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-pair.h | adg-pair.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 31 | skipping to change at line 31 | |||
#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__ | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PAIR (adg_pair_get_type()) | #define ADG_TYPE_PAIR (adg_pair_get_type()) | |||
#ifdef __GI_SCANNER__ | ||||
ADG_FORWARD_DECL(AdgPair); | ||||
#else | ||||
typedef CpmlPair AdgPair; | typedef CpmlPair AdgPair; | |||
#endif | ||||
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); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_PAIR_H__ */ | #endif /* __ADG_PAIR_H__ */ | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-pango-style.h | adg-pango-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-path.h | adg-path.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 66 | skipping to change at line 66 | |||
adg_path_last_primitive (AdgPath *path); | adg_path_last_primitive (AdgPath *path); | |||
const AdgPrimitive * | const AdgPrimitive * | |||
adg_path_over_primitive (AdgPath *path); | adg_path_over_primitive (AdgPath *path); | |||
void adg_path_append (AdgPath *path, | void adg_path_append (AdgPath *path, | |||
CpmlPrimitiveType type, | CpmlPrimitiveType type, | |||
...); | ...); | |||
void adg_path_append_valist (AdgPath *path, | void adg_path_append_valist (AdgPath *path, | |||
CpmlPrimitiveType type, | CpmlPrimitiveType type, | |||
va_list var_args); | va_list var_args); | |||
void adg_path_append_array (AdgPath *path, | ||||
CpmlPrimitiveType type, | ||||
const AdgPair **pairs); | ||||
void adg_path_append_primitive (AdgPath *path, | void adg_path_append_primitive (AdgPath *path, | |||
const AdgPrimitive | const AdgPrimitive | |||
*primitive) ; | *primitive) ; | |||
void adg_path_append_segment (AdgPath *path, | void adg_path_append_segment (AdgPath *path, | |||
const AdgSegment *segment) ; | const AdgSegment *segment) ; | |||
void adg_path_append_cpml_path (AdgPath *path, | void adg_path_append_cpml_path (AdgPath *path, | |||
const CpmlPath *cpml_path) ; | const CpmlPath *cpml_path) ; | |||
void adg_path_move_to (AdgPath *path, | void adg_path_move_to (AdgPath *path, | |||
const AdgPair *pair); | const AdgPair *pair); | |||
void adg_path_move_to_explicit (AdgPath *path, | void adg_path_move_to_explicit (AdgPath *path, | |||
skipping to change at line 105 | skipping to change at line 108 | |||
void adg_path_curve_to_explicit (AdgPath *path, | void adg_path_curve_to_explicit (AdgPath *path, | |||
gdouble x1, | gdouble x1, | |||
gdouble y1, | gdouble y1, | |||
gdouble x2, | gdouble x2, | |||
gdouble y2, | gdouble y2, | |||
gdouble x3, | gdouble x3, | |||
gdouble y3); | gdouble y3); | |||
void adg_path_close (AdgPath *path); | void adg_path_close (AdgPath *path); | |||
void adg_path_arc (AdgPath *path, | void adg_path_arc (AdgPath *path, | |||
const AdgPair *pair, | const AdgPair *center, | |||
gdouble r, | gdouble r, | |||
gdouble start, | gdouble start, | |||
gdouble end); | gdouble end); | |||
void adg_path_arc_explicit (AdgPath *path, | void adg_path_arc_explicit (AdgPath *path, | |||
gdouble xc, | gdouble xc, | |||
gdouble yc, | gdouble yc, | |||
gdouble r, | gdouble r, | |||
gdouble start, | gdouble start, | |||
gdouble end); | gdouble end); | |||
void adg_path_chamfer (AdgPath *path, | void adg_path_chamfer (AdgPath *path, | |||
gdouble delta1, | gdouble delta1, | |||
gdouble delta2); | gdouble delta2); | |||
void adg_path_fillet (AdgPath *path, | void adg_path_fillet (AdgPath *path, | |||
gdouble radius); | gdouble radius); | |||
void adg_path_reflect (AdgPath *path, | void adg_path_reflect (AdgPath *path, | |||
const CpmlVector *vector); | const CpmlVector *vector); | |||
void adg_path_reflect_explicit (AdgPath *path, | ||||
gdouble x, | ||||
gdouble y); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_PATH_H__ */ | #endif /* __ADG_PATH_H__ */ | |||
End of changes. 4 change blocks. | ||||
2 lines changed or deleted | 8 lines changed or added | |||
adg-pattern.h | adg-pattern.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 31 | skipping to change at line 31 | |||
#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__ | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PATTERN (adg_pattern_get_type ()) | #define ADG_TYPE_PATTERN (adg_pattern_get_type ()) | |||
#ifdef __GI_SCANNER__ | ||||
ADG_FORWARD_DECL(AdgPattern); | ||||
#else | ||||
typedef cairo_pattern_t AdgPattern; | typedef cairo_pattern_t AdgPattern; | |||
#endif | ||||
GType adg_pattern_get_type (void) G_GNUC_CONST; | GType adg_pattern_get_type (void) G_GNUC_CONST; | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_PATTERN_H__ */ | #endif /* __ADG_PATTERN_H__ */ | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-point.h | adg-point.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-primitive.h | adg-primitive.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 31 | skipping to change at line 31 | |||
#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__ | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_PRIMITIVE (adg_primitive_get_type()) | #define ADG_TYPE_PRIMITIVE (adg_primitive_get_type()) | |||
#ifdef __GI_SCANNER__ | ||||
ADG_FORWARD_DECL(AdgPrimitive); | ||||
#else | ||||
typedef CpmlPrimitive AdgPrimitive; | typedef CpmlPrimitive AdgPrimitive; | |||
#endif | ||||
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) ; | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_PRIMITIVE_H__ */ | #endif /* __ADG_PRIMITIVE_H__ */ | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-projection.h | adg-projection.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-rdim.h | adg-rdim.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-ruled-fill.h | adg-ruled-fill.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-segment.h | adg-segment.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 31 | skipping to change at line 31 | |||
#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__ | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define ADG_TYPE_SEGMENT (adg_segment_get_type()) | #define ADG_TYPE_SEGMENT (adg_segment_get_type()) | |||
#ifdef __GI_SCANNER__ | ||||
ADG_FORWARD_DECL(AdgSegment); | ||||
#else | ||||
typedef CpmlSegment AdgSegment; | typedef CpmlSegment AdgSegment; | |||
#endif | ||||
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, | |||
const AdgSegment *src); | const AdgSegment *src); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_SEGMENT_H__ */ | #endif /* __ADG_SEGMENT_H__ */ | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
adg-stroke.h | adg-stroke.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-style.h | adg-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-table-style.h | adg-table-style.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-table.h | adg-table.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 36 | skipping to change at line 36 | |||
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; | /* Forward declarations */ | |||
typedef struct _AdgTableRow AdgTableRow; | ADG_FORWARD_DECL(AdgTableRow); | |||
ADG_FORWARD_DECL(AdgTableCell); | ||||
typedef struct _AdgTable AdgTable; | typedef struct _AdgTable AdgTable; | |||
typedef struct _AdgTableClass AdgTableClass; | typedef struct _AdgTableClass AdgTableClass; | |||
struct _AdgTable { | struct _AdgTable { | |||
/*< private >*/ | /*< private >*/ | |||
AdgEntity parent; | AdgEntity parent; | |||
gpointer data; | gpointer data; | |||
}; | }; | |||
struct _AdgTableClass { | struct _AdgTableClass { | |||
/*< private >*/ | /*< private >*/ | |||
AdgEntityClass parent_class; | AdgEntityClass parent_class; | |||
}; | }; | |||
GType adg_table_get_type (void) G_GNUC_CONST; | GType adg_table_get_type (void) G_GNUC_CONST; | |||
AdgTable * adg_table_new (void); | AdgTable * adg_table_new (void); | |||
void adg_table_insert (AdgTable *table, | ||||
AdgTableRow *table_row, | ||||
AdgTableRow *before_row | ||||
); | ||||
void adg_table_remove (AdgTable *table, | ||||
AdgTableRow *table_row) | ||||
; | ||||
void adg_table_foreach (AdgTable *table, | ||||
GCallback callback, | ||||
gpointer user_data) | ||||
; | ||||
void adg_table_foreach_cell (AdgTable *table, | ||||
GCallback callback, | ||||
gpointer user_data) | ||||
; | ||||
void adg_table_set_cell (AdgTable *table, | ||||
const gchar *name, | ||||
AdgTableCell *table_cell | ||||
); | ||||
AdgTableCell * adg_table_get_cell (AdgTable *table, | ||||
const gchar *name); | ||||
AdgStyle * adg_table_get_table_style (AdgTable *table); | ||||
void adg_table_set_table_dress (AdgTable *table, | void adg_table_set_table_dress (AdgTable *table, | |||
AdgDress dress); | AdgDress dress); | |||
AdgDress adg_table_get_table_dress (AdgTable *table); | AdgDress adg_table_get_table_dress (AdgTable *table); | |||
void adg_table_switch_frame (AdgTable *table, | void adg_table_switch_frame (AdgTable *table, | |||
gboolean new_state) ; | gboolean new_state) ; | |||
gboolean adg_table_has_frame (AdgTable *table); | gboolean adg_table_has_frame (AdgTable *table); | |||
guint adg_table_get_n_rows (AdgTable *table); | void adg_table_invalidate_grid (AdgTable *table); | |||
AdgTableRow * adg_table_row_new (AdgTable *table); | ||||
AdgTableRow * adg_table_row_new_before (AdgTableRow *row); | ||||
void adg_table_row_delete (AdgTableRow *row); | ||||
guint adg_table_row_get_n_cells (const AdgTableRow *row); | ||||
void adg_table_row_set_height (AdgTableRow *row, | ||||
gdouble height); | ||||
gdouble adg_table_row_get_height (AdgTableRow *row); | ||||
const CpmlExtents * | ||||
adg_table_row_get_extents (AdgTableRow *row); | ||||
AdgTableCell * adg_table_cell_new (AdgTableRow *row, | ||||
gdouble width); | ||||
AdgTableCell * adg_table_cell_new_before (AdgTableCell *cell, | ||||
gdouble width); | ||||
AdgTableCell * adg_table_cell_new_full (AdgTableRow *row, | ||||
gdouble width, | ||||
const gchar *name, | ||||
const gchar *title, | ||||
const gchar *value); | ||||
AdgTableCell * adg_table_cell (AdgTable *table, | ||||
const gchar *name); | ||||
void adg_table_cell_delete (AdgTableCell *cell); | ||||
void adg_table_cell_set_name (AdgTableCell *cell, | ||||
const gchar *name); | ||||
const gchar * adg_table_cell_get_name (AdgTableCell *cell); | ||||
void adg_table_cell_set_title (AdgTableCell *cell, | ||||
AdgEntity *title); | ||||
void adg_table_cell_set_text_title (AdgTableCell *cell, | ||||
const gchar *title); | ||||
AdgEntity * adg_table_cell_title (AdgTableCell *cell); | ||||
void adg_table_cell_set_value (AdgTableCell *cell, | ||||
AdgEntity *value); | ||||
void adg_table_cell_set_text_value (AdgTableCell *cell, | ||||
const gchar *value); | ||||
AdgEntity * adg_table_cell_value (AdgTableCell *cell); | ||||
void adg_table_cell_set_value_pos (AdgTableCell *cell, | ||||
const AdgPair *from_facto | ||||
r, | ||||
const AdgPair *to_factor) | ||||
; | ||||
void adg_table_cell_set_value_pos_explicit | ||||
(AdgTableCell *cell, | ||||
gdouble from_x, | ||||
gdouble from_y, | ||||
gdouble to_x, | ||||
gdouble to_y); | ||||
void adg_table_cell_set_width (AdgTableCell *cell, | ||||
gdouble width); | ||||
gdouble adg_table_cell_get_width (AdgTableCell *cell); | ||||
void adg_table_cell_switch_frame (AdgTableCell *cell, | ||||
gboolean new_state) | ||||
; | ||||
gboolean adg_table_cell_has_frame (AdgTableCell *cell); | ||||
const CpmlExtents * | ||||
adg_table_cell_get_extents (AdgTableCell *cell); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_TABLE_H__ */ | #endif /* __ADG_TABLE_H__ */ | |||
End of changes. 4 change blocks. | ||||
60 lines changed or deleted | 28 lines changed or added | |||
adg-text.h | adg-text.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-textual.h | adg-textual.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-title-block.h | adg-title-block.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-toy-text.h | adg-toy-text.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-trail.h | adg-trail.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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-utils.h | adg-utils.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 39 | skipping to change at line 39 | |||
#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" | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#if GLIB_CHECK_VERSION(2, 16, 0) | typedef struct _AdgClosure AdgClosure; | |||
#else | ||||
struct _AdgClosure { | ||||
GCallback callback; | ||||
gpointer user_data; | ||||
}; | ||||
#if GLIB_MINOR_VERSION < 16 | ||||
gint g_strcmp0 (const gchar *s1, | gint g_strcmp0 (const gchar *s1, | |||
const gchar *s2); | const gchar *s2); | |||
#endif | #endif | |||
gboolean adg_is_string_empty (const gchar *str); | gboolean adg_is_string_empty (const gchar *str); | |||
gboolean adg_is_enum_value (int value, | gboolean adg_is_enum_value (int value, | |||
GType enum_type); | GType enum_type); | |||
gboolean adg_is_boolean_value (gboolean value); | gboolean adg_is_boolean_value (gboolean value); | |||
gchar * adg_string_replace (const gchar *str, | gchar * adg_string_replace (const gchar *str, | |||
const gchar *from, | const gchar *from, | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 9 lines changed or added | |||
adg.h | adg.h | |||
---|---|---|---|---|
/* ADG - Automatic Drawing Generation | /* ADG - Automatic Drawing Generation | |||
* Copyright (C) 2007,2008,2009,2010,2011 Nicola Fontana <ntd at entidi.it > | * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at enti di.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 60 | skipping to change at line 60 | |||
#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-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-table.h" | |||
#include "adg/adg-title-block.h" | #include "adg/adg-title-block.h" | |||
#include "adg/adg-canvas.h" | ||||
#include "adg/adg-arrow.h" | #include "adg/adg-arrow.h" | |||
#include "adg/adg-dim.h" | #include "adg/adg-dim.h" | |||
#include "adg/adg-ldim.h" | #include "adg/adg-ldim.h" | |||
#include "adg/adg-rdim.h" | #include "adg/adg-rdim.h" | |||
#include "adg/adg-adim.h" | #include "adg/adg-adim.h" | |||
#include <pango/pango.h> | ||||
#include "adg/adg-text.h" | ||||
#include "adg/adg-pango-style.h" | ||||
#include <gtk/gtk.h> | ||||
#include "adg/adg-gtk-utils.h" | ||||
#include "adg/adg-gtk-area.h" | ||||
#include "adg/adg-gtk-layout.h" | ||||
#include "adg/adg-canvas.h" | ||||
#endif /* __ADG_H__ */ | #endif /* __ADG_H__ */ | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 12 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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 29 | skipping to change at line 29 | |||
#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_ARC_H__ | #ifndef __CPML_ARC_H__ | |||
#define __CPML_ARC_H__ | #define __CPML_ARC_H__ | |||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
cairo_bool_t | int cpml_arc_info (const CpmlPrimitive *arc, | |||
cpml_arc_info (const CpmlPrimitive *arc, | ||||
CpmlPair *center, | CpmlPair *center, | |||
double *r, | double *r, | |||
double *start, | double *start, | |||
double *end); | double *end); | |||
void cpml_arc_to_cairo (const CpmlPrimitive *arc, | void cpml_arc_to_cairo (const CpmlPrimitive *arc, | |||
cairo_t *cr); | cairo_t *cr); | |||
void cpml_arc_to_curves (const CpmlPrimitive *arc, | void cpml_arc_to_curves (const CpmlPrimitive *arc, | |||
CpmlSegment *segment, | CpmlSegment *segment, | |||
size_t n_curves); | size_t n_curves); | |||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_ARC_H__ */ | #endif /* __CPML_ARC_H__ */ | |||
End of changes. 4 change blocks. | ||||
5 lines changed or deleted | 4 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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 32 | skipping to change at line 32 | |||
#endif | #endif | |||
#ifndef __CPML_EXTENTS_H__ | #ifndef __CPML_EXTENTS_H__ | |||
#define __CPML_EXTENTS_H__ | #define __CPML_EXTENTS_H__ | |||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
typedef struct _CpmlExtents CpmlExtents; | typedef struct _CpmlExtents CpmlExtents; | |||
struct _CpmlExtents { | struct _CpmlExtents { | |||
cairo_bool_t is_defined; | int is_defined; | |||
CpmlPair org; | CpmlPair org; | |||
CpmlVector size; | CpmlVector size; | |||
}; | }; | |||
CpmlExtents * cpml_extents_copy (CpmlExtents *extents , | void cpml_extents_copy (CpmlExtents *extents , | |||
const CpmlExtents *src); | const CpmlExtents *src); | |||
CpmlExtents * cpml_extents_from_cairo_text (CpmlExtents *extents , | void cpml_extents_from_cairo_text (CpmlExtents *extents , | |||
const cairo_text_extents_t | const cairo_text_extents_t | |||
*cairo_e xtents); | *cairo_e xtents); | |||
cairo_bool_t cpml_extents_equal (const CpmlExtents *extents , | int cpml_extents_equal (const CpmlExtents *extents , | |||
const CpmlExtents *src); | const CpmlExtents *src); | |||
void cpml_extents_add (CpmlExtents *extents , | void cpml_extents_add (CpmlExtents *extents , | |||
const CpmlExtents *src); | const CpmlExtents *src); | |||
void cpml_extents_pair_add (CpmlExtents *extents , | void cpml_extents_pair_add (CpmlExtents *extents , | |||
const CpmlPair *src); | const CpmlPair *src); | |||
cairo_bool_t cpml_extents_is_inside (const CpmlExtents *extents , | int cpml_extents_is_inside (const CpmlExtents *extents , | |||
const CpmlExtents *src); | const CpmlExtents *src); | |||
cairo_bool_t cpml_extents_pair_is_inside (const CpmlExtents *extents , | int cpml_extents_pair_is_inside (const CpmlExtents *extents , | |||
const CpmlPair *src); | const CpmlPair *src); | |||
void cpml_extents_transform (CpmlExtents *extents , | void cpml_extents_transform (CpmlExtents *extents , | |||
const cairo_matrix_t *matr ix); | const cairo_matrix_t *matr ix); | |||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_EXTENTS_H__ */ | #endif /* __CPML_EXTENTS_H__ */ | |||
End of changes. 7 change blocks. | ||||
7 lines changed or deleted | 7 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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 41 | skipping to change at line 41 | |||
struct _CpmlPair { | struct _CpmlPair { | |||
double x, y; | double x, y; | |||
}; | }; | |||
void cpml_pair_from_cairo (CpmlPair *pair, | void cpml_pair_from_cairo (CpmlPair *pair, | |||
const cairo_path_data_t | const cairo_path_data_t | |||
*path_data) ; | *path_data) ; | |||
void cpml_pair_copy (CpmlPair *pair, | void cpml_pair_copy (CpmlPair *pair, | |||
const CpmlPair *src); | const CpmlPair *src); | |||
cairo_bool_t cpml_pair_equal (const CpmlPair *pair, | int cpml_pair_equal (const CpmlPair *pair, | |||
const CpmlPair *src); | const CpmlPair *src); | |||
void cpml_pair_transform (CpmlPair *pair, | void cpml_pair_transform (CpmlPair *pair, | |||
const cairo_matrix_t | const cairo_matrix_t | |||
*matrix); | *matrix); | |||
double cpml_pair_squared_distance (const CpmlPair *from, | double cpml_pair_squared_distance (const CpmlPair *from, | |||
const CpmlPair *to); | const CpmlPair *to); | |||
double cpml_pair_distance (const CpmlPair *from, | double cpml_pair_distance (const CpmlPair *from, | |||
const CpmlPair *to); | const CpmlPair *to); | |||
void cpml_pair_to_cairo (const CpmlPair *pair, | void cpml_pair_to_cairo (const CpmlPair *pair, | |||
cairo_path_data_t | cairo_path_data_t | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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 29 | skipping to change at line 29 | |||
#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__ | |||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
#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 cairo_path_data_type_t CpmlPrimitiveType; | ||||
typedef struct _CpmlPrimitive CpmlPrimitive; | typedef struct _CpmlPrimitive CpmlPrimitive; | |||
typedef enum { | ||||
CPML_MOVE = CAIRO_PATH_MOVE_TO, | ||||
CPML_LINE = CAIRO_PATH_LINE_TO, | ||||
CPML_CURVE = CAIRO_PATH_CURVE_TO, | ||||
CPML_CLOSE = CAIRO_PATH_CLOSE_PATH, | ||||
CPML_ARC = 88 | ||||
} 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, | |||
CpmlSegment *segment); | CpmlSegment *segment); | |||
void cpml_primitive_copy (CpmlPrimitive *primitive, | void cpml_primitive_copy (CpmlPrimitive *primitive, | |||
const CpmlPrimitive *src); | const CpmlPrimitive *src); | |||
void cpml_primitive_reset (CpmlPrimitive *primitive) ; | void cpml_primitive_reset (CpmlPrimitive *primitive) ; | |||
cairo_bool_t cpml_primitive_next (CpmlPrimitive *primitive) ; | int cpml_primitive_next (CpmlPrimitive *primitive) ; | |||
size_t cpml_primitive_get_n_points(const CpmlPrimitive *primitive) ; | size_t cpml_primitive_get_n_points(const CpmlPrimitive *primitive) ; | |||
cairo_path_data_t * | ||||
cpml_primitive_get_point (const CpmlPrimitive *primitive, | ||||
int n_point); | ||||
double cpml_primitive_get_length (const CpmlPrimitive *primitive) ; | double cpml_primitive_get_length (const CpmlPrimitive *primitive) ; | |||
void cpml_primitive_put_extents (const CpmlPrimitive *primitive, | void cpml_primitive_put_extents (const CpmlPrimitive *primitive, | |||
CpmlExtents *extents); | CpmlExtents *extents); | |||
void cpml_primitive_set_point (CpmlPrimitive *primitive, | ||||
int n_point, | ||||
const CpmlPair *pair); | ||||
void cpml_primitive_put_point (const CpmlPrimitive *primitive, | ||||
int n_point, | ||||
CpmlPair *pair); | ||||
void cpml_primitive_put_pair_at (const CpmlPrimitive *primitive, | void cpml_primitive_put_pair_at (const CpmlPrimitive *primitive, | |||
double pos, | double pos, | |||
CpmlPair *pair); | CpmlPair *pair); | |||
void cpml_primitive_put_vector_at | void cpml_primitive_put_vector_at | |||
(const CpmlPrimitive *primitive, | (const CpmlPrimitive *primitive, | |||
double pos, | double pos, | |||
CpmlVector *vector); | CpmlVector *vector); | |||
double cpml_primitive_get_closest_pos | double cpml_primitive_get_closest_pos | |||
(const CpmlPrimitive *primitive, | (const CpmlPrimitive *primitive, | |||
const CpmlPair *pair); | const CpmlPair *pair); | |||
skipping to change at line 81 | skipping to change at line 85 | |||
const CpmlPrimitive *primitive2 , | const CpmlPrimitive *primitive2 , | |||
size_t n_dest, | size_t n_dest, | |||
CpmlPair *dest); | CpmlPair *dest); | |||
size_t cpml_primitive_put_intersections_with_segment | size_t cpml_primitive_put_intersections_with_segment | |||
(const CpmlPrimitive *primitive, | (const CpmlPrimitive *primitive, | |||
const CpmlSegment *segment, | const CpmlSegment *segment, | |||
size_t n_dest, | size_t n_dest, | |||
CpmlPair *dest); | CpmlPair *dest); | |||
void cpml_primitive_offset (CpmlPrimitive *primitive, | void cpml_primitive_offset (CpmlPrimitive *primitive, | |||
double offset); | double offset); | |||
cairo_bool_t cpml_primitive_join (CpmlPrimitive *primitive, | int cpml_primitive_join (CpmlPrimitive *primitive, | |||
CpmlPrimitive *primitive2 ); | CpmlPrimitive *primitive2 ); | |||
void cpml_primitive_to_cairo (const CpmlPrimitive *primitive, | void cpml_primitive_to_cairo (const CpmlPrimitive *primitive, | |||
cairo_t *cr); | cairo_t *cr); | |||
void cpml_primitive_dump (const CpmlPrimitive *primitive, | void cpml_primitive_dump (const CpmlPrimitive *primitive, | |||
cairo_bool_t org_also); | int org_also); | |||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_PRIMITIVE_H__ */ | #endif /* __CPML_PRIMITIVE_H__ */ | |||
End of changes. 8 change blocks. | ||||
14 lines changed or deleted | 18 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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 38 | skipping to change at line 38 | |||
typedef cairo_path_t CpmlPath; | typedef cairo_path_t CpmlPath; | |||
typedef struct _CpmlSegment CpmlSegment; | typedef struct _CpmlSegment CpmlSegment; | |||
struct _CpmlSegment { | struct _CpmlSegment { | |||
CpmlPath *path; | CpmlPath *path; | |||
cairo_path_data_t *data; | cairo_path_data_t *data; | |||
int num_data; | int num_data; | |||
}; | }; | |||
cairo_bool_t | int cpml_path_is_empty (const CpmlPath *path); | |||
cpml_segment_from_cairo (CpmlSegment *segment, | int 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) \ | ||||
((cpml_path) == NULL || ((cairo_path_t *) cpml_path)->data == NULL || \ | ||||
((cairo_path_t *) cpml_path)->num_data <= 0) | ||||
void cpml_segment_reset (CpmlSegment *segment); | void cpml_segment_reset (CpmlSegment *segment); | |||
cairo_bool_t | int 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, | |||
double pos, | double pos, | |||
CpmlVector *vector); | CpmlVector *vector); | |||
size_t cpml_segment_put_intersections (const CpmlSegment *segment, | size_t cpml_segment_put_intersections (const CpmlSegment *segment, | |||
End of changes. 4 change blocks. | ||||
8 lines changed or deleted | 4 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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,2011 Nicola Fontana <ntd at entidi.it> | * Copyright (C) 2008,2009,2010,2011,2012 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 | |||