XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_rect Struct Reference

#include <drm_rect.h>

Public Attributes

int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

DOC: rect utils

Utility functions to help manage rectangular areas for clipping, scaling, etc. calculations. struct drm_rect - two dimensional rectangle @x1: horizontal starting coordinate (inclusive) @x2: horizontal ending coordinate (exclusive) @y1: vertical starting coordinate (inclusive) @y2: vertical ending coordinate (exclusive)

Note that this must match the layout of struct drm_mode_rect or the damage helpers like drm_atomic_helper_damage_iter_init() break.

Member Data Documentation

◆ x1

int drm_rect::x1

◆ x2

int drm_rect::x2

◆ y1

int drm_rect::y1

◆ y2

int drm_rect::y2

The documentation for this struct was generated from the following file: