mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 07:18:04 +08:00
Add embedable images (#564)
* Add embedable bitmaps * Initial work on blob urls * Finish implementing data url * Fix some bugs * Rename bitmap to image * Fix loading image on document load * Add transform properties for image * Remove some logging * Add image dimensions * Implement system copy and paste * Fix pasting images * Fix test * Address code review Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
parent
0ee492a857
commit
51c31f042b
@@ -79,6 +79,11 @@ pub enum DocumentMessage {
|
||||
delta_x: f64,
|
||||
delta_y: f64,
|
||||
},
|
||||
PasteImage {
|
||||
mime: String,
|
||||
image_data: Vec<u8>,
|
||||
mouse: Option<(f64, f64)>,
|
||||
},
|
||||
Redo,
|
||||
RenameLayer {
|
||||
layer_path: Vec<LayerId>,
|
||||
|
||||
Reference in New Issue
Block a user