Crate cranpose_ui_graphics

Crate cranpose_ui_graphics 

Source
Expand description

Pure math/data for drawing & units in Cranpose

This crate contains geometry primitives, color definitions, brushes, and unit types that are used throughout the Cranpose framework.

Modules§

prelude

Structs§

Color
CornerRadii
Dp
Density-independent pixels
DrawScopeDefault
EdgeInsets
Padding values for each edge of a rectangle.
FontWeight
Font weight (100-900)
GraphicsLayer
Point
Px
Raw pixels
Rect
RoundedCornerShape
Size
Sp
Scale-independent pixels (for text)
TextStyle
Text style (data only, no rendering)

Enums§

Brush
DrawPrimitive
FontStyle
Font style (normal, italic, oblique)

Traits§

DrawScope