1f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright/*
2f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * Copyright (C) 2010 The Android Open Source Project
3f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright *
4f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * Licensed under the Apache License, Version 2.0 (the "License");
5f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * you may not use this file except in compliance with the License.
6f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * You may obtain a copy of the License at
7f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright *
8f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright *      http://www.apache.org/licenses/LICENSE-2.0
9f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright *
10f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * Unless required by applicable law or agreed to in writing, software
11f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * distributed under the License is distributed on an "AS IS" BASIS,
12f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * See the License for the specific language governing permissions and
14f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright * limitations under the License.
15f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright */
16f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright
17f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright
18f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#ifndef ANDROID_RECT_H
19f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#define ANDROID_RECT_H
20f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright
21fbb32955a4389aaf3ebb72f168b9c980afac48f8Andrew Hsieh#include <stdint.h>
22fbb32955a4389aaf3ebb72f168b9c980afac48f8Andrew Hsieh
23f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#ifdef __cplusplus
24f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wrightextern "C" {
25f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#endif
26f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright
27f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wrighttypedef struct ARect {
28f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#ifdef __cplusplus
29f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright    typedef int32_t value_type;
30f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#endif
31f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright    int32_t left;
32f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright    int32_t top;
33f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright    int32_t right;
34f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright    int32_t bottom;
35f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright} ARect;
36f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright
37f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#ifdef __cplusplus
38f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright};
39f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#endif
40f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright
41f3c3a93bc48c157a412605f95442fd3c8d822f82Michael Wright#endif // ANDROID_RECT_H
42