drm_rect_rotate(9)
β¨ NAME β¨
okay so bestie, this is drm_rect_rotate(9) from the Kernel API Manual, and the whole vibe is: drm_rect_rotate β Rotate the rectangle π«
π SYNOPSIS π
signature check, no cap:
void drm_rect_rotate (struct drm_rect *r , int width , int height ,
unsigned int rotation );
πΈ ARGUMENTS πΈ
rβ the rectangle to be rotated, aka the main character π«Άwidthβ Width of the coordinate spaceheightβ Height of the coordinate spacerotationβ Transformation to be applied
π DESCRIPTION π
Apply rotation to the coordinates of rectangle r. literally rotating the rectangleβs coordinates, periodt β¨
width and height combined with rotation define the location of the new origin. thatβs the trio that decides where the new origin lands π₯
width correcsponds to the horizontal axis and height to the vertical axis of the untransformed coordinate space. and yes, the original says βcorrecspondsβ β not me, bestie, Iβm keeping every detail intact ππ
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/drm_rect.c drm_rect_intersect(9)drm_rect_clip_scaled(9)drm_rect_calc_hscale(9)drm_rect_calc_vscale(9)drm_rect_debug_print(9)drm_rect_rotate_inv(9)
and thatβs the whole lore, bestie π§ this page is serving ./drivers/gpu/drm energy, dated October 2026 β iconic source/version and date combo, mwah ππ
π¦ 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