drm_rect_adjust_size(9)
π 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 adjustmentdhβ 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. β¨
Positivedwanddhincrease the size; negative values decrease it. no cap. π
π SEE ALSO π
- Kernel file
./include/drm/drm_rect.hrect 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_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)
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
- 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