def METHOD_NAME(values, expected_rect, smart_font):
    # same as test_smart_component_regular but with transform that flips x
    component = smart_font.glyphs["a"].layers[0].components[0]
    component.transform[0] = -1.0
    for key, value in values.items():
        component.smartComponentValues[key] = value
    (ufo,) = to_ufos(smart_font)
    rect, clockwise = get_rectangle_data(ufo)
    assert rect == expected_rect
    # after decomposing the flipped component, the original counter-clockwise
    # path direction should not change
    assert not clockwise