6.9 KiB
Executable File
6.9 KiB
Executable File
digital-ink ChangeLog
1.5.0 (3.0.7)
2022-07-01
Updates
- BrushApplier optimizations - simplify transform - mat4 to mat2d
- RIFFEncoder and RIFFDecoder LIST chunk support added
- InkBuilderSettings extended - keepAllData, keepSplineParameters options added
- InkPathProducer build method optional settings added, additional pipeline data could be achieved from the worker
- InkModel clear method implemented _ SplineInterpolator is capable to process and SplineFragments as input
- InkBuilderAsync open / close methods added, open workers is a prerequisite for proper usage
Breaking Changes
- Long dependency update - ECMA 6 compatible version integrated
- Manipulation module refactoring based on C# implementation
- SpatialContext createInstance method is removed, clone method is provided
- InkModel createCopyInstance method is removed, clone method is provided
- ArrayPath / SharedPath primitives replaced from Path implementation
- View name validation - for non valid names error is throwing
- Interval type deprecated, SplineFragment replace it
- Stroke subStroke method is removed, because Interval dependency, slice replace it, based on SplineFragment
1.4.2 (3.0.6)
2021-11-01
Updates
- ConvexHullChainProducerAsync worker ConvexHullProvider as external resource
- Selector selection algorythm improvments
- InkModel version support added, reffers UIM version
- SplineParameter implementation and integration
1.4.1 (3.0.5)
2021-10-01
Updates
- View tree property is deprecated, use root instead
- Stroke Stroke.onPipeline abstract static could be implemented to provide custom settings for pipeline
- Stroke target property is deprected, Target enum is obsolete, onPipeline should be implemented when specific behaiour is needed.
- Pipeline refactoring, prediction control increased, POLYGON_SIMPLIFIER stage is deprecated, lastPipelineStage defaults to POLYGON_MERGER
- InkBuilderSettings concatSegments option added, mergePrediction is deprecated
- ArrayPath / SharedPath primitives implemented
- Polygon primitive implemented - shape and holes paths, vertices property provides access to triangulated geometry
- InkPath2D refactored - list of polygons, vertices property provides access to triangulated geometry of all underlying polygons, representing the shape
- Pipeline output update for some of stages - Polygon / InkPath2D
Bugfixes
- Scalar refactoring, DIP fixed (pixel representation), DP and DPI included
- SensorChannel default resolution fix
- OffscreenCanvasGL height property fix
1.4.0 (3.0.4)
2021-09-01
Breaking Changes
- StrokeRendererGL streamUpdatedArea is replaced with blendStroke2D for better integration between GL and 2D contexts
- InkCodec decodeInkModel is async
Updates
- InputListener resize reason listeners added - for orientation, window resolution, screen resolution, InkController resize method argument reason provided, ResizeReason enum provided
- InputListener suppressKeys properly introduced, it configures ctrlKey, altKey, shiftKey and metaKey and by default if any of them is pressed ink is suppressed
- InputListener provides prediction to InkController move method when is browser supported
- OffscreenLayer2D draws with alpha
- InkBuilderSettings excludedPipelineStages, lastPipelineStage option added
- Stroke renderMode defaults to SOURCE_OVER, required
- StrokeRenderers can batch strokes list, blendStrokes implemented
- Brush2D shape frame based on 1 diameter provides thiner strokes generation
- Selector functionallity bug-fixes
- SpatialContext createInstance method provided - could be based on another context (RTree clone)
- Ink data format update to v.3.1.0
- InkOperation protocol is created
- PrecisionDetection compression serialisation functionality introduced, InkCodec precisionCalculator optional property controlls it
- TripleStore refactoring, extends Array
1.3.0 (3.0.3)
2021-01-15
Breaking Changes
- InkBuilder configure method should be called only once before starting new path building
- InkBuilderSettings onBuildComplete property is deprecated, InkBuilder onComplete property should be used instead
Updates
- InputListener - affects ink input when surface transform is available
- Stroke style support implemented
- Color - hex property provides color as hex
- Matrix
- properties setters impl
- is2D property impl
- matrix3d support added
- fromPoints static method impl
- distribution file name updated
- PipelineStage enum available
- InkBuilderSettings updated, pipeline options added:
- lastPipelineStep - controls where pipeline to complete
- excludedPipelineStages - excludes stages from pipeline
Bugfixes
- InputDevice - fix senosor input validation when pointer is not available
- loading BrushGL assets in Safari
1.2.0 (3.0.2)
2020-09-01
Breaking Changes
- InkController - interface is updated, registerTouches(changedTouches) method is replaced with registerInputProvider(pointerID, isPrimary), getInkBuilder(changedTouches) with getInkBuilder(pointerID), implementation update is required
- InkBuilderAbstract - property touchID is renamed to pointerID
Updates
- InputListener - based on PointerEvent only, fallback class is provided when PointerEvent is not available which implementation is based on MouseEvent and TouchEvent
- SensorPoint - PointerEvent based InputListener extends SensorPoint with coalesced and predicted points, when available
- Matrix - provides access to additional properties like scaleX, translateX, etc.
- InkPath2D - 2D ink path type implemented and integrated
- Layer and StrokeRender implementations extended with setTransform method
Bugfixes
- PathPoint - transform properly applied rotation when available
1.1.0 (3.0.1)
2020-08-11
Updates
- Spline - transfrom functionallity provided
- Stroke - transform functionality updated - transform underlying spline and path if available
- Intersector - intersect2 method renamed to intersectSegmentation, doc update
- InkContext - drawSprite is replaced from drawSpritesBatch (batching points sprites)
- InputDevice - decouple sensor point building from ink builder, InputDevice handles building, validation and provides sensor layout as string array
- InkCanvas2D - context attributes support (Layers inherits canvas attributes)
Bugfixes
- InkModel - provide proper strokes order after manipulations
- StrokeDrawContext - randomSeed fix (int number instead long)
- StrokeRendererGL - renderer configuration color update, overrides path color
- InkGLContext - blend mode MIN fixed, blendMode as property instead method
- Matrix - fromMatrix method do not recreates Matrix when data is Matrix instance
- PathPointContext - improved attributes values analyse, added suppot for tocuh devices with radius range (0, 1)
- CurvatureBasedInterpolator - rotation bug-fix, ts and tf aplyed
1.0.0 (3.0.0)
2020-07-01
- First release