- 02 Oct, 2018 1 commit
-
-
Clément Fauconnier authored
-
- 09 Sep, 2017 1 commit
-
-
Craig Watson authored
-> also deleted obsolete UBInterpolator classes
-
- 15 Oct, 2016 1 commit
-
-
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.
-
- 13 May, 2016 1 commit
-
-
Craig Watson authored
-
- 09 May, 2016 6 commits
-
-
Craig Watson authored
Also, clarified the difference between received and drawn points in UBGraphicsStroke
-
Craig Watson authored
-
Craig Watson authored
-
Craig Watson authored
-
Craig Watson authored
- Added a curveToPolygon function that creates a curved polygon, eliminating the need to generate lots of small ones to make a curve look smooth. - Cleaned up the rest of the code a bit
-
Craig Watson authored
- UBGraphicsScene calls UBGraphicsStroke::addPoint, which returns a list of points that can be drawn. It may be none (e.g we discard very small segments), one (if we do no interpolation) or several. - Added a UBInterpolator base, abstract class. Various interpolation methods can be added easily. - Current methods: Basic spline (custom), Catmull-Rom spline (based on alglib), and Bézier - Added a setting to toggle interpolation. Added this to the UI as well
-
- 14 Aug, 2013 1 commit
-
-
Claudio Valerio authored
-
- 29 Apr, 2013 1 commit
-
-
Claudio Valerio authored
-
- 27 Feb, 2013 1 commit
-
-
Claudio Valerio authored
-
- 27 Aug, 2012 1 commit
-
-
Luca Capello authored
-
- 09 Jul, 2012 1 commit
-
-
Claudio Valerio authored
-
- 23 Apr, 2012 1 commit
-
-
shibakaneki authored
-
- 10 Nov, 2011 1 commit
-
-
Anatoly Mihalchenko authored
-
- 02 Aug, 2011 1 commit
-
-
Claudio Valerio authored
-
- 19 Apr, 2011 1 commit
-
-
Claudio Valerio authored
-