You can snap a whole layer or just a selection of it to different objects for precise work.
To use this command, choose Pixelmator ‣ Preferences ‣ Rulers. In the Snapping section choose one or more of the following - Guides, Grid, Layers, and Documents Bounds.