drm_rect_width(9)
β¨ NAME β¨
drm_rect_width(9) β bestie, this one is literally here to determine the rectangle width. Thatβs the whole gig. π
π οΈ SYNOPSIS π οΈ
int drm_rect_width (const struct drm_rect *r );
π ARGUMENTS π
rβ the rectangle whose width is returned, no cap. Itβs aconst struct drm_rect *, so this function is just peeking at it, not changing anything. π«Ά
πΈ RETURN πΈ
The width of the rectangle. Thatβs it, thatβs the tea. β¨
π¦ SEE ALSO π¦
Okay so the whole friend group is here, and you should absolutely know them:
- Kernel file
./include/drm/drm_rect.h rect utils(9)struct 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_height(9)drm_rect_visible(9)drm_rect_equals(9)drm_rect_fp_to_int(9)drm_rect_overlap(9)
Sign-off time, bestie: this one comes from source/version ./include/drm, dated October 2026. 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