update_widget(math_view);
update_widget(math_view, 0, 0, width, height);
paint_widget(GtkMathView* math_view){  g_return_if_fail(math_view != NULL);  g_return_if_fail(math_view->area != NULL);  if (!GTK_WIDGET_MAPPED(GTK_WIDGET(math_view)) || math_view->freeze_counter > 0) return;  GtkWidget* widget = GTK_WIDGET(math_view->area);  setup_adjustments(math_view);  const gint width = widget->allocation.width;  const gint height = widget->allocation.height;  gdk_draw_rectangle(math_view->pixmap, widget->style->white_gc, TRUE, 0, 0, width, height);  //Rectangle rect(px2sp(math_view->top_x - MARGIN), px2sp(math_view->top_y - MARGIN), px2sp(width), px2sp(height));  math_view->view->setOrigin(Gtk_RenderingContext::fromGtkX(math_view->top_x - MARGIN),			     Gtk_RenderingContext::fromGtkY(math_view->top_y - MARGIN));  math_view->view->render(*math_view->renderingContext);  update_widget(math_view);}