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

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGEllipse.cpp82 SVGCircleElement& circle = toSVGCircleElement(*element()); local
84 SVGLengthContext lengthContext(&circle);
85 float radius = circle.r()->currentValue()->value(lengthContext);
87 m_center = FloatPoint(circle.cx()->currentValue()->value(lengthContext), circle.cy()->currentValue()->value(lengthContext));
H A DSVGPathData.cpp41 SVGCircleElement* circle = toSVGCircleElement(element); local
44 float r = circle->r()->currentValue()->value(lengthContext);
46 path.addEllipse(FloatRect(circle->cx()->currentValue()->value(lengthContext) - r, circle->cy()->currentValue()->value(lengthContext) - r, r * 2, r * 2));
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DBasicShapeFunctions.cpp75 const BasicShapeCircle* circle = toBasicShapeCircle(basicShape); local
78 circleValue->setCenterX(valueForCenterCoordinate(pool, style, circle->centerX(), HORIZONTAL));
79 circleValue->setCenterY(valueForCenterCoordinate(pool, style, circle->centerY(), VERTICAL));
80 circleValue->setRadius(basicShapeRadiusToCSSValue(pool, style, circle->radius()));
213 RefPtr<BasicShapeCircle> circle = BasicShapeCircle::create(); local
215 circle->setCenterX(convertToCenterCoordinate(state, circleValue->centerX()));
216 circle->setCenterY(convertToCenterCoordinate(state, circleValue->centerY()));
217 circle->setRadius(cssValueToBasicShapeRadius(state, circleValue->radius()));
219 basicShape = circle.release();
/external/chromium_org/third_party/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);
/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);
/external/chromium_org/third_party/skia/gm/
H A Dhairlines.cpp150 SkRect circle = SkRect::MakeLTRB(-kRad, -kRad, kRad, kRad); variable
151 bug->addArc(circle, kStartAngle, kSweepAngle);
/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.cpp150 SkRect circle = SkRect::MakeLTRB(-kRad, -kRad, kRad, kRad); variable
151 bug->addArc(circle, kStartAngle, kSweepAngle);
/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_web_theme_engine.cc190 void circle(SkCanvas* canvas, SkIRect irect, SkScalar radius, SkColor color) { function in namespace:content
500 circle(canvas, irect, SkIntToScalar(halfHeight), bgColors(state));
501 circle(canvas, irect, SkIntToScalar(halfHeight - checkIndent), edgeColor);
503 circle(canvas, irect, SkIntToScalar(halfHeight), bgColors(state));
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DShape.cpp110 const BasicShapeCircle* circle = toBasicShapeCircle(basicShape); local
111 FloatPoint center = floatPointForCenterCoordinate(circle->centerX(), circle->centerY(), FloatSize(boxWidth, boxHeight));
112 float radius = circle->floatValueForRadiusInBox(FloatSize(boxWidth, boxHeight));
/external/chromium_org/third_party/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.cpp1251 path.addCircle(0, 0, SkIntToScalar(10)); // 2nd circle
1352 // kBaseRect is used to construct most our test paths: a rect, a circle, and a round-rect.
1355 // A circle that bounds kBaseRect (with a significant amount of slop)
2719 // TODO: a rotated circle whose rotated angle is not a multiple of 90
2785 // circle at origin
2792 // circle at an offset at (10, 10)
2807 SkPath circle; local
2814 circle.addCircle(0, 0, SkIntToScalar(10), kCircleDir);
2822 // the path a circle, most mark it as a non-circle fo
[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.cpp1213 path.addCircle(0, 0, SkIntToScalar(10)); // 2nd circle
1314 // kBaseRect is used to construct most our test paths: a rect, a circle, and a round-rect.
1317 // A circle that bounds kBaseRect (with a significant amount of slop)
2654 // TODO: a rotated circle whose rotated angle is not a multiple of 90
2720 // circle at origin
2727 // circle at an offset at (10, 10)
2742 SkPath circle; local
2749 circle.addCircle(0, 0, SkIntToScalar(10), kCircleDir);
2757 // the path a circle, most mark it as a non-circle fo
[all...]
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/skia/src/gpu/
H A DGrOvalRenderer.cpp59 * The output of this effect is a modulation of the input color and coverage for a circle,
317 * implict equation used is for a unit circle (x^2 + y^2 - 1 = 0) and the edge corrected by
527 const SkRect& circle,
533 SkPoint center = SkPoint::Make(circle.centerX(), circle.centerY());
535 SkScalar radius = vm.mapRadius(SkScalarHalf(circle.width()));
581 // pixels partially covered by the circle.
1027 // The way the effect interpolates the offset-to-ellipse/circle-center attribute only works on
1049 // if the corners are circles, use the circle renderer
1086 // pixels partially covered by the circle
525 drawCircle(GrDrawTarget* target, bool useCoverageAA, const SkRect& circle, const SkStrokeRec& stroke) argument
[all...]
/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/src/gpu/
H A DGrOvalRenderer.cpp58 * The output of this effect is a modulation of the input color and coverage for a circle,
299 * implict equation used is for a unit circle (x^2 + y^2 - 1 = 0) and the edge corrected by
496 const SkRect& circle,
502 SkPoint center = SkPoint::Make(circle.centerX(), circle.centerY());
504 SkScalar radius = vm.mapRadius(SkScalarHalf(circle.width()));
551 // pixels partially covered by the circle.
1001 // The way the effect interpolates the offset-to-ellipse/circle-center attribute only works on
1023 // if the corners are circles, use the circle renderer
1061 // pixels partially covered by the circle
494 drawCircle(GrDrawTarget* target, bool useCoverageAA, const SkRect& circle, const SkStrokeRec& stroke) argument
[all...]
/external/pixman/pixman/
H A Dpixman-private.h48 typedef struct circle circle_t;
146 struct circle struct
/external/robolectric/lib/main/
H A Djson-20080701.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/json/ org/json/CDL.class CDL. ...

Completed in 499 milliseconds