Home | History | Annotate | Download | only in geometry

Lines Matching refs:topRight

103             m_topRight = edges.topRight();
109 m_topRight = edges.topRight();
146 RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight)
148 , m_radii(topLeft, topRight, bottomLeft, bottomRight)
156 int minY = m_rect.y() + std::max(m_radii.topLeft().height(), m_radii.topRight().height());
157 int maxX = m_rect.maxX() - std::max(m_radii.topRight().width(), m_radii.bottomRight().width());
174 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width()
177 && m_radii.topRight().height() + m_radii.bottomRight().height() <= m_rect.height();
182 int maxRadiusWidth = std::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bottomLeft().width() + m_radii.bottomRight().width());
183 int maxRadiusHeight = std::max(m_radii.topLeft().height() + m_radii.bottomLeft().height(), m_radii.topRight().height() + m_radii.bottomRight().height());
211 const IntSize& topRight = m_radii.topRight();
212 if (!topRight.isEmpty()) {
213 FloatRect rect(m_rect.maxX() - topRight.width(), m_rect.y(), topRight.width(), topRight.height());
215 FloatPoint center(m_rect.maxX() - topRight.width(), m_rect.y() + topRight.height());
216 FloatSize size(topRight.width(), topRight.height());