Gnumeric code memo

GsfOutput
gnm_xml_file_save
read_file_common

renderer
goffice-0.8.17/plugins/plot_barcol/gog-barcol.c

gog_error_bar_render (errors[i], view->renderer,
						      chart_map,
						      error_data[i][j].x , error_data[i][j].y,
						      error_data[i][j].minus, error_data[i][j].plus,
						      model->horizontal? GOG_ERROR_BAR_DIRECTION_HORIZONTAL: GOG_ERROR_BAR_DIRECTION_VERTICAL);

goffice-0.8.17/goffice/graph/gog-label.c

			gog_renderer_get_text_AABR (view->renderer, str, FALSE, &aabr);
			rect = view->allocation;
			rect.w = aabr.w + 2. * outline + pad_x;
			rect.h = aabr.h + 2. * outline + pad_y;
			gog_renderer_draw_rectangle (view->renderer, &rect);
		}
		gog_renderer_draw_text (view->renderer, str,
					&view->residual, GTK_ANCHOR_NW, FALSE);
		g_free (str);
r@r-ThinkPad-T60:~/goffice-0.8.17$ find . -name "*.c" -exec grep -n -H 'gog_renderer_draw_text' {} \;
./goffice/graph/gog-label.c:477:		gog_renderer_draw_text (view->renderer, str,
./goffice/graph/gog-axis-line.c:1270:			gog_renderer_draw_text (renderer, ticks[j].label,
./goffice/graph/gog-axis-line.c:1477:				gog_renderer_draw_text (renderer, ticks[i].label,
./goffice/graph/gog-renderer.c:780: * gog_renderer_draw_text :
./goffice/graph/gog-renderer.c:792:gog_renderer_draw_text (GogRenderer *rend, char const *text,
./goffice/graph/gog-legend.c:514:	gog_renderer_draw_text (renderer, name, &pos, GTK_ANCHOR_W, FALSE);
./plugins/plot_distrib/gog-histogram.c:762:					gog_renderer_draw_text (view->renderer, text, &alloc,
./plugins/plot_distrib/gog-histogram.c:766:					gog_renderer_draw_text (view->renderer, text, &alloc,
./plugins/plot_distrib/gog-histogram.c:771:					gog_renderer_draw_text (view->renderer, text, &alloc,
./plugins/plot_distrib/gog-histogram.c:775:					gog_renderer_draw_text (view->renderer, text, &alloc,
./plugins/plot_distrib/gog-histogram.c:781:				gog_renderer_draw_text (view->renderer, text, &alloc,
./plugins/plot_distrib/gog-histogram.c:786:					gog_renderer_draw_text (view->renderer, text, &alloc,
./plugins/plot_distrib/gog-histogram.c:790:					gog_renderer_draw_text (view->renderer, text, &alloc,

GogViewAllocation

r@r-ThinkPad-T60:~/goffice-0.8.17$ find . -name "*.c" -exec grep -n -H 'rend->cur_style != NULL' {} \;
./goffice/graph/gog-renderer.c:754:	g_return_if_fail (rend->cur_style != NULL);
./goffice/graph/gog-renderer.c:805:	g_return_if_fail (rend->cur_style != NULL);
./goffice/graph/gog-renderer.c:879:	g_return_if_fail (rend->cur_style != NULL);
./goffice/graph/gog-renderer.c:948:	if (rend->cur_style != NULL)
./goffice/graph/gog-renderer.c:1470:	if (rend->cur_style != NULL) {
	GOStyle *style = text->base.base.style;
	gog_renderer_push_style (view->renderer, style);
(gnumeric:7171): GLib-GObject-WARNING **: invalid cast from `GogBarColPlot' to `GogText'

** (gnumeric:7171): CRITICAL **: gog_renderer_push_style: assertion `GO_IS_STYLE (style)' failed

** (gnumeric:7171): CRITICAL **: gog_renderer_draw_text: assertion `rend->cur_style != NULL' failed
** (gnumeric:9289): WARNING **: Missing calls to gog_renderer_style_pop left dangling style references

** (gnumeric:9289): WARNING **: Missing calls to gog_renderer_style_pop left dangling style references
    last modified: 02 July 2013 [ View wiki source Close ]
     
SEARCH DIFFERENCE ATTACHMENT RECENT POST