Lines Matching refs:x2
702 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2,
706 int width = (s == BSTop || s == BSBottom ? y2 - y1 : x2 - x1);
732 graphicsContext->drawLine(IntPoint(x1, (y1 + y2) / 2), IntPoint(x2, (y1 + y2) / 2));
736 graphicsContext->drawLine(IntPoint((x1 + x2) / 2, y1), IntPoint((x1 + x2) / 2, y2));
749 graphicsContext->drawRect(IntRect(x1, y1, x2 - x1, third));
750 graphicsContext->drawRect(IntRect(x1, y2 - third, x2 - x1, third));
754 graphicsContext->drawRect(IntRect(x2 - third, y1 + 1, third, y2 - y1 - 1));
758 graphicsContext->drawRect(IntRect(x2 - third, y1 + 1, third, y2 - y1 - 1));
768 y1, x2 - max((-adjbw2 * 2 + 1) / 3, 0), y1 + third,
771 y2 - third, x2 - max((adjbw2 * 2 + 1) / 3, 0), y2,
778 drawLineForBoxSide(graphicsContext, x2 - third, y1 + max((adjbw1 * 2 + 1) / 3, 0),
779 x2, y2 - max((adjbw2 * 2 + 1) / 3, 0),
784 y1, x2 - max((adjbw2 * 2 + 1) / 3, 0), y1 + third,
787 y2 - third, x2 - max((-adjbw2 * 2 + 1) / 3, 0), y2,
794 drawLineForBoxSide(graphicsContext, x2 - third, y1 + max((-adjbw1 * 2 + 1) / 3, 0),
795 x2, y2 - max((-adjbw2 * 2 + 1) / 3, 0),
822 drawLineForBoxSide(graphicsContext, x1 + max(-adjbw1, 0) / 2, y1, x2 - max(-adjbw2, 0) / 2, (y1 + y2 + 1) / 2,
824 drawLineForBoxSide(graphicsContext, x1 + max(adjbw1 + 1, 0) / 2, (y1 + y2 + 1) / 2, x2 - max(adjbw2 + 1, 0) / 2, y2,
828 drawLineForBoxSide(graphicsContext, x1, y1 + max(-adjbw1, 0) / 2, (x1 + x2 + 1) / 2, y2 - max(-adjbw2, 0) / 2,
830 drawLineForBoxSide(graphicsContext, (x1 + x2 + 1) / 2, y1 + max(adjbw1 + 1, 0) / 2, x2, y2 - max(adjbw2 + 1, 0) / 2,
834 drawLineForBoxSide(graphicsContext, x1 + max(adjbw1, 0) / 2, y1, x2 - max(adjbw2, 0) / 2, (y1 + y2 + 1) / 2,
836 drawLineForBoxSide(graphicsContext, x1 + max(-adjbw1 + 1, 0) / 2, (y1 + y2 + 1) / 2, x2 - max(-adjbw2 + 1, 0) / 2, y2,
840 drawLineForBoxSide(graphicsContext, x1, y1 + max(adjbw1, 0) / 2, (x1 + x2 + 1) / 2, y2 - max(adjbw2, 0) / 2,
842 drawLineForBoxSide(graphicsContext, (x1 + x2 + 1) / 2, y1 + max(-adjbw1 + 1, 0) / 2, x2, y2 - max(-adjbw2 + 1, 0) / 2,
859 ASSERT(x2 >= x1);
862 graphicsContext->drawRect(IntRect(x1, y1, x2 - x1, y2 - y1));
870 quad[2] = FloatPoint(x2 - max(adjbw2, 0), y2);
871 quad[3] = FloatPoint(x2 - max(-adjbw2, 0), y1);
876 quad[2] = FloatPoint(x2 - max(-adjbw2, 0), y2);
877 quad[3] = FloatPoint(x2 - max(adjbw2, 0), y1);
882 quad[2] = FloatPoint(x2, y2 - max(adjbw2, 0));
883 quad[3] = FloatPoint(x2, y1 + max(adjbw1, 0));
888 quad[2] = FloatPoint(x2, y2 - max(-adjbw2, 0));
889 quad[3] = FloatPoint(x2, y1 + max(-adjbw1, 0));