Expand description
§Sina Core
Core data types and abstractions for the Sina 2D rendering engine.
This crate provides fundamental types for:
- Geometry (Point, Rect, Size, Matrix)
- Colors and color spaces
- Paths and path building
- Paint styles and stroke settings
- Surface abstraction
- CPU and GPU rendering backends
- Text rendering and emoji support
- Effects and filters
Re-exports§
pub use color::Color;pub use geometry::Matrix3x3;pub use geometry::Point;pub use geometry::Rect;pub use geometry::Size;pub use paint::BlendMode;pub use paint::Paint;pub use paint::StrokeStyle;pub use path::Path;pub use surface::Canvas;pub use surface::Surface;pub use cpu::CpuSurface;pub use gpu::GpuSurface;pub use text::BitmapFontRenderer;pub use text::BitmapGlyph;pub use text::ColorEmojiRenderer;pub use text::ColorLayer;pub use text::Font;pub use text::FontError;pub use text::GlyphCache;pub use text::TextAlign;pub use text::TextLayout;pub use text::VariableFontManager;pub use text::Variation;pub use text::VariationAxis;
Modules§
- color
- Color representation and manipulation
- cpu
- CPU-based software rasterizer
- effects
- Image effects and filters
- geometry
- Geometric primitives and transformations
- gpu
- GPU-accelerated backend using WebGPU
- paint
- Paint styles and stroke configuration
- path
- Path representation and building
- surface
- Surface and canvas abstractions for drawing
- text
- Text rendering, font loading, and typography