| adg-canvas.h | | adg-canvas.h | |
| | | | |
| skipping to change at line 92 | | skipping to change at line 92 | |
| gdouble value); | | gdouble value); | |
| gdouble adg_canvas_get_bottom_margin (AdgCanvas *canvas); | | gdouble adg_canvas_get_bottom_margin (AdgCanvas *canvas); | |
| void adg_canvas_set_left_margin (AdgCanvas *canvas, | | void adg_canvas_set_left_margin (AdgCanvas *canvas, | |
| gdouble value); | | gdouble value); | |
| gdouble adg_canvas_get_left_margin (AdgCanvas *canvas); | | gdouble adg_canvas_get_left_margin (AdgCanvas *canvas); | |
| void adg_canvas_set_margins (AdgCanvas *canvas, | | void adg_canvas_set_margins (AdgCanvas *canvas, | |
| gdouble top, | | gdouble top, | |
| gdouble right, | | gdouble right, | |
| gdouble bottom, | | gdouble bottom, | |
| gdouble left); | | gdouble left); | |
|
| | | void adg_canvas_apply_margins (AdgCanvas *canvas, | |
| | | CpmlExtents *extents); | |
| void adg_canvas_switch_frame (AdgCanvas *canvas, | | void adg_canvas_switch_frame (AdgCanvas *canvas, | |
| gboolean new_state)
; | | gboolean new_state)
; | |
| gboolean adg_canvas_has_frame (AdgCanvas *canvas); | | gboolean adg_canvas_has_frame (AdgCanvas *canvas); | |
| void adg_canvas_set_top_padding (AdgCanvas *canvas, | | void adg_canvas_set_top_padding (AdgCanvas *canvas, | |
| gdouble value); | | gdouble value); | |
| gdouble adg_canvas_get_top_padding (AdgCanvas *canvas); | | gdouble adg_canvas_get_top_padding (AdgCanvas *canvas); | |
| void adg_canvas_set_right_padding (AdgCanvas *canvas, | | void adg_canvas_set_right_padding (AdgCanvas *canvas, | |
| gdouble value); | | gdouble value); | |
| gdouble adg_canvas_get_right_padding (AdgCanvas *canvas); | | gdouble adg_canvas_get_right_padding (AdgCanvas *canvas); | |
| void adg_canvas_set_bottom_padding (AdgCanvas *canvas, | | void adg_canvas_set_bottom_padding (AdgCanvas *canvas, | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|
| adg-gtk-area.h | | adg-gtk-area.h | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| /*< private >*/ | | /*< private >*/ | |
| GtkDrawingArea parent; | | GtkDrawingArea parent; | |
| gpointer data; | | gpointer data; | |
| }; | | }; | |
| | | | |
| struct _AdgGtkAreaClass { | | struct _AdgGtkAreaClass { | |
| /*< private >*/ | | /*< private >*/ | |
| GtkDrawingAreaClass parent_class; | | GtkDrawingAreaClass parent_class; | |
| /*< public >*/ | | /*< public >*/ | |
| /* Virtual Table */ | | /* Virtual Table */ | |
|
| void (*canvas_changed) (AdgGtkArea *area); | | void (*canvas_changed) (AdgGtkArea *area, | |
| | | AdgCanvas *old_canvas | |
| | | ); | |
| | | void (*extents_changed) (AdgGtkArea *area, | |
| | | const CpmlExtents | |
| | | *old_extent | |
| | | s); | |
| }; | | }; | |
| | | | |
| GType adg_gtk_area_get_type (void) G_GNUC_CONST; | | GType adg_gtk_area_get_type (void) G_GNUC_CONST; | |
| | | | |
| GtkWidget * adg_gtk_area_new (void); | | GtkWidget * adg_gtk_area_new (void); | |
|
| GtkWidget * adg_gtk_area_new_with_canvas (AdgCanvas *canvas); | | GtkWidget * adg_gtk_area_new_with_canvas (AdgCanvas *canvas); | |
| void adg_gtk_area_set_canvas (AdgGtkArea *area, | | void adg_gtk_area_set_canvas (AdgGtkArea *area, | |
| AdgCanvas *canvas); | | AdgCanvas *canvas); | |
| AdgCanvas * adg_gtk_area_get_canvas (AdgGtkArea *area); | | AdgCanvas * adg_gtk_area_get_canvas (AdgGtkArea *area); | |
| void adg_gtk_area_set_factor (AdgGtkArea *area, | | const CpmlExtents * | |
| gdouble factor); | | adg_gtk_area_get_extents (AdgGtkArea *area); | |
| gdouble adg_gtk_area_get_factor (AdgGtkArea *area); | | gdouble adg_gtk_area_get_zoom (AdgGtkArea *area); | |
| | | void adg_gtk_area_set_factor (AdgGtkArea *area, | |
| | | gdouble factor); | |
| | | gdouble adg_gtk_area_get_factor (AdgGtkArea *area); | |
| | | void adg_gtk_area_switch_autozoom (AdgGtkArea *area, | |
| | | gboolean state); | |
| | | gboolean adg_gtk_area_has_autozoom (AdgGtkArea *area); | |
| | | void adg_gtk_area_canvas_changed (AdgGtkArea *area, | |
| | | AdgCanvas *old_canva | |
| | | s); | |
| | | void adg_gtk_area_set_render_map (AdgGtkArea *area, | |
| | | const AdgMatrix *map); | |
| | | void adg_gtk_area_transform_render_map | |
| | | (AdgGtkArea *area, | |
| | | const AdgMatrix *transform | |
| | | ation, | |
| | | AdgTransformMode mode); | |
| | | const AdgMatrix*adg_gtk_area_get_render_map (AdgGtkArea *area); | |
| | | void adg_gtk_area_extents_changed (AdgGtkArea *area, | |
| | | const CpmlExtents | |
| | | *old_exten | |
| | | ts); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /* __ADG_GTK_AREA_H__ */ | | #endif /* __ADG_GTK_AREA_H__ */ | |
| | | | |
End of changes. 2 change blocks. |
| 8 lines changed or deleted | | 35 lines changed or added | |
|
| adg-gtk-utils.h | | adg-gtk-utils.h | |
| | | | |
| skipping to change at line 27 | | skipping to change at line 27 | |
| * Boston, MA 02110-1301, USA. | | * Boston, MA 02110-1301, USA. | |
| */ | | */ | |
| | | | |
| #if !defined(__ADG_GTK_H__) | | #if !defined(__ADG_GTK_H__) | |
| #error "Only <adg-gtk.h> can be included directly." | | #error "Only <adg-gtk.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) | |
| | | | |
| 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, | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|
| adg-pair.h | | adg-pair.h | |
| | | | |
| skipping to change at line 40 | | skipping to change at line 40 | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_PAIR (adg_pair_get_type()) | | #define ADG_TYPE_PAIR (adg_pair_get_type()) | |
| | | | |
| typedef CpmlPair AdgPair; | | typedef CpmlPair AdgPair; | |
| | | | |
| GType adg_pair_get_type (void) G_GNUC_CONST; | | GType adg_pair_get_type (void) G_GNUC_CONST; | |
| void adg_pair_copy (AdgPair *pair, | | void adg_pair_copy (AdgPair *pair, | |
| const AdgPair *src); | | const AdgPair *src); | |
| AdgPair * adg_pair_dup (const AdgPair *pair); | | AdgPair * adg_pair_dup (const AdgPair *pair); | |
|
| gboolean adg_pair_equal (const AdgPair *pair1, | | | |
| const AdgPair *pair2); | | | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /* __ADG_PAIR_H__ */ | | #endif /* __ADG_PAIR_H__ */ | |
| | | | |
End of changes. 1 change blocks. |
| 2 lines changed or deleted | | 0 lines changed or added | |
|
| cpml-extents.h | | cpml-extents.h | |
| | | | |
| skipping to change at line 42 | | skipping to change at line 42 | |
| cairo_bool_t is_defined; | | cairo_bool_t is_defined; | |
| CpmlPair org; | | CpmlPair org; | |
| CpmlVector size; | | CpmlVector size; | |
| }; | | }; | |
| | | | |
| CpmlExtents * cpml_extents_copy (CpmlExtents *extents
, | | CpmlExtents * cpml_extents_copy (CpmlExtents *extents
, | |
| const CpmlExtents *src); | | const CpmlExtents *src); | |
| CpmlExtents * cpml_extents_from_cairo_text (CpmlExtents *extents
, | | CpmlExtents * 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 | |
| | | , | |
| | | 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
, | | cairo_bool_t cpml_extents_is_inside (const CpmlExtents *extents
, | |
| const CpmlExtents *src); | | const CpmlExtents *src); | |
| cairo_bool_t cpml_extents_pair_is_inside (const CpmlExtents *extents
, | | cairo_bool_t 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); | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|
| cpml-pair.h | | cpml-pair.h | |
| | | | |
| 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, | |
| | | const CpmlPair *src); | |
| void cpml_pair_transform (CpmlPair *pair, | | void cpml_pair_transform (CpmlPair *pair, | |
| const cairo_matrix_t | | const cairo_matrix_t | |
| *matrix); | | *matrix); | |
| double cpml_pair_squared_distance (const CpmlPair *from, | | double cpml_pair_squared_distance (const CpmlPair *from, | |
| const CpmlPair *to); | | const CpmlPair *to); | |
| double cpml_pair_distance (const CpmlPair *from, | | double cpml_pair_distance (const CpmlPair *from, | |
| const CpmlPair *to); | | const CpmlPair *to); | |
| void cpml_pair_to_cairo (const CpmlPair *pair, | | void cpml_pair_to_cairo (const CpmlPair *pair, | |
| cairo_path_data_t | | cairo_path_data_t | |
| *path_data)
; | | *path_data)
; | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|