Home | History | Annotate | Download | only in graphics

Lines Matching refs:m_width

66     IntSize() : m_width(0), m_height(0) { }
67 IntSize(int width, int height) : m_width(width), m_height(height) { }
69 int width() const { return m_width; }
72 void setWidth(int width) { m_width = width; }
75 bool isEmpty() const { return m_width <= 0 || m_height <= 0; }
76 bool isZero() const { return !m_width && !m_height; }
80 m_width += width;
86 m_width = static_cast<int>(static_cast<float>(m_width) * scale);
92 return IntSize(m_width > other.m_width ? m_width : other.m_width,
98 return IntSize(m_width < other.m_width ? m_width : other.m_width,
143 int m_width, m_height;