themingengine: Set current point to 0,0 when rendering rotated layout

Otherwise the layout may move to who-knows-where
This commit is contained in:
Benjamin Otte 2011-05-12 23:27:51 +02:00
parent 3ace68ee6f
commit 5084739756

View File

@ -2419,6 +2419,7 @@ gtk_theming_engine_render_layout (GtkThemingEngine *engine,
cairo_matrix.y0 += y - rect.y;
cairo_set_matrix (cr, &cairo_matrix);
cairo_move_to (cr, 0, 0);
}
else
cairo_move_to (cr, x, y);