Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example, if I've got a path with a 3px border, I'd like it to snap to the edge of the border and not to the path its self?

Here's a square which has the path snap to the guides instead of the square's border:

sad snapping

share|improve this question
It seems not possible (see here), but it seems to depend to SVG standard adherence (for another case see here). Perhaps you can achieve this result using a closed path with a 3 px width and without border. – Paolo Gibellini Jan 28 '14 at 8:33
up vote 5 down vote accepted

The nodes of a path will always be centered with respect to the stroke (unless when dealing with live path effects or the powerstroke, but that's a different subject)

You might still be able to achieve what you want, but only when dealing with bounding boxes. For this, go to Preferences -> Tools and set the bounding box to visual (as opposed to geometric). You can now transform the object or selection such that "true" corner will snap to the grid.

Should you be trying to make crisp bitmaps, then you might want to have a look at the pixelsnap extension, see here.

share|improve this answer
Nice answer! Welcome to GD.SE Diederik :) – Yisela Feb 10 '14 at 21:51

You can make a copy of the path, then convert the copy's border to a path by using the "Sroke to Path" command.

The edge of the border has now its own node that you can snap to.

Finally you can delete the copy and are left with the original path and the objects snapped to its outline. This way you can still use the geometric bounding box.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.