def METHOD_NAME(pixbuf, widget):
    """Like add_border() but uses the widget to get a border color and a
    border width.
    """
    context = widget.get_style_context()
    color = context.get_color(context.get_state())
    color.alpha *= 0.1
    scale_factor = widget.get_scale_factor()
    border_radius = get_border_radius() * scale_factor
    return add_border(pixbuf, color, width=scale_factor, radius=border_radius)