---
name: "drm_rect_equals"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_rect_equals"
---

# drm\_rect\_equals(9)

determine if two rectangles are equal

## NAME

drm\_rect\_equals - determine if two rectangles are equal

## SYNOPSIS

**bool drm\_rect\_equals(const struct drm\_rect \*** *r1***, const struct drm\_rect \*** *r2***);**

## ARGUMENTS

*r1*

first rectangle

*r2*

second rectangle

## RETURNS

**true** if the rectangles are equal, **false** otherwise.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
