fn render_flat(bridge: &Bridge, painter: &Painter)