tawasuyu/llimphi
Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.
1// Copyright 2024 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4use super::graphic_element::GraphicElementShape;
5use crate::schema::helpers::transform::Transform;
6use serde::{Deserialize, Serialize};
7
8/// A rectangle, defined by its center point and size.
9#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
10pub struct TransformShape {
11 #[serde(flatten)]
12 pub graphic_element: GraphicElementShape,
13 #[serde(flatten)]
14 pub transform: Transform,
15}