Skip to main content

avatar_pixel_size

Function avatar_pixel_size 

Source
pub fn avatar_pixel_size(size: AvatarSize) -> f32
Expand description

Resolve a discrete AvatarSize to a logical-pixel side length using the recipe’s size table. Custom(px) is clamped to at least 1 px.