ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
rect_intf.h
Go to the documentation of this file.
1 
7 #pragma once
9 
10 namespace adtf
11 {
12 
13 namespace disptb
14 {
15 namespace graphicslib
16 {
17 
18 namespace dengar
19 {
23 class IRect
24 {
25 public:
26 
30  virtual ~IRect()
31  {}
32 
37  virtual tVoid Release() = 0;
38 
44  virtual tInt GetWidth() const = 0;
45 
51  virtual tInt GetHeight() const = 0;
52 
58  virtual const IPoint* GetTopLeft() const = 0;
59 
65  virtual const IPoint* GetBottomRight() const = 0;
66 
72  virtual tInt GetLeft() const = 0;
73 
80  virtual tVoid SetLeft(tInt nLeft) = 0;
81 
87  virtual tInt GetTop() const = 0;
88 
95  virtual tVoid SetTop(tInt nTop) = 0;
96 
102  virtual tInt GetRight() const = 0;
103 
110  virtual tVoid SetRight(tInt nRight) = 0;
111 
117  virtual tInt GetBottom() const = 0;
118 
125  virtual tVoid SetBottom(tInt nBottom) = 0;
126 };
127 
128 }
129 
130 using dengar::IRect;
131 }
132 
133 }
134 
135 }
virtual tVoid SetLeft(tInt nLeft)=0
virtual const IPoint * GetBottomRight() const =0
virtual const IPoint * GetTopLeft() const =0
virtual tVoid SetRight(tInt nRight)=0
virtual ~IRect()
virtual destructor to ensure proper cleanup.
Definition: rect_intf.h:30
virtual tVoid SetTop(tInt nTop)=0
virtual tVoid SetBottom(tInt nBottom)=0
Main namespace.
Copyright © Audi Electronics Venture GmbH.