From: buliabyak Date: Thu, 8 Mar 2007 07:30:52 +0000 (+0000) Subject: make offset independent of zoom X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7aeb2d2ec5ba26a7059a2dd6f61c6910ed38f8c2;p=inkscape.git make offset independent of zoom --- diff --git a/src/flood-context.cpp b/src/flood-context.cpp index cd2f1a5ec..7724355aa 100644 --- a/src/flood-context.cpp +++ b/src/flood-context.cpp @@ -325,7 +325,7 @@ static void do_trace(GdkPixbuf *px, SPDesktop *desktop, NR::Matrix transform) { Shape *expanded_path_shape = new Shape(); expanded_path_shape->ConvertToShape(path_shape, fill_nonZero); - path_shape->MakeOffset(expanded_path_shape, offset, join_round, 4); + path_shape->MakeOffset(expanded_path_shape, offset * desktop->current_zoom(), join_round, 4); expanded_path_shape->ConvertToShape(path_shape, fill_positive); Path *expanded_path = new Path();