Flattens shape at size into the badge an ad row can fill.
Remembered against the shape and the resolved size, because rebuilding the path on every recomposition would hand the renderer a new object each time.