• 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
Name
Last commit
Last update
..
customizations/fonts Loading commit data...
etc Loading commit data...
fonts Loading commit data...
forms Loading commit data...
i18n Loading commit data...
images Loading commit data...
library Loading commit data...
linux Loading commit data...
macx Loading commit data...
podcast Loading commit data...
style Loading commit data...
webbrowser Loading commit data...
win Loading commit data...
windows Loading commit data...
www Loading commit data...
OpenBoard.qrc Loading commit data...
style.qss Loading commit data...