The trim piece is held by the self tappers whioch are visible on the outside. It's then a matter of judging where to add to the curve and by how much. Do it over a curved edge.
Be careful with those self tappers. There isn't much thread in the frame and it's easy to strip them out. Use some locktite on re-assembly.