pub fn device_px(transform: Affine, rect: Rect) -> u32
The device-pixel edge rect covers under transform.
rect
transform