Basically, as you apply the finish coats, you go more and more into the adjoining panel. Then, when hard, you flat it back and buff(polish) to match. I.e you might only be de locking the doors, which the key hole is only about 40 diam, but would paint about 400mm diam onto door and into rear quarter!!!!!!
A skilled job mate which is very hard to perfectly match.