Class: InkPathProducer
InkPathProducer()
Provides parallel path building of strokes over all available CPU cores
Constructor
new InkPathProducer()
Extends
Methods
(async) broadcast()
Bulk execution of action to all workers
Overrides:
close()
Terminate all underlying workers
Overrides:
importBrushes(brushes)
Parameters:
Name | Type | Description |
---|---|---|
brushes | Array.<Rendering.Brush> |
(async) open()
Generate n workers based on CPU cores. Invokes worker INIT action.
Overrides:
(abstract) updateProgress(value, expected)
Reports build progress
Parameters:
Name | Type | Description |
---|---|---|
value | float | Percent of processed tasks |
expected | int | Count of tasks that are not processed yet |
Overrides: