MyGUI  3.4.0
MyGUI_RenderTargetInfo.h
Go to the documentation of this file.
1 /*
2  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3  * Distributed under the MIT License
4  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5  */
6 
7 #ifndef MYGUI_RENDER_TARGET_INFO_H_
8 #define MYGUI_RENDER_TARGET_INFO_H_
9 
10 #include "MyGUI_Prerequest.h"
11 
12 namespace MyGUI
13 {
14 
16  {
17  public:
19  maximumDepth(0),
20  pixScaleX(1),
21  pixScaleY(1),
22  hOffset(0),
23  vOffset(0),
24  aspectCoef(1),
25  leftOffset(0),
26  topOffset(0)
27  {
28  }
29 
30  void setOffset(int _left, int _top) const
31  {
32  leftOffset = _left;
33  topOffset = _top;
34  }
35 
36  public:
37  float maximumDepth;
38  float pixScaleX;
39  float pixScaleY;
40  float hOffset;
41  float vOffset;
42  float aspectCoef;
43 
44  mutable int leftOffset;
45  mutable int topOffset;
46  };
47 
48 
49 } // namespace MyGUI
50 
51 #endif // MYGUI_RENDER_TARGET_INFO_H_
MyGUI::RenderTargetInfo::vOffset
float vOffset
Definition: MyGUI_RenderTargetInfo.h:41
MyGUI::RenderTargetInfo::leftOffset
int leftOffset
Definition: MyGUI_RenderTargetInfo.h:44
MyGUI::RenderTargetInfo::topOffset
int topOffset
Definition: MyGUI_RenderTargetInfo.h:45
MyGUI::RenderTargetInfo::maximumDepth
float maximumDepth
Definition: MyGUI_RenderTargetInfo.h:37
MyGUI::RenderTargetInfo::RenderTargetInfo
RenderTargetInfo()
Definition: MyGUI_RenderTargetInfo.h:18
MyGUI::RenderTargetInfo::setOffset
void setOffset(int _left, int _top) const
Definition: MyGUI_RenderTargetInfo.h:30
MyGUI::RenderTargetInfo::hOffset
float hOffset
Definition: MyGUI_RenderTargetInfo.h:40
MyGUI::RenderTargetInfo::aspectCoef
float aspectCoef
Definition: MyGUI_RenderTargetInfo.h:42
MyGUI_Prerequest.h
MyGUI::RenderTargetInfo::pixScaleX
float pixScaleX
Definition: MyGUI_RenderTargetInfo.h:38
MyGUI::RenderTargetInfo::pixScaleY
float pixScaleY
Definition: MyGUI_RenderTargetInfo.h:39
MyGUI::RenderTargetInfo
Definition: MyGUI_RenderTargetInfo.h:16
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition: MyGUI_Platform.h:89
MyGUI
Definition: MyGUI_ActionController.h:15