mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 18:06:12 +02:00
✨ Serialize layout data
This commit is contained in:
parent
b4f6177be7
commit
80d5272248
17 changed files with 1006 additions and 375 deletions
|
@ -1,4 +1,9 @@
|
|||
use skia_safe::{Matrix, Point, Vector};
|
||||
use skia_safe as skia;
|
||||
|
||||
pub type Rect = skia::Rect;
|
||||
pub type Matrix = skia::Matrix;
|
||||
pub type Vector = skia::Vector;
|
||||
pub type Point = skia::Point;
|
||||
|
||||
pub trait VectorExt {
|
||||
fn new_points(a: &Point, b: &Point) -> Vector;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue