Logo Search packages:      
Sourcecode: ygraph version File versions  Download package

gboolean plot_window_expose ( GtkWidget *  plot_area,
GdkEventExpose *  event,
Plot plot 
)

Expose the plot window.

Parameters:
plot_area The plot area widget to be drawn.
event The calling event.
plot The Plot to be drawn.
Returns:
TRUE if successful, crash if not.

Definition at line 77 of file callbacks.c.

References axis_draw(), legend_draw(), _Plot::pixmap, plot_area_draw(), and plot_window_draw_time().

{
  YDEB("plot_window_expose\n");
  axis_draw(plot);
  legend_draw(plot);
  plot_window_draw_time(plot);
  plot_area_draw(plot);

  gdk_draw_pixmap(plot_area->window,
                  plot_area->style->fg_gc[GTK_WIDGET_STATE(plot_area)],
                  plot->pixmap,
                  event->area.x, event->area.y,
                  event->area.x, event->area.y,
                  event->area.width, event->area.height);
  return TRUE;
}


Generated by  Doxygen 1.6.0   Back to index