tawasuyu

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 660Markdown 302TOML 157RON 312382 Definitions

⎇ main shared/foreign-lottie/src/schema/shapes/ellipse.rs Rust · 21 lines · 614 B History Who touched what raw

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1// Copyright 2024 the Velato Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4use super::graphic_element::GraphicElementShape;
5use crate::schema::animated_properties::position::Position;
6use crate::schema::{
7    animated_properties::multi_dimensional::MultiDimensional, shapes::shape::Shape,
8};
9use serde::{Deserialize, Serialize};
10
11#[derive(Deserialize, Serialize, Debug, Clone, PartialEq)]
12pub struct EllipseShape {
13    #[serde(flatten)]
14    pub shape: Shape,
15    /// Position
16    #[serde(rename = "p")]
17    pub position: Position,
18    /// Size
19    #[serde(rename = "s")]
20    pub size: MultiDimensional,
21}