RECT UTILS(9)
okay bestie, welcome to rect utils(9) β sheβs from the Kernel API Manual, and sheβs here to make rectangular areas make sense. no cap. π
β¨ rect utils β¨
These are utility functions to help manage rectangular areas for clipping, scaling, etc. calculations. literally the little rectangle-handling helpers of the kernel, and theyβre lowkey iconic. ππ«Ά
π¦ SEE ALSO π¦
the whole friend group, no skips:
- Kernel file
./include/drm/drm_rect.hstruct drm_rect(9)π«Ά DRM_RECT_INIT(9)β¨DRM_RECT_FMT(9)πDRM_RECT_ARG(9)πDRM_RECT_FP_FMT(9)π¦DRM_RECT_FP_ARG(9)πΈdrm_rect_init(9)πdrm_rect_adjust_size(9)πdrm_rect_translate(9)π₯drm_rect_translate_to(9)πdrm_rect_downscale(9)πdrm_rect_width(9)βdrm_rect_height(9)πdrm_rect_visible(9)πdrm_rect_equals(9)πdrm_rect_fp_to_int(9)π§drm_rect_overlap(9)π
xoxo, your kernel bestie π β source: ./include/drm, date/version vibes: October 2026, and yes this is still rect utils(9). periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms