Home
last modified time | relevance | path

Searched refs:winPoints (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/platform/graphics/wince/
DPlatformPathWince.cpp243 POINT* winPoints = 0; in drawPolygons() local
246 winPoints = new POINT[npoints + 1]; in drawPolygons()
248 winPoints = new POINT[npoints]; in drawPolygons()
250 if (winPoints) { in drawPolygons()
254 winPoints[i2].x = stableRound(trPoint.x()); in drawPolygons()
255 winPoints[i2].y = stableRound(trPoint.y()); in drawPolygons()
259 winPoints[i2].x = stableRound(i->at(i2).x()); in drawPolygons()
260 winPoints[i2].y = stableRound(i->at(i2).y()); in drawPolygons()
264 if (fill && winPoints[npoints - 1] != winPoints[0]) { in drawPolygons()
265 winPoints[npoints].x = winPoints[0].x; in drawPolygons()
[all …]
DGraphicsContextWince.cpp886 Vector<POINT, 20> winPoints(npoints); in drawConvexPolygon() local
888 winPoints[0].x = stableRound(trPoint.x()); in drawConvexPolygon()
889 winPoints[0].y = stableRound(trPoint.y()); in drawConvexPolygon()
890 RECT rect = { winPoints[0].x, winPoints[0].y, winPoints[0].x, winPoints[0].y }; in drawConvexPolygon()
893 winPoints[i].x = stableRound(trPoint.x()); in drawConvexPolygon()
894 winPoints[i].y = stableRound(trPoint.y()); in drawConvexPolygon()
895 if (rect.left > winPoints[i].x) in drawConvexPolygon()
896 rect.left = winPoints[i].x; in drawConvexPolygon()
897 else if (rect.right < winPoints[i].x) in drawConvexPolygon()
898 rect.right = winPoints[i].x; in drawConvexPolygon()
[all …]