drm_rect_clip_scaled9
Perform a scaled clip operation
Usage
bool drm_rect_clip_scaled(struct drm_rect * src, struct drm_rect * dst, const struct drm_rect * clip, int hscale, int vscale);
Arguments
src
source window rectangle
dst
destination window rectangle
clip
clip rectangle
hscale
horizontal scaling factor
vscale
vertical scaling factor
Overview
Clip rectangle dst by rectangle clip. Clip rectangle src by the same amounts multiplied by hscale and vscale.
Returns
true if rectangle dst is still visible after being clipped, false otherwise