Graphite/document-legacy/src
Orson Peters 5558deba5e Brush blend modes and erase/restore (#1261)
* Made blit node numerically stable.

* Added blend mode parameter to brush strokes.

* Fixed difference blend mode.

* Added erase/restore blend modes.

* Added blend mode and draw mode widgets.

* Added comment explaining the ImageFrame.transform.

* Initial blit/blend version.

* Working version of erase/restore.

* Improved inlining for blend functions.

* Dsiable the blend mode selector in erase/draw mode.

* Fixed incorrect bounds calculation.

* Use factor instead of percentage for opacity

* Rearrange options bar widgets

* Tidy up blend modes

* Code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-06-02 21:59:55 +02:00
..
layers Brush blend modes and erase/restore (#1261) 2023-06-02 21:59:55 +02:00
boolean_ops.rs Groundwork for integrating Specta (#949) 2023-01-28 22:29:38 -08:00
consts.rs Refactor vector data type from document-legacy into node graph (#1057) 2023-02-25 16:55:05 +00:00
document.rs Use canvas as target for raster rendering (#1256) 2023-05-30 20:12:59 +02:00
error.rs Remove dead code from document-legacy 2023-05-06 17:03:40 -07:00
intersection.rs Migrate vector data and tools to use nodes (#1065) 2023-03-26 08:03:51 +01:00
lib.rs Remove Color struct from document-legacy (#1012) 2023-02-07 17:31:50 -08:00
operation.rs Remove unsafe code and clean up the code base in general (#1263) 2023-06-02 11:05:32 +02:00
response.rs Make duplicating folders also duplicate its children (#1178) 2023-05-19 00:41:16 -07:00