HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
pipeline_image_image_location.hpp
1// Copyright Take Vos 2019-2020.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../geometry/axis_aligned_rectangle.hpp"
8
9namespace tt::pipeline_image {
10
17
20
21 bool operator==(const ImageLocation &other) noexcept {
22 return (
23 transform == other.transform &&
24 clippingRectangle == other.clippingRectangle
25 );
26 }
27
28 bool operator!=(const ImageLocation &other) noexcept { return !((*this) == other); }
29};
30
31}
Class which represents an axis-aligned rectangle.
Definition axis_aligned_rectangle.hpp:18
Definition pipeline_image_image_location.hpp:13
aarectangle clippingRectangle
The position in pixels of the clipping rectangle relative to the top-left corner of the window,...
Definition pipeline_image_image_location.hpp:19
matrix3 transform
Transformation matrix.
Definition pipeline_image_image_location.hpp:16