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