#include "mapping.hpp"
#define ACTUAL_RADIUS_MIN 0.2
-#define ACTUAL_RADIUS_MAX 5000 // not really used, only a safety guard against radius 1e20 and similar insanity
+#define ACTUAL_RADIUS_MAX 800 // safety guard against radius like 1e20 and against rendering overload with unexpected brush dynamics
/* The Brush class stores two things:
b) settings: constant during a stroke (eg. size, spacing, dynamics, color selected by the user)
+SVN:
+- Ghost lines between strokes (on touchpads) fixed
+- Elliptical dabs
+
Version 0.6.0:
- Layers, transparency and eraser mode
- Background color and pattterns
pixbuf = gdk.pixbuf_new_from_file(filename)
self.tdw.neutral_background_pixbuf = helpers.gdkpixbuf2numpy(pixbuf)
- self.zoomlevel_values = [0.09, 0.12, 2.0/11, 0.25, 1.0/3, 0.50, 2.0/3, 1.0, 1.5, 2.0, 3.0, 4.0, 5.5, 8.0]
+ self.zoomlevel_values = [2.0/11, 0.25, 1.0/3, 0.50, 2.0/3, 1.0, 1.5, 2.0, 3.0, 4.0, 5.5, 8.0]
self.zoomlevel = self.zoomlevel_values.index(1.0)
self.tdw.zoom_min = min(self.zoomlevel_values)
self.tdw.zoom_max = max(self.zoomlevel_values)