goffice r1967 - in trunk: . goffice/graph
- From: emmanuel svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r1967 - in trunk: . goffice/graph
- Date: Mon, 12 Nov 2007 17:24:12 +0000 (GMT)
Author: emmanuel
Date: 2007-11-12 17:24:12 +0000 (Mon, 12 Nov 2007)
New Revision: 1967
ViewCVS link: http://svn.gnome.org/viewcvs/goffice?rev=1967&view=rev
Modified:
trunk/ChangeLog
trunk/goffice/graph/gog-legend.c
trunk/goffice/graph/gog-renderer.c
trunk/goffice/graph/gog-renderer.h
Log:
2007-11-12 Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Improve the appearance of legend swatches, by respecting the outline
style, avoid blurriness in case of no outline and show fill color for
XY and polar plots.
* goffice/graph/gog-legend.c (cb_swatch_scale): also handle the
GOG_STYLE_LINE case.
(cb_render_elements): also show fill color in case of marker + line.
Respect the outline appearance, rescaling the outline width in order
to always show the fill color.
* goffice/graph/gog-renderer.c (path_interpret): round coordinates
when line width <= 0.
(_draw_shape): force line width to zero when stroke is invisible.
(_draw_rectangle): don't ask for stroke is outline is invisible.
(gog_renderer_stroke_rectangle): fix stroke argument in
_draw_rectangle call.
(gog_renderer_fill_rectangle): new.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]