Home | History | Annotate | Download | only in graphics

Lines Matching defs:m_height

64     IntSize() : m_width(0), m_height(0) { }
65 IntSize(int width, int height) : m_width(width), m_height(height) { }
68 int height() const { return m_height; }
71 void setHeight(int height) { m_height = height; }
73 bool isEmpty() const { return m_width <= 0 || m_height <= 0; }
74 bool isZero() const { return !m_width && !m_height; }
76 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); }
81 m_height += height;
87 m_height = static_cast<int>(static_cast<float>(m_height) * scale);
93 m_height > other.m_height ? m_height : other.m_height);
99 m_height < other.m_height ? m_height : other.m_height);
109 return IntSize(m_height, m_width);
148 int m_width, m_height;