Searched refs:drawLine (Results 1 - 25 of 64) sorted by relevance

123

/external/skia/gm/
H A Dpixelsnap.cpp79 canvas->drawLine(0.5f,
84 canvas->drawLine(i * SkIntToScalar(kTrans) + 0.5f,
125 canvas->drawLine(1, 1, 4, 1, paint);
126 canvas->drawLine(6, 1, 6, 4, paint);
157 canvas->drawLine(3, 3, 0, 3, paint);
158 canvas->drawLine(3, 3, 3, 0, paint);
159 canvas->drawLine(4, 3, 7, 3, paint);
160 canvas->drawLine(4, 3, 4, 0, paint);
161 canvas->drawLine(3, 4, 0, 4, paint);
162 canvas->drawLine(
[all...]
H A Dverttext2.cpp48 canvas->drawLine(0, SkIntToScalar(10),
50 canvas->drawLine(0, SkIntToScalar(240),
52 canvas->drawLine(0, SkIntToScalar(470),
H A Dtechtalk1.cpp62 canvas->drawLine(r.fLeft, r.fTop, r.fRight, r.fBottom, paint);
65 static void drawLine(SkCanvas* canvas, const SkPoint& p0, const SkPoint& p1, function
67 canvas->drawLine(p0.fX, p0.fY, p1.fX, p1.fY, paint);
76 drawLine(canvas, pts[indices[i]], pts[indices[i+1]], paint);
77 drawLine(canvas, pts[indices[i+1]], pts[indices[i+2]], paint);
78 drawLine(canvas, pts[indices[i+2]], pts[indices[i]], paint);
119 canvas->drawLine(pts[i].fX, pts[i].fY, cx, cy, paint);
134 canvas->drawLine(50, 50, 400, 100, paint);
140 canvas->drawLine(100, 50, 450, 50, paint);
H A Dgiantbitmap.cpp46 canvas.drawLine(0, yy, SkIntToScalar(W), yy + SkIntToScalar(W),
54 canvas.drawLine(xx, 0, xx, SkIntToScalar(H),
H A Dsrcmode.cpp40 canvas->drawLine(0, 0, W, H, p);
46 canvas->drawLine(0, 0, W, H, p);
H A Dverttext.cpp66 canvas->drawLine(x, y,
H A Dpictureshader.cpp134 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3,
136 canvas->drawLine(fTileSize * 1 / 3, fTileSize / 2,
200 c->drawLine(20, 20, 80, 80, p);
/external/skia/debugger/QT/
H A DSkListWidget.cpp35 painter->drawLine(r.topLeft(),r.topRight());
36 painter->drawLine(r.topRight(),r.bottomRight());
37 painter->drawLine(r.bottomLeft(),r.bottomRight());
38 painter->drawLine(r.topLeft(),r.bottomLeft());
48 painter->drawLine(r.topLeft(),r.topRight());
49 painter->drawLine(r.topRight(),r.bottomRight());
50 painter->drawLine(r.bottomLeft(),r.bottomRight());
51 painter->drawLine(r.topLeft(),r.bottomLeft());
/external/skia/src/animator/
H A DSkDrawLine.cpp33 maker.fCanvas->drawLine(x1, y1, x2, y2, *maker.fPaint);
/external/skia/src/core/
H A DSkDrawable.cpp31 canvas->drawLine(r.left(), r.top(), r.right(), r.bottom(), paint);
32 canvas->drawLine(r.left(), r.bottom(), r.right(), r.top(), paint);
/external/skia/samplecode/
H A DSampleDash.cpp75 canvas->drawLine(x0, y0, x1, y0, paint);
82 canvas->drawLine(x0, y0, x1, y0, paint);
H A DSampleLines.cpp92 canvas->drawLine(x, y, x + SkIntToScalar(90), y + SkIntToScalar(90), paint);
96 canvas->drawLine(x, y, x + SkIntToScalar(90), y + SkIntToScalar(90), paint);
H A DSampleRepeatTile.cpp30 canvas.drawLine(x, 0, x, SkIntToScalar(H - 1), paint);
33 canvas.drawLine(0, 0, SkIntToScalar(W), 0, paint);
H A DSampleArc.cpp119 canvas->drawLine(r.fLeft, r.fTop, r.fRight, r.fBottom, p);
120 canvas->drawLine(r.fLeft, r.fBottom, r.fRight, r.fTop, p);
121 canvas->drawLine(r.fLeft, r.centerY(), r.fRight, r.centerY(), p);
122 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p);
H A DSampleFilterQuality.cpp68 canvas->drawLine(0, y, SkIntToScalar(orig->width()), y, paint);
72 canvas->drawLine(x, 0, x, SkIntToScalar(orig->height()), paint);
126 canvas->drawLine(r.left(), r.top(), r.right(), r.bottom(), p);
127 canvas->drawLine(r.left(), r.bottom(), r.right(), r.top(), p);
238 canvas->drawLine(r.left(), r.centerY(), r.right(), r.centerY(), p);
239 canvas->drawLine(r.centerX(), r.top(), r.centerX(), r.bottom(), p);
H A DSamplePolyToPoly.cpp103 canvas->drawLine(0, 0, D, D, *paint);
104 canvas->drawLine(0, D, D, 0, *paint);
H A DSampleFatBits.cpp101 void drawLine(SkCanvas*, SkPoint pts[2]);
173 canvas->drawLine(0, y - SK_ScalarHalf, 999, y - SK_ScalarHalf, paint);
177 canvas->drawLine(x - SK_ScalarHalf, 0, x - SK_ScalarHalf, 999, paint);
262 void FatBits::drawLine(SkCanvas* canvas, SkPoint pts[]) { function in class:FatBits
280 fMinSurface->getCanvas()->drawLine(pts[0].fX, pts[0].fY, pts[1].fX, pts[1].fY, paint);
457 fFB.drawLine(canvas, fPts);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DBarGraph.java154 gc.drawLine(center, y, center, yy + TGAP);
162 gc.drawLine(center - x, y, center - x, yy + TGAP);
163 gc.drawLine(center + x, y, center + x, yy + TGAP);
175 gc.drawLine(0, yy, w, yy);
244 gc.drawLine(pts[0], pts[1], pts[2], pts[3]);
245 gc.drawLine(pts[4], pts[5], pts[6], pts[7]);
265 gc.drawLine(x, labelvpos + e.y - 1, x + e.x, labelvpos + e.y - 1);
H A DLineGraph.java105 g.drawLine(left, top, left, bottom);
106 g.drawLine(left, bottom, right, bottom);
129 g.drawLine(lastx, lasty, xposition, yposition);
H A DTimeLineGraph.java70 g.drawLine(left, top, left, bottom);
71 g.drawLine(left, bottom, right, bottom);
102 g.drawLine(xposition, yposition,right,yposition);
103 g.drawLine(left,yposition,xposition, yposition);
107 g.drawLine(lastx, lasty, xposition, yposition);
/external/skia/bench/
H A DPictureNestingBench.cpp59 c->drawLine(0.5, 0, 0, 1, paint);
60 c->drawLine(0.5, 0, 1, 1, paint);
61 c->drawLine(0, 1, 1, 1, paint);
/external/skia/platform_tools/android/examples/hello_skia_app/jni/
H A Dhelloskia.cpp63 canvas->drawLine(sin(x * M_PI + offset) * 800.0f, 0, // first endpoint
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DCaptureActivity.java237 drawLine(canvas, paint, points[0], points[1]);
241 drawLine(canvas, paint, points[0], points[1]);
242 drawLine(canvas, paint, points[2], points[3]);
252 private static void drawLine(Canvas canvas, Paint paint, ResultPoint a, ResultPoint b) { method in class:CaptureActivity
253 canvas.drawLine(a.getX(), a.getY(), b.getX(), b.getY(), paint);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DXYGraphWidget.java456 canvas.drawLine(xPix, gridRect.top, xPix, gridRect.bottom
459 canvas.drawLine(xPix, gridRect.top - domainLabelTickExtension, xPix,
478 canvas.drawLine(xPix, gridRect.top, xPix, gridRect.bottom,
489 canvas.drawLine(gridRect.left - rangeLabelTickExtension, yPix,
492 canvas.drawLine(gridRect.left, yPix,
509 canvas.drawLine(gridRect.left, yPix, gridRect.right, yPix,
713 canvas.drawLine(paddedGridRect.left, yPix,
739 canvas.drawLine(xPix, paddedGridRect.top, xPix,
764 canvas.drawLine(domainCursorPosition, paddedGridRect.top,
775 canvas.drawLine(paddedGridRec
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java186 gc.drawLine(x, y, right, y);
187 gc.drawLine(x, y, x, bottom);
190 gc.drawLine(right, y, right, bottom);
191 gc.drawLine(x, bottom, right, bottom);

Completed in 457 milliseconds

123