Lines Matching refs:rP2
246 void SwLabPreview::DrawArrow(const Point &rP1, const Point &rP2, sal_Bool bArrow) in DrawArrow() argument
248 DrawLine(rP1, rP2); in DrawArrow()
255 if (rP1.Y() == rP2.Y()) in DrawArrow()
258 aArr[0].X() = rP2.X() - 5; in DrawArrow()
259 aArr[0].Y() = rP2.Y() - 2; in DrawArrow()
260 aArr[1].X() = rP2.X(); in DrawArrow()
261 aArr[1].Y() = rP2.Y(); in DrawArrow()
262 aArr[2].X() = rP2.X() - 5; in DrawArrow()
263 aArr[2].Y() = rP2.Y() + 2; in DrawArrow()
268 aArr[0].X() = rP2.X() - 2; in DrawArrow()
269 aArr[0].Y() = rP2.Y() - 5; in DrawArrow()
270 aArr[1].X() = rP2.X() + 2; in DrawArrow()
271 aArr[1].Y() = rP2.Y() - 5; in DrawArrow()
272 aArr[2].X() = rP2.X(); in DrawArrow()
273 aArr[2].Y() = rP2.Y(); in DrawArrow()
283 if (rP1.Y() == rP2.Y()) in DrawArrow()
287 DrawLine(Point(rP2.X(), rP2.Y() - 2), Point(rP2.X(), rP2.Y() + 2)); in DrawArrow()
293 DrawLine(Point(rP2.X() - 2, rP2.Y()), Point(rP2.X() + 2, rP2.Y())); in DrawArrow()