blob: e187d34d9066aad61b798bcaa09c39da8792962f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace search::query {
struct Rectangle {
int32_t left;
int32_t top;
int32_t right;
int32_t bottom;
Rectangle() : left(0), top(0), right(0), bottom(0) {}
Rectangle(int32_t l, int32_t t, int32_t r, int32_t b)
: left(l), top(t), right(r), bottom(b) {}
};
}
|