1 #ifndef HORUSEYE_FRAMEWORK_FRAME_H_
2 #define HORUSEYE_FRAMEWORK_FRAME_H_
32 Frame() : left_(0), top_(0), right_(0), bottom_(0) { }
41 left_(left), top_(top), right_(right), bottom_(bottom) { }
46 double width()
const {
return right_ - left_; }
48 double height()
const {
return bottom_ - top_; }
55 double left()
const {
return left_; }
57 double top()
const {
return top_; }
59 double right()
const {
return right_; }
61 double bottom()
const {
return bottom_; }
71 double left_, top_, right_, bottom_;
76 #endif // HORUSEYE_FRAMEWORK_FRAME_H_