Lines Matching defs:ResProjectionRect
98 struct ResProjectionRect struct
100 nw::ut::ResF32 m_AspectRatio;
101 nw::ut::ResF32 m_Height;
102 nw::ut::ResVec2 m_Center;
109 operator nw::ut::Rect() const in Rect()
119 f32 GetHeight() const { return m_Height; } in GetHeight()
124 f32 GetWidth() const { return m_Height * m_AspectRatio; } in GetWidth()
129 f32 GetAspectRatio() const { return m_AspectRatio; } in GetAspectRatio()
134 nw::math::VEC2 GetCenter() const { return m_Center; } in GetCenter()
141 NW_DEPRECATED_FUNCTION(void Set( f32 l, f32 r, f32 b, f32 t )) in NW_DEPRECATED_FUNCTION()
152 void SetWithoutFlip( f32 l, f32 r, f32 b, f32 t ) in SetWithoutFlip()
167 void SetWithYFlip( f32 l, f32 r, f32 b, f32 t ) in SetWithYFlip()
192 ResProjectionRect m_Rect; argument