diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-11 18:50:16 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-18 18:13:07 +0300 |
commit | 66337b96b142684cfb471bc7055781e1b9f116f3 (patch) | |
tree | 3b84ec4c29f8569a52af0558745f93182e940d44 /src/cam/options.cpp | |
parent | 72afcbb0873215dd31de098e0461586ba913dcfb (diff) |
libcamera: geometry: Add comparison operators to geometry classes
Add equality and inequality comparison operators for the Rectangle, Size
and SizeRange classes.
For the Size class, also add ordering operators. Sizes are first
compared on combined width and height, then on area, and finally on
width only to achieve a stable ordering.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/options.cpp')
0 files changed, 0 insertions, 0 deletions