7 /* This part of the viewer does :
8 * Draw horizontal lines, getting line color and width as arguments.
9 * Copy region of the screen into another.
10 * Modify the boundaries to reflect a scale change.
12 * A helper function is provided here to convert from time and process
13 * identifier to pixels and the contrary (will be useful for mouse selection).
16 typedef struct _Drawing_t Drawing_t
;
18 Drawing_t
*Drawing(void);
19 void Drawing_destroy(Drawing_t
*Drawing
);
20 void Drawing_Resize(Drawing_t
*Drawing
, guint h
, guint w
);
24 void convert_pixels_to_time(
27 LttTime
*window_time_begin
,
28 LttTime
*window_time_end
,
31 void convert_time_to_pixels(
32 LttTime window_time_begin
,
33 LttTime window_time_end
,