Lines Matching defs:ResProjectionRect
100 struct ResProjectionRect struct
102 nw::ut::ResF32 m_AspectRatio;
103 nw::ut::ResF32 m_Height;
104 nw::ut::ResVec2 m_Center;
111 operator nw::ut::Rect() const in Rect()
121 f32 GetHeight() const { return m_Height; } in GetHeight()
126 f32 GetWidth() const { return m_Height * m_AspectRatio; } in GetWidth()
131 f32 GetAspectRatio() const { return m_AspectRatio; } in GetAspectRatio()
136 nw::math::VEC2 GetCenter() const { return m_Center; } in GetCenter()
143 NW_DEPRECATED_FUNCTION(void Set( f32 l, f32 r, f32 b, f32 t )) in NW_DEPRECATED_FUNCTION()
154 void SetWithoutFlip( f32 l, f32 r, f32 b, f32 t ) in SetWithoutFlip()
169 void SetWithYFlip( f32 l, f32 r, f32 b, f32 t ) in SetWithYFlip()
194 ResProjectionRect m_Rect; argument