Hiding parts of slurs to avoid collisions with other objects

Curved objects like slurs sometimes collide with key signatures, time signatures, accidentals, or other objects.

This snippet shows how to hide the part of the slur that is colliding with something.