From 2fbb26ea745ab331f4104c81e2b2332de894c397 Mon Sep 17 00:00:00 2001
From: user <user@user-ThinkPad-X60.(none)>
Date: Sun, 14 Jun 2015 18:35:24 -0400
Subject: [PATCH] use shape-rendering: crispEdges on gobj (fix child shapes as
 needed)

---
 pd/nw/pdgui.js | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js
index d24ad873a..7c509d760 100644
--- a/pd/nw/pdgui.js
+++ b/pd/nw/pdgui.js
@@ -1891,7 +1891,7 @@ function gui_text_create_gobj(cid, tag, type, xpos, ypos, is_toplevel) {
             id: tag + 'gobj',
             transform: transform_string,
             class: type + (is_toplevel !== 0 ? '' : ' gop'),
-            //'shape-rendering': 'crispEdges'
+            'shape-rendering': 'crispEdges'
     });
     add_gobj_to_svg(svg, g);
 //    var bluh = svg.getBBox();
@@ -2020,6 +2020,7 @@ function gui_message_drawborder(cid,tag,width,height) {
         points: p_array.join(),
         fill: 'none',
         stroke: 'black',
+//        'shape-rendering': 'crispEdges',
 //        'stroke-width': 1,
         class: 'border'
 //        id: tag + 'border'
@@ -2328,9 +2329,10 @@ function gui_hide_selection_rectangle(cid) {
 function gui_create_bng(cid, tag, cx, cy, radius) {
     var g = get_gobj(cid, tag);
     var circle = create_item(cid, 'circle', {
-        cx: cx,
-        cy: cy,
+        cx: cx + 0.5,
+        cy: cy + 0.5,
         r: radius,
+        'shape-rendering': 'auto',
         fill: 'none',
         stroke: 'black',
         'stroke-width': 1,
-- 
GitLab