drm_rect_rotate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 space
  • height β€” Height of the coordinate space
  • rotation β€” 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 πŸ¦‹


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