Home
last modified time | relevance | path

Searched refs:circle (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/gm/
H A Dcrbug_1086705.cpp15 // than the radius of the circle, there's the separate issue of what to do when stroke
30 SkPathBuilder circle; in DEF_SIMPLE_GM() local
31 circle.moveTo(circleVertices[0]); in DEF_SIMPLE_GM()
33 circle.lineTo(circleVertices[i]); in DEF_SIMPLE_GM()
35 circle.close(); in DEF_SIMPLE_GM()
37 canvas->drawPath(circle.detach(), paint); in DEF_SIMPLE_GM()
H A Dmanypaths.cpp60 SkRect circle = SkRect::MakeXYWH(x, y, w, w); variable
62 canvas->drawOval(circle, paint);
H A Ddashcircle.cpp57 SkPath circle = SkPath::Circle(0, 0, radius); variable
98 canvas->drawPath(circle, p);
H A Dhairlines.cpp126 SkRect circle = SkRect::MakeLTRB(-kRad, -kRad, kRad, kRad); variable
127 bug.addArc(circle, kStartAngle, kSweepAngle);
/third_party/python/Lib/turtledemo/
H A Dyinyang.py9 The small circles are drawn by the circle
20 circle(radius/2., 180)
21 circle(radius, 180)
23 circle(-radius/2., 180)
32 circle(radius*0.15)
H A Dlindenmayer.py88 circle(10,90)
95 circle(l, 270)
H A Dplanet_and_moon.py79 s.circle(6, 180)
83 s.circle(6,180)
95 sun = Star(1000000, Vec(0,0), Vec(0,-2.5), gs, "circle")
H A Dpeace.py40 circle(170)
/third_party/skia/tests/
H A DTracingTest.cpp157 TracingCircle* circle = new TracingCircle(SkPoint::Make(20, 20), 15); in test_trace_objects() local
158 circle->traceSnapshot(); in test_trace_objects()
167 circle->fCenter.offset(10, 10); in test_trace_objects()
168 circle->traceSnapshot(); in test_trace_objects()
174 TRACE_EVENT1("skia", "Processing Shape", "#shape", circle); in test_trace_objects()
178 delete circle; in test_trace_objects()
H A DPathOpsAngleIdeas.cpp79 // construct circle from quads in orderQuads()
80 const QuadPts circle[8] = {{{{ r, 0}, { r, -s}, { m, -m}}}, in orderQuads() local
90 cQuad.debugSet(circle[octant].fPts); in orderQuads()
H A DPathTest.cpp1562 path.addCircle(0, 0, SkIntToScalar(10)); // 2nd circle in test_convexity()
1790 // kBaseRect is used to construct most our test paths: a rect, a circle, and a round-rect. in test_conservativelyContains()
1793 // A circle that bounds kBaseRect (with a significant amount of slop) in test_conservativelyContains()
3356 // TODO: a rotated circle whose rotated angle is not a multiple of 90 in test_circle_rotate()
3421 // circle at origin in test_circle_with_direction()
3432 // circle at an offset at (10, 10) in test_circle_with_direction()
3460 SkPath circle; in test_circle_with_add_paths() local
3467 circle.addCircle(0, 0, SkIntToScalar(10), kCircleDir); in test_circle_with_add_paths()
3475 // the path a circle, most mark it as a non-circle fo in test_circle_with_add_paths()
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dobject-prototype-proto.js36 var circle = new Circle();
38 shape.__proto__ = circle;
40 assert(Object.getPrototypeOf(shape) === circle);
41 assert(shape.__proto__ === circle);
/third_party/skia/experimental/docs/
H A DexampleSlides.js1 var circle = {
80 { "line": [ 200,200, 200 + circle.radius * Math.cos(-22.5 * Math.PI / 180),
81 200 + circle.radius * Math.sin(-22.5 * Math.PI / 180) ] }
205 "string":"A sector is a wedge of a circle", "x":400, "y":200
456 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle",
460 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle",
/third_party/skia/src/gpu/ops/
H A DGrOvalOpFactory.cpp49 * The output of this effect is a modulation of the input color and coverage for a circle. It
50 * operates in a space normalized by the circle radius (outer radius in the case of a stroke)
51 * with origin at the circle center. Three vertex attributes are used:
63 * Round caps for stroking are allowed as well. The caps are specified as two circle center points
408 // circle.
478 // Clip the end of the next dash to the end of the circle
491 // Clip the start previous dash to the start of the circle
636 // For filled ellipses we can use a unit circle equation (x^2 + y^2 = 1), and warp
736 * implict equation used is for a unit circle (x^2 + y^2 - 1 = 0) and the edge corrected by
930 // We have two possible cases for geometry for a circle
[all...]
H A DShadowRRectOp.cpp27 // We have two possible cases for geometry for a circle:
29 // In the case of a normal fill, we draw geometry for the circle as an octagon.
427 // we also skew the vectors we send to the shader that help define the circle. in fillInRRectVerts()
428 // By doing so, we end up with a quarter circle in the corner rather than the in fillInRRectVerts()
437 // We want the circle edge to fall fractionally along the diagonal at in fillInRRectVerts()
772 SkRect circle = GrTest::TestSquare(random); in GR_DRAW_OP_TEST_DEFINE() local
773 SkRRect rrect = SkRRect::MakeOval(circle); in GR_DRAW_OP_TEST_DEFINE()
/third_party/skia/samplecode/
H A DSampleCircle.cpp15 // reconstruct the edges of the circle.
27 void circle(SkCanvas* canvas, int width, bool aa) { in circle() function in CircleView
46 circle(canvas, width, false); in drawSix()
48 circle(canvas, width, true); in drawSix()
/third_party/skia/src/gpu/
H A DGrFragmentProcessor.cpp685 // The circle uniform is (center.x, center.y, radius + 0.5, 1 / (radius + 0.5)) for regular
687 uniform float4 circle;
690 // TODO: Right now the distance to circle calculation is performed in a space normalized
695 d = half((length((circle.xy - sk_FragCoord.xy) * circle.w) - 1.0) * circle.z);
697 d = half((1.0 - length((circle.xy - sk_FragCoord.xy) * circle.w)) * circle.z);
715 SkV4 circle
[all...]
/third_party/skia/src/core/
H A DSkBlurMF.cpp626 // Applies the 1D half kernel vertically at points along the x axis to a circle centered at the
641 // In the column at x we exit the circle at +y and -y in apply_kernel_in_y()
658 // Apply a Gaussian at point (evalX, 0) to a circle centered at the origin with radius circleR.
684 // Since we applied a half kernel in y we multiply acc by 2 (the circle is symmetric about in eval_at()
689 // This function creates a profile of a blurred circle. It does this by computing a kernel for
691 // an array of vertical applications of the half kernel to the circle along the x axis. The
755 const SkRect& circle, in create_profile_effect()
759 float circleR = circle.width() / 2.0f; in create_profile_effect()
766 // Profile textures are cached by the ratio of sigma to circle radius and by the size of the in create_profile_effect()
770 // half-plane. Similarly, in the extreme high ratio cases circle become in create_profile_effect()
754 create_profile_effect(GrRecordingContext* rContext, const SkRect& circle, float sigma, float* solidRadius, float* textureRadius) create_profile_effect() argument
837 make_circle_blur(GrRecordingContext* context, const SkRect& circle, float sigma) make_circle_blur() argument
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/contrib/
H A Drender-a11y-string.min.js1 !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("katex"));else if("function"==typeof define&&define.amd)define(["katex"],r);else{var t="object"==typeof exports?r(require("katex")):r(e.katex);for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}("undefined"!=typeof self?self:this,function(e){return function(e){var r={};function t(a){if(r[a])return r[a].exports;var o=r[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(a,o,function(r){return e[r]}.bind(null,o));return a},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=1)}([function(r,t){r.exports=e},function(e,r,t){"use strict";t.r(r);var a=t(0),o=t.n(a),n={"(":"left parenthesis",")":"right parenthesis","[":"open bracket","]":"close bracket","\\{":"left brace","\\}":"right brace","\\lvert":"open vertical bar","\\rvert":"close vertical bar","|":"vertical bar","\\uparrow":"up arrow","\\Uparrow":"up arrow","\\downarrow":"down arrow","\\Downarrow":"down arrow","\\updownarrow":"up down arrow","\\leftarrow":"left arrow","\\Leftarrow":"left arrow","\\rightarrow":"right arrow","\\Rightarrow":"right arrow","\\langle":"open angle","\\rangle":"close angle","\\lfloor":"open floor","\\rfloor":"close floor","\\int":"integral","\\intop":"integral","\\lim":"limit","\\ln":"natural log","\\log":"log","\\sin":"sine","\\cos":"cosine","\\tan":"tangent","\\cot":"cotangent","\\sum":"sum","/":"slash",",":"comma",".":"point","-":"negative","+":"plus","~":"tilde",":":"colon","?":"question mark","'":"apostrophe","\\%":"percent"," ":"space","\\ ":"space","\\$":"dollar sign","\\angle":"angle","\\degree":"degree","\\circ":"circle","\\vec":"vector","\\triangle":"triangle","\\pi":"pi","\\prime":"prime","\\infty":"infinity","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\omega":"omega","\\theta":"theta","\\sigma":"sigma","\\lambda":"lambda","\\tau":"tau","\\Delta":"delta","\\delta":"delta","\\mu":"mu","\\rho":"rho","\\nabla":"del","\\ell":"ell","\\ldots":"dots","\\hat":"hat","\\acute":"acute"},s={prime:"prime",degree:"degrees",circle:"degrees",2:"squared",3:"cubed"},i={"|":"open vertical bar",".":""},l={"|":"close vertical bar",".":""},c={"+":"plus","-":"minus","\\pm":"plus minus","\\cdot":"dot","*":"times","/":"divided by","\\times":"times","\\div":"divided by","\\circ":"circle","\\bullet":"bullet"},u={"=":"equals","\\approx":"approximately equals","\u2260":"does not equal", (…)
/third_party/python/Lib/
H A Dturtle.py129 'circle', 'clear', 'clearstamp', 'clearstamps', 'clone', 'color',
976 "circle" : Shape("polygon", ((10,0), (9.51,3.09), (8.09,5.88),
1346 ['arrow', 'blank', 'circle', ... , 'turtle']
1572 of 'degrees' for a full circle. Default value is
1939 def circle(self, radius, extent = None, steps = None): member in TNavigator
1940 """ Draw a circle with given radius.
1947 Draw a circle with given radius. The center is radius units left
1949 circle is drawn. If extent is not given, draw the entire circle.
1950 If extent is not a full circle, on
[all...]
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex3165 % @registeredsymbol - R in a circle. The font for the R should really
6333 \font\circle=lcircle10
6337 \circthick=\fontdimen8\circle
6339 \def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth
6340 \def\ctr{{\hskip 6pt\circle\char'010}}
6341 \def\cbl{{\circle\char'012\hskip -6pt}}
6342 \def\cbr{{\hskip 6pt\circle\char'011}}
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 50 milliseconds