Home
last modified time | relevance | path

Searched refs:drawLine (Results 1 – 25 of 193) sorted by relevance

12345678

/external/skia/docs/
DSkPoint_Reference.bmh294 canvas->drawLine(origin, point, paint);
323 canvas->drawLine(origin, point, paint);
350 canvas->drawLine(line[0], line[1], paint);
355 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint);
356 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint);
381 canvas->drawLine(origin, point, paint);
387 canvas->drawLine(origin, normal, paint);
412 canvas->drawLine(origin, point, paint);
417 canvas->drawLine(origin, normal, paint);
440 canvas->drawLine(origin, point, paint);
[all …]
Dillustrations.bmh45 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
48 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
102 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
105 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
157 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
160 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
214 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
217 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
271 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
274 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
[all …]
/external/skqp/docs/
DSkPoint_Reference.bmh294 canvas->drawLine(origin, point, paint);
323 canvas->drawLine(origin, point, paint);
350 canvas->drawLine(line[0], line[1], paint);
355 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint);
356 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint);
381 canvas->drawLine(origin, point, paint);
387 canvas->drawLine(origin, normal, paint);
412 canvas->drawLine(origin, point, paint);
417 canvas->drawLine(origin, normal, paint);
440 canvas->drawLine(origin, point, paint);
[all …]
Dillustrations.bmh45 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
48 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
102 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
105 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
157 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
160 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
214 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
217 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
271 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p);
274 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p);
[all …]
/external/skqp/gm/
Dgm.cpp134 canvas->drawLine(-6, 0, in MarkGMGood()
136 canvas->drawLine(-1, +5, in MarkGMGood()
154 canvas->drawLine(-5,-5, in MarkGMBad()
156 canvas->drawLine(+5,-5, in MarkGMBad()
Dpixelsnap.cpp74 canvas->drawLine(0.5f, in onDraw()
79 canvas->drawLine(i * SkIntToScalar(kTrans) + 0.5f, in onDraw()
125 canvas->drawLine(1, 1, 4, 1, paint); in drawElement()
126 canvas->drawLine(6, 1, 6, 4, paint); in drawElement()
Dskbug_4868.cpp21 canvas->drawLine(rc.left(), rc.top(), rc.right(), rc.bottom(), paint);
22 canvas->drawLine(rc.right(), rc.top(), rc.left(), rc.bottom(), paint);
/external/skia/gm/
Dpixelsnap.cpp74 canvas->drawLine(0.5f, in onDraw()
79 canvas->drawLine(i * SkIntToScalar(kTrans) + 0.5f, in onDraw()
125 canvas->drawLine(1, 1, 4, 1, paint); in drawElement()
126 canvas->drawLine(6, 1, 6, 4, paint); in drawElement()
Dskbug_4868.cpp21 canvas->drawLine(rc.left(), rc.top(), rc.right(), rc.bottom(), paint);
22 canvas->drawLine(rc.right(), rc.top(), rc.left(), rc.bottom(), paint);
Dgm.cpp205 canvas->drawLine(-6, 0, in MarkGMGood()
207 canvas->drawLine(-1, +5, in MarkGMGood()
225 canvas->drawLine(-5,-5, in MarkGMBad()
227 canvas->drawLine(+5,-5, in MarkGMBad()
/external/skia/samplecode/
DSampleArc.cpp100 canvas->drawLine(r.fLeft, r.fTop, r.fRight, r.fBottom, p); in DrawRectWithLines()
101 canvas->drawLine(r.fLeft, r.fBottom, r.fRight, r.fTop, p); in DrawRectWithLines()
102 canvas->drawLine(r.fLeft, r.centerY(), r.fRight, r.centerY(), p); in DrawRectWithLines()
103 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p); in DrawRectWithLines()
DSampleFilterQuality.cpp78 canvas->drawLine(0, y, SkIntToScalar(orig->width()), y, paint); in zoom_up()
82 canvas->drawLine(x, 0, x, SkIntToScalar(orig->height()), paint); in zoom_up()
136 canvas->drawLine(r.left(), r.top(), r.right(), r.bottom(), p); in draw_box_frame()
137 canvas->drawLine(r.left(), r.bottom(), r.right(), r.top(), p); in draw_box_frame()
248 canvas->drawLine(r.left(), r.centerY(), r.right(), r.centerY(), p); in drawBorders()
249 canvas->drawLine(r.centerX(), r.top(), r.centerX(), r.bottom(), p); in drawBorders()
DSamplePath.cpp520 canvas->drawLine(loc - tan, loc + tan, paint); in onDrawContent()
523 canvas->drawLine(fPts[0], fPts[3], paint); in onDrawContent()
649 canvas->drawLine(prev[i], prev[i+1], paint); in showFrame()
673 canvas->drawLine(fPts[0], fPts[3], paint); in showFlattness()
674 canvas->drawLine(fQuad[0], fQuad[2], paint); in showFlattness()
680 canvas->drawLine(pts[0], pts[1], paint); in showFlattness()
693 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
694 canvas->drawLine(anchor, anchor + v0, paint); in showFlattness()
697 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
699 canvas->drawLine(anchor, anchor + v1, paint); in showFlattness()
DSampleRepeatTile.cpp28 canvas.drawLine(x, 0, x, SkIntToScalar(H - 1), paint); in make_bitmap()
31 canvas.drawLine(0, 0, SkIntToScalar(W), 0, paint); in make_bitmap()
DSampleFatBits.cpp120 void drawLine(SkCanvas*, SkPoint pts[2]);
182 canvas->drawLine(0, y - SK_ScalarHalf, 999, y - SK_ScalarHalf, paint); in copyMinToMax()
186 canvas->drawLine(x - SK_ScalarHalf, 0, x - SK_ScalarHalf, 999, paint); in copyMinToMax()
258 void FatBits::drawLine(SkCanvas* canvas, SkPoint pts[]) { in drawLine() function in FatBits
276 fMinSurface->getCanvas()->drawLine(pts[0], pts[1], paint); in drawLine()
459 fFB.drawLine(canvas, fPts); in onDrawContent()
/external/skqp/samplecode/
DSampleArc.cpp100 canvas->drawLine(r.fLeft, r.fTop, r.fRight, r.fBottom, p); in DrawRectWithLines()
101 canvas->drawLine(r.fLeft, r.fBottom, r.fRight, r.fTop, p); in DrawRectWithLines()
102 canvas->drawLine(r.fLeft, r.centerY(), r.fRight, r.centerY(), p); in DrawRectWithLines()
103 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p); in DrawRectWithLines()
DSampleFilterQuality.cpp78 canvas->drawLine(0, y, SkIntToScalar(orig->width()), y, paint); in zoom_up()
82 canvas->drawLine(x, 0, x, SkIntToScalar(orig->height()), paint); in zoom_up()
136 canvas->drawLine(r.left(), r.top(), r.right(), r.bottom(), p); in draw_box_frame()
137 canvas->drawLine(r.left(), r.bottom(), r.right(), r.top(), p); in draw_box_frame()
248 canvas->drawLine(r.left(), r.centerY(), r.right(), r.centerY(), p); in drawBorders()
249 canvas->drawLine(r.centerX(), r.top(), r.centerX(), r.bottom(), p); in drawBorders()
DSamplePath.cpp520 canvas->drawLine(loc - tan, loc + tan, paint); in onDrawContent()
523 canvas->drawLine(fPts[0], fPts[3], paint); in onDrawContent()
649 canvas->drawLine(prev[i], prev[i+1], paint); in showFrame()
673 canvas->drawLine(fPts[0], fPts[3], paint); in showFlattness()
674 canvas->drawLine(fQuad[0], fQuad[2], paint); in showFlattness()
680 canvas->drawLine(pts[0], pts[1], paint); in showFlattness()
693 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
694 canvas->drawLine(anchor, anchor + v0, paint); in showFlattness()
697 canvas->drawLine(anchor, anchor + v, paint2); in showFlattness()
699 canvas->drawLine(anchor, anchor + v1, paint); in showFlattness()
DSampleRepeatTile.cpp28 canvas.drawLine(x, 0, x, SkIntToScalar(H - 1), paint); in make_bitmap()
31 canvas.drawLine(0, 0, SkIntToScalar(W), 0, paint); in make_bitmap()
DSampleFatBits.cpp120 void drawLine(SkCanvas*, SkPoint pts[2]);
182 canvas->drawLine(0, y - SK_ScalarHalf, 999, y - SK_ScalarHalf, paint); in copyMinToMax()
186 canvas->drawLine(x - SK_ScalarHalf, 0, x - SK_ScalarHalf, 999, paint); in copyMinToMax()
258 void FatBits::drawLine(SkCanvas* canvas, SkPoint pts[]) { in drawLine() function in FatBits
276 fMinSurface->getCanvas()->drawLine(pts[0], pts[1], paint); in drawLine()
459 fFB.drawLine(canvas, fPts); in onDrawContent()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DCaptureActivity.java237 drawLine(canvas, paint, points[0], points[1]); in drawResultPoints()
241 drawLine(canvas, paint, points[0], points[1]); in drawResultPoints()
242 drawLine(canvas, paint, points[2], points[3]); in drawResultPoints()
252 private static void drawLine(Canvas canvas, Paint paint, ResultPoint a, ResultPoint b) { in drawLine() method in CaptureActivity
253 canvas.drawLine(a.getX(), a.getY(), b.getX(), b.getY(), paint); in drawLine()
/external/skia/bench/
DPictureNestingBench.cpp59 c->drawLine(0.5, 0, 0, 1, paint); in sierpinsky()
60 c->drawLine(0.5, 0, 1, 1, paint); in sierpinsky()
61 c->drawLine(0, 1, 1, 1, paint); in sierpinsky()
/external/skqp/bench/
DPictureNestingBench.cpp59 c->drawLine(0.5, 0, 0, 1, paint); in sierpinsky()
60 c->drawLine(0.5, 0, 1, 1, paint); in sierpinsky()
61 c->drawLine(0, 1, 1, 1, paint); in sierpinsky()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYGraphWidget.java456 canvas.drawLine(xPix, gridRect.top, xPix, gridRect.bottom in drawDomainTick()
459 canvas.drawLine(xPix, gridRect.top - domainLabelTickExtension, xPix, in drawDomainTick()
478 canvas.drawLine(xPix, gridRect.top, xPix, gridRect.bottom, in drawDomainTick()
489 canvas.drawLine(gridRect.left - rangeLabelTickExtension, yPix, in drawRangeTick()
492 canvas.drawLine(gridRect.left, yPix, in drawRangeTick()
509 canvas.drawLine(gridRect.left, yPix, gridRect.right, yPix, in drawRangeTick()
713 canvas.drawLine(paddedGridRect.left, yPix, in drawMarkers()
739 canvas.drawLine(xPix, paddedGridRect.top, xPix, in drawMarkers()
764 canvas.drawLine(domainCursorPosition, paddedGridRect.top, in drawCursors()
775 canvas.drawLine(paddedGridRect.left, rangeCursorPosition, in drawCursors()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayBorderPanel.java400 g.drawLine(i, i, width - i - 2, i); in paint()
401 g.drawLine(i, i + 1, i, height - i - 1); in paint()
405 g.drawLine(i + 1, height - i - 1, width - i - 1, height - i - 1); in paint()
406 g.drawLine(width - i - 1, i, width - i - 1, height - i - 2); in paint()

12345678