1. 24 Sep, 2017 1 commit
  2. 17 Sep, 2017 2 commits
  3. 09 Sep, 2017 2 commits
    • Craig Watson's avatar
      Moved bezier calculations to UBGeometryUtils · 1a075c05
      Craig Watson authored
      -> also deleted obsolete UBInterpolator classes
      1a075c05
    • Craig Watson's avatar
      Improved drawing of end of current stroke · 123ebf1d
      Craig Watson authored
      Distance between the last drawn point and the current point is
      calculated to be able to discard very short stroke segments (i.e we only
      add to the current stroke if the input device has moved more than a
      certain distance since the last drawn point).
      
      This commit moves this code from the stroke to the scene, which allows
      to calculate distance more accurately: it is now calculated as the
      total, absolute distance traveled since the last point, rather than simply the
      length of a line between the last point and current one.
      123ebf1d
  4. 05 Mar, 2017 1 commit
  5. 06 Nov, 2016 2 commits
  6. 15 Oct, 2016 1 commit
    • Craig Watson's avatar
      Added stroke simplification algorithm · df71f158
      Craig Watson authored
      If enabled in the preferences menu, pen and marker strokes will be
      replaced by a simplified stroke after they are drawn.
      
      The algorithm is very basic (for now): if three points are almost lined
      up (the threshold angle can be specified in the config file), then the
      middle one is removed. This is repeated over the whole stroke; new
      polygons are then generated based on the simplified stroke points.
      
      This typically cuts down on number of points and polygons by a factor of
      about 10, while having minimal visual impact.
      df71f158
  7. 13 May, 2016 1 commit
  8. 09 May, 2016 7 commits
  9. 14 Aug, 2013 1 commit
  10. 29 Apr, 2013 1 commit
  11. 27 Feb, 2013 1 commit
  12. 27 Aug, 2012 1 commit
  13. 09 Jul, 2012 1 commit
  14. 23 Apr, 2012 1 commit
  15. 10 Nov, 2011 1 commit
  16. 02 Aug, 2011 1 commit
  17. 22 Jun, 2011 1 commit
  18. 19 Apr, 2011 1 commit