* Fix gamma issue by applying tone mapping in the shader
Vello renders it's values to an RgbaUnorm texture
but if we try to use this in the main rendering
pipeline which renders to an Srgb surface gamma
mapping is applied twice.
* Add comment explaining why we do this to the shader
* Rename variables
* Rename VectorData to Vector
* Rename other VectorData* types to Vector*
* Move assorted data types out of vector_data.rs into misc.rs
* Rename vector_data.rs to vector_types.rs and remove the vector_types module folder
* Rename other references to "vector data"
* Remove label widgets for raster/vector/group to use "-" instead
* Rename RasterData to Raster
* Rename GraphicGroup to Group
* Fix migrations and rename graphic_element.rs -> graphic.rs
* Rename TaggedValue::ArtboardGroup -> TaggedValue::Artboard
* Instances -> Table
* instances.rs -> table.rs
* Rename occurrances of the word "instances"
* .instance -> .element
* Instance* -> TableRow*
* Rename Table and TableRow methods to not say "instance"
* Remove presumed unused serde defaults now that tables default to length 0 not 1
* Rename occurences of the word "instance"
* Un-alias the RasterDataTable<Storage>, VectorDataTable, GraphicGroupTable, ArtboardGroupTable typedefs
* Move artboard type and node code out of graphic_element.rs to a new artboard.rs
* Organize the TaggedValues
* Fix tests
* Fix prior regression with Image Value node not upgrading
* Render overlays with vello
* Fix nix flake comments
* Rendering refactor with better names and code location
* Remove unnecessary overlay renders
* Post rebase fix
* add todo
* impl function to convert a bezpath to manipulator groups
* refactor few node impls
* refactor vector nodes test and few methods on VectorData struct
* refactor tests
* remove unused import
* simplify and fix morph node test
* rename vars and comment
* refactor bezpath_to_parametric function
* Code review
* fix bezpath_to_manipulator_groups function
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com>
* merged with circle and impl inner radius gizmo for arc
* impl radius-gizmo for arc
* fix only one gizmo shown at a time
* Code review
* make hints update when changing shape,add default behaviour when dragging to make circle earlier fixed to from center
* fixed arc-radius hover threshold and show arc-endpoint when hover over arc-radius gizmo
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com>
* impl function for segment intersections
* fix and improve segment intersections
* copy and refactor related segment intersection methods
* copy and refactor tests for segment intersection from bezier-rs
* impl intersection with bezpaths
* copy and refactor tests
* rename few variables in the tests module
* rename position_on_bezpath to evaluate_bezpath
* copy and refactor function to clip two intersecting simple bezpaths
* refactor comments
* copy and refactor functions for milter join
* copy and refactor milter and round join functions from bezier-rs
* it worked! refactor offset path node impl
* fix few bugs
* improve vars names and add comments
* Code review
* fmt
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com>
* Stub vello based overlay implementation
* Fix warnings
* Don't panic on non implemented functions to allow the tests to pass
* Don't draw overlays for tests
* Add Handler for defered execution of messages
* Cleanup
* Track graph execution id to associate messages with their corresponding execution id
* Rename ViewportReady -> NavigationReady
* Defer layer deselection
* Rename CEF implementations to match the process they are called in
* Rename CEF implementations to match the process they are called in
* Implement ipc abstraction
* Call js function `receiveNativeMessage` for all SendToJS ipc messages
* Allow js to call `sendNativeMessage` for sending messages to the browser process
Co-authored-by: Adam <adamgerhant@gmail.com>
Co-authored-by: Dennis Kobert <dennis@kobert.dev>
* Fix missing safety consideration
---------
Co-authored-by: Adam <adamgerhant@gmail.com>
Co-authored-by: Dennis Kobert <dennis@kobert.dev>