Searched defs:circle (Results 1 - 9 of 9) sorted by relevance

/external/skia/samplecode/
H A DSampleCircle.cpp16 // reconstruct the edges of the circle.
47 void circle(SkCanvas* canvas, int width, bool aa) { function in class:CircleView
66 circle(canvas, width, false);
68 circle(canvas, width, true);
H A DSampleClipDrawMatch.cpp56 SkRRect circle; local
57 circle.setOval(create_rect(offset));
58 return circle;
/external/clang/test/Analysis/
H A Darray-struct-region.c62 struct circle { struct point o; int r; }; struct
63 struct circle get_circle() {
64 struct circle result;
71 struct circle c;
/external/skia/gm/
H A Dhairlines.cpp147 SkRect circle = SkRect::MakeLTRB(-kRad, -kRad, kRad, kRad); variable
148 bug->addArc(circle, kStartAngle, kSweepAngle);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dbezier.c400 thing by a semi circle */
450 float circle[3][2]; local
492 circle[0][0] = b->x1 + normals[0][0]*offset;
493 circle[0][1] = b->y1 + normals[0][1]*offset;
495 circle[1][0] = 0.5*(b->x1 + b->x4) + normals[1][0]*offset;
496 circle[1][1] = 0.5*(b->y1 + b->y4) + normals[1][1]*offset;
498 circle[2][0] = b->x4 + normals[2][0]*offset;
499 circle[2][1] = b->y4 + normals[2][1]*offset;
504 o->x1 = circle[i][0];
505 o->y1 = circle[
[all...]
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp79 // construct circle from quads
80 const SkDQuad circle[8] = {{{{ r, 0}, { r, -s}, { m, -m}}}, local
89 double t = testArc(reporter, quad, circle[octant], octant);
H A DPathTest.cpp1285 path.addCircle(0, 0, SkIntToScalar(10)); // 2nd circle
1459 // kBaseRect is used to construct most our test paths: a rect, a circle, and a round-rect.
1462 // A circle that bounds kBaseRect (with a significant amount of slop)
2836 // TODO: a rotated circle whose rotated angle is not a multiple of 90
2902 // circle at origin
2909 // circle at an offset at (10, 10)
2924 SkPath circle; local
2931 circle.addCircle(0, 0, SkIntToScalar(10), kCircleDir);
2939 // the path a circle, most mark it as a non-circle fo
[all...]
/external/skia/src/gpu/
H A DGrOvalRenderer.cpp62 * The output of this effect is a modulation of the input color and coverage for a circle. It
63 * operates in a space normalized by the circle radius (outer radius in the case of a stroke)
64 * with origin at the circle center. Two vertex attributes are used:
416 * implict equation used is for a unit circle (x^2 + y^2 - 1 = 0) and the edge corrected by
808 const SkRect& circle,
810 SkPoint center = SkPoint::Make(circle.centerX(), circle.centerY());
812 SkScalar radius = viewMatrix.mapRadius(SkScalarHalf(circle.width()));
839 // and the outset ensures the box will cover all partially covered by the circle.
860 const SkRect& circle,
805 create_circle_batch(GrColor color, const SkMatrix& viewMatrix, bool useCoverageAA, const SkRect& circle, const SkStrokeRec& stroke) argument
855 drawCircle(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, GrColor color, const SkMatrix& viewMatrix, bool useCoverageAA, const SkRect& circle, const SkStrokeRec& stroke) argument
2063 SkRect circle = GrTest::TestSquare(random); local
[all...]
/external/robolectric/lib/main/
H A Djson-20080701.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/json/ org/json/CDL.class CDL. ...

Completed in 550 milliseconds