⚠️ VeridianOS Kernel Documentation
- This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise.
no_std
px_to_fp
veridian_
kernel
0.25.2
In veridian_
kernel::
browser::
css_
parser
veridian_kernel
::
browser
::
css_parser
Function
px_
to_
fp
Copy item path
Source
pub const fn px_to_fp(px: i32) ->
FixedPoint
Expand description
Convert pixels to 26.6 fixed-point