Lines Matching refs:points
2013 status_t OpenGLRenderer::drawLines(float* points, int count, SkPaint* paint) {
2120 vec2 a(points[i], points[i + 1]);
2121 vec2 b(points[i + 2], points[i + 3]);
2267 status_t OpenGLRenderer::drawPoints(float* points, int count, SkPaint* paint) {
2270 // TODO: The paint's cap style defines whether the points are square or circular
2271 // TODO: Handle AA for round points
2292 // TODO: We should optimize this method to not generate vertices for points
2312 TextureVertex::set(vertex++, points[i], points[i + 1], 0.0f, 0.0f);
2315 float left = points[i] - halfWidth;
2316 float right = points[i] + halfWidth;
2317 float top = points[i + 1] - halfWidth;
2318 float bottom = points [i + 1] + halfWidth;
3005 float points[pointsCount];
3010 points[currentPoint++] = left;
3011 points[currentPoint++] = top;
3012 points[currentPoint++] = left + underlineWidth;
3013 points[currentPoint++] = top;
3018 points[currentPoint++] = left;
3019 points[currentPoint++] = top;
3020 points[currentPoint++] = left + underlineWidth;
3021 points[currentPoint++] = top;
3026 drawLines(&points[0], pointsCount, &paintCopy);