Home | History | Annotate | Download | only in rendering

Lines Matching refs:x1

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));
753 graphicsContext->drawRect(IntRect(x1, y1 + 1, third, y2 - y1 - 1));
757 graphicsContext->drawRect(IntRect(x1, y1 + 1, third, y2 - y1 - 1));
767 drawLineForBoxSide(graphicsContext, x1 + max((-adjbw1 * 2 + 1) / 3, 0),
770 drawLineForBoxSide(graphicsContext, x1 + max((adjbw1 * 2 + 1) / 3, 0),
775 drawLineForBoxSide(graphicsContext, x1, y1 + max((-adjbw1 * 2 + 1) / 3, 0),
776 x1 + third, y2 - max((-adjbw2 * 2 + 1) / 3, 0),
783 drawLineForBoxSide(graphicsContext, x1 + max((adjbw1 * 2 + 1) / 3, 0),
786 drawLineForBoxSide(graphicsContext, x1 + max((-adjbw1 * 2 + 1) / 3, 0),
791 drawLineForBoxSide(graphicsContext, x1, y1 + max((adjbw1 * 2 + 1) / 3, 0),
792 x1 + third, 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));
868 quad[0] = FloatPoint(x1 + max(-adjbw1, 0), y1);
869 quad[1] = FloatPoint(x1 + max(adjbw1, 0), y2);
874 quad[0] = FloatPoint(x1 + max(adjbw1, 0), y1);
875 quad[1] = FloatPoint(x1 + max(-adjbw1, 0), y2);
880 quad[0] = FloatPoint(x1, y1 + max(-adjbw1, 0));
881 quad[1] = FloatPoint(x1, y2 - max(-adjbw2, 0));
886 quad[0] = FloatPoint(x1, y1 + max(adjbw1, 0));
887 quad[1] = FloatPoint(x1, y2 - max(adjbw2, 0));