mirror of
https://github.com/penpot/penpot.git
synced 2025-05-27 22:36:11 +02:00
✨ Use skia matrix for internal data
This commit is contained in:
parent
4594c7bf0a
commit
3dcabc9502
13 changed files with 228 additions and 211 deletions
|
@ -1,6 +1,5 @@
|
|||
use std::collections::HashMap;
|
||||
|
||||
use crate::matrix;
|
||||
use skia_safe as skia;
|
||||
use uuid::Uuid;
|
||||
|
||||
|
@ -17,7 +16,7 @@ pub(crate) struct State<'a> {
|
|||
pub current_id: Option<Uuid>,
|
||||
pub current_shape: Option<&'a mut Shape>,
|
||||
pub shapes: HashMap<Uuid, Shape>,
|
||||
pub modifiers: HashMap<Uuid, matrix::Matrix>,
|
||||
pub modifiers: HashMap<Uuid, skia::Matrix>,
|
||||
}
|
||||
|
||||
impl<'a> State<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue