Serialize layout data

This commit is contained in:
alonso.torres 2025-02-21 14:54:11 +01:00 committed by Alonso Torres
parent b4f6177be7
commit 80d5272248
17 changed files with 1006 additions and 375 deletions

View file

@ -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;