CVSROOT: /cvs/gnome
Module name: goffice
Changes by: emmanuel 05/05/09 13:00:09
Modified files:
. : ChangeLog NEWS
goffice/graph : gog-axis-line.c gog-axis.c gog-axis.h
gog-chart.c gog-chart.h gog-grid-line.c
gog-grid.c gog-renderer-gnome-print.c
gog-renderer-impl.h gog-renderer-pixbuf.c
gog-renderer-svg.c gog-renderer.c
gog-renderer.h
plugins/plot_boxes: gog-boxplot.c
plugins/plot_radar: gog-radar.c gog-radar.h plot-types.xml.in
plugin.xml.in
plugins/plot_xy: gog-xy.h
Log message:
2005-05-09 Emmanuel Pacaud <[EMAIL PROTECTED]>
* goffice/graph/gog-axis-line.c (gog_axis_base_get_crossed_axis_type):
handle GOG_AXIS_SET_XY_pseudo_3d case.
(axis_line_get_bbox): fix label offset.
(axis_line_render): ditto.
(axis_circle_get_bbox): take ticks into account. Use GogChartMap.
(axis_circle_render): if axis is polar, use bezier paths by calling
gog_renderer_draw_arc. Draw ticks. Use GogChartMap.
(x_process): new.
(xy_process): use GogChartMap.
(calc_polygon_parameters): removed.
(radar_process): implement padding_request for radial axes.
(gog_axis_base_view_info_at_point): handle GOG_AXIS_SET_X.
(gog_axis_base_view_padding_request): ditto.
(gog_axis_base_view_render): ditto.
* goffice/graph/gog-axis.c (map_bounds): new.
(map_linear_auto_bound): handle auto bounds for non discrete circular
axis.
(map_linear_calc_ticks): place major ticks to a multiple of major
step.
(map_log_bounds): new.
(gog_axis_map_get_extents): new.
(gog_axis_map_get_bounds): new.
(role_grid_line_major_can_add): can be TRUE for non discrete
GOG_AXIS_CIRCULAR.
(role_grid_line_minor_post_add): ditto.
(role_axis_line_can_add): can be TRUE for GOG_AXIS_RADIAL.
(gog_axis_set_property): changing invert flag invalidates layout.
(gog_axis_populate_editor): don't show map type selector for
GOG_AXIS_CIRCULAR.
(gog_axis_is_inverted): new.
* goffice/graph/gog-chart.c (calc_polygon_parameters): new.
(calc_circle_parameters): new.
(null_map_2D): new.
(x_map_2D_to_view): new.
(xy_map_2D_to_view): new.
(polar_map_2D_to_view): new.
(gog_chart_map_get_polar_parms): new.
(gog_chart_map_new): needs pointers to axes of the axis set now.
handle GOG_AXIS_SET_X, GOG_AXIS_SET_RADAR and
GOG_AXIS_SET_XY_pseudo_3d.
(gog_chart_map_2D): removed.
(gog_chart_map_2D_to_view): new.
(gog_chart_map_get_axis_map): new.
(gog_chart_map_is_valid): new.
(gog_chart_axis_set_assign): handle GOG_AXIS_SET_RADAR.
* goffice/graph/gog-grid-line.c (calc_polygon_parameters): removed.
(gog_grid_line_view_render): handle polar plots.
* goffice/graph/gog-grid.c (gog_grid_view_render): handle polar and
radar plots.
* goffice/graph/gog-renderer-gnome-print.c
(draw_bezier_path): new.
(gog_renderer_gnome_print_draw_bezier_path): use draw_bezier_path.
(gog_renderer_gnome_print_draw_bezier_polygon): new.
* goffice/graph/gog-renderer-pixbuf.c
(gog_renderer_pixbuf_draw_polygon): fix transparency rendering. Idea
stolen from gnome-print.
(gog_renderer_pixbuf_draw_bezier_polygon): new.
* goffice/graph/gog-renderer-svg.c (fill_properties): new.
(gog_renderer_svg_draw_bezier_polygon): new.
* goffice/graph/gog-renderer.c
(gog_renderer_get_ring_wedge_vpath): new.
(gog_renderer_draw_ring_wedge): new.
(gog_renderer_draw_pie_wedge): new.
(gog_renderer_draw_arc): new.
* plugins/plot_radar/gog-radar.c: renamed GogRadarPlot to GogRTPlot,
as base of GogRadarPlot and GogPolarPlot.
New GogRadarPlot and GogPolarPlot classes.
Renamed GogRadarView class to GogRTView class.
(gog_rt_view_render): handle radar and polar plots.
Renamed GogRadarSeries class to GogRTSeries.
* plugins/plot_radar/plot-types.xml.in: add polar plots.
* plugins/plot_radar/plugin.xml.in: ditto.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=goffice&who=emmanuel&date=explicit&mindate=2005-05-09%2012:59&maxdate=2005-05-09%2013:01
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list