• 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
..
adaptors Loading commit data...
api Loading commit data...
board Loading commit data...
core Loading commit data...
desktop Loading commit data...
document Loading commit data...
domain Loading commit data...
frameworks Loading commit data...
globals Loading commit data...
gui Loading commit data...
network Loading commit data...
pdf Loading commit data...
pdf-merger Loading commit data...
podcast Loading commit data...
tools Loading commit data...
web Loading commit data...