roundedbox: add _apply_border_radius() variations for engine/context

And make the base function just use the raw corner radii struct.
This commit is contained in:
Cosimo Cecchi
2012-02-08 16:27:39 -05:00
committed by Matthias Clasen
parent 4c61f1f663
commit ae132c0a1a
3 changed files with 45 additions and 18 deletions

View File

@ -1815,7 +1815,7 @@ render_frame_internal (GtkThemingEngine *engine,
}
_gtk_rounded_box_init_rect (&border_box, x, y, width, height);
_gtk_rounded_box_apply_border_radius (&border_box, engine, state, junction);
_gtk_rounded_box_apply_border_radius_for_engine (&border_box, engine, state, junction);
render_border (cr, &border_box, &border, hidden_side, colors, border_style);
}