cell-draw.h 665 Bytes
Newer Older
1 2 3
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _GNM_CELL_DRAW_H_
# define _GNM_CELL_DRAW_H_
4 5 6

#include "gnumeric.h"

7 8
G_BEGIN_DECLS

9
gboolean cell_calc_layout (GnmCell const *cell, GnmRenderedValue *rv, int y_direction,
Morten Welinder's avatar
Morten Welinder committed
10
			   int width, int height, int h_center,
11
			   GOColor *res_color, gint *res_x, gint *res_y);
12

13
void cell_finish_layout (GnmCell *cell, GnmRenderedValue *rv,
14
			 int col_width,
15
			 gboolean inhibit_overflow);
16

17
void cell_draw (GnmCell const *cell, cairo_t* cr,
18 19
		int x, int y, int height, int width, int h_center,
		gboolean show_extension_markers);
20

21 22 23
G_END_DECLS

#endif /* _GNM_CELL_DRAW_H_ */