drm_rect_adjust_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so drm_rect_adjust_size(9) β€” straight outta the Kernel API Manual β€” is literally the function for β€œadjust the size of the rectangle.” no notes, that’s the vibe. πŸ’…

✨ SYNOPSIS ✨

void drm_rect_adjust_size (struct drm_rect *r , int dw , int dh );

🌸 ARGUMENTS 🌸

  • r β€” the rectangle to be adjusted πŸŽ€
  • dw β€” the horizontal adjustment
  • dh β€” the vertical adjustment

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie, here’s the tea: you change the size of rectangle r by dw in the horizontal direction, and by dh in the vertical direction, while keeping the center of r stationary. literally centered resize behavior. ✨

Positive dw and dh increase the size; negative values decrease it. no cap. 😭

πŸ‘‘ SEE ALSO πŸ‘‘


that’s the whole page, bestie! source/version: ./include/drm; date: October 2026; manual name: drm_rect_adjust_size(9). mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from