Skip to main content

REFERENCE_BODY_PX

Constant REFERENCE_BODY_PX 

pub const REFERENCE_BODY_PX: f32 = 14.0; // 14f32
Expand description

The body size, in logical pixels at 1×, that every role is designed against. Role sizes are body × role_px / REFERENCE_BODY_PX, so they land on whole pixels at the stock size.