Home
last modified time | relevance | path

Searched refs:oval (Results 1 – 25 of 172) sorted by relevance

1234567

/third_party/skia/docs/examples/
Dfivearcs.cpp13 SkRect oval = {8, 8, 56, 56}; in draw() local
15 canvas->drawOval(oval, ovalPaint); in draw()
17 arcPath.arcTo(oval, 0, 90, false); in draw()
21 canvas->drawOval(oval, ovalPaint); in draw()
22 canvas->drawArc(oval, 0, 90, false, arcPaint); in draw()
25 canvas->drawOval(oval, ovalPaint); in draw()
27 arcPath.addArc(oval, 0, 90); in draw()
31 canvas->drawOval(oval, ovalPaint); in draw()
38 canvas->drawOval(oval, ovalPaint); in draw()
DPath_conicTo_2.cpp10 SkRect oval = {0, 20, 120, 140}; in draw() local
13 path.moveTo(oval.centerX(), oval.fTop); in draw()
14 path.arcTo(oval, -90, 90 - 20 * i, false); in draw()
15 oval.inset(15, 15); in draw()
DArc.cpp8 SkRect oval = {8, 8, 56, 56};
20 canvas->drawOval(oval, ovalPaint);
25 path.arcTo(oval, 0, 90, false);
28 canvas->drawArc(oval, 0, 90, false, arcPaint);
31 path.addArc(oval, 0, 90);
Dshapes.cpp17 SkRRect oval; in draw() local
18 oval.setOval(rect); in draw()
19 oval.offset(40, 80); in draw()
21 canvas->drawRRect(oval, paint); in draw()
Dshapes_with_motion.cpp19 SkRRect oval; in draw() local
20 oval.setOval(rect); in draw()
21 oval.offset(40, p * 80); in draw()
23 canvas->drawRRect(oval, paint); in draw()
Dskcanvas_paint.cpp16 SkRRect oval; in draw() local
17 oval.setOval(rect); in draw()
18 oval.offset(40, 60); in draw()
20 canvas->drawRRect(oval, paint); in draw()
DPath_addOval.cpp8 SkPath oval; in draw() local
9 oval.addOval({20, 20, 160, 80}); in draw()
10 canvas->drawPath(oval, paint); in draw()
DCanvas_clipRRect.cpp11 SkRRect oval; in draw() local
12 oval.setOval({10, 20, 90, 100}); in draw()
13 canvas->clipRRect(oval, SkClipOp::kIntersect, true); in draw()
/third_party/flutter/skia/src/gpu/effects/
DGrOvalEffect.cpp14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, in Make() argument
19 SkScalar w = oval.width(); in Make()
20 SkScalar h = oval.height(); in Make()
23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), in Make()
28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), in Make()
/third_party/skia/src/gpu/effects/
DGrOvalEffect.cpp13 const SkRect& oval, const GrShaderCaps& caps) { in Make() argument
14 SkScalar w = oval.width(); in Make()
15 SkScalar h = oval.height(); in Make()
19 SkPoint::Make(oval.fLeft + w, oval.fTop + w), w); in Make()
24 SkPoint::Make(oval.fLeft + w, oval.fTop + h), in Make()
/third_party/flutter/skia/gm/
Dovals.cpp149 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); in onDraw() local
178 canvas->drawRect(oval, rectPaint); in onDraw()
179 canvas->drawOval(oval, fPaints[i]); in onDraw()
191 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); in onDraw() local
200 canvas->drawRect(oval, rectPaint); in onDraw()
201 canvas->drawOval(oval, fPaints[i]); in onDraw()
207 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); in onDraw() local
217 canvas->drawRect(oval, rectPaint); in onDraw()
218 canvas->drawOval(oval, fPaints[i]); in onDraw()
224 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); in onDraw() local
[all …]
Darcto.cpp74 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); variable
79 SkScalar ovalHeight = oval.height() / oHeight;
80 svgArc.moveTo(oval.fLeft, oval.fTop);
81 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kSmall_ArcSize,
82 SkPath::kCW_Direction, oval.right(), oval.bottom());
86 svgArc.moveTo(oval.fLeft + 100, oval.fTop + 100);
87 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kLarge_ArcSize,
88 SkPath::kCCW_Direction, oval.right(), oval.bottom() + 100);
90 oval.offset(50, 0);
207 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); variable
[all …]
Dtestgradient.cpp57 SkRRect oval; in onDraw() local
58 oval.setOval(rect); in onDraw()
59 oval.offset(40, 80); in onDraw()
61 canvas->drawRRect(oval, paint); in onDraw()
/third_party/skia/gm/
Darcto.cpp74 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); variable
79 SkScalar ovalHeight = oval.height() / oHeight;
80 svgArc.moveTo(oval.fLeft, oval.fTop);
81 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kSmall_ArcSize,
82 SkPathDirection::kCW, {oval.right(), oval.bottom()});
85 svgArc.moveTo(oval.fLeft + 100, oval.fTop + 100);
86 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kLarge_ArcSize,
87 SkPathDirection::kCCW, {oval.right(), oval.bottom() + 100});
89 oval.offset(50, 0);
204 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); variable
[all …]
Dovals.cpp191 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); in onDraw() local
200 canvas->drawRect(oval, rectPaint); in onDraw()
201 canvas->drawOval(oval, fPaints[i]); in onDraw()
207 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); in onDraw() local
217 canvas->drawRect(oval, rectPaint); in onDraw()
218 canvas->drawOval(oval, fPaints[i]); in onDraw()
224 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); in onDraw() local
233 canvas->drawOval(oval, fPaints[i]); in onDraw()
239 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); in onDraw() local
249 canvas->drawOval(oval, fPaints[i]); in onDraw()
[all …]
Dtestgradient.cpp57 SkRRect oval; in onDraw() local
58 oval.setOval(rect); in onDraw()
59 oval.offset(40, 80); in onDraw()
61 canvas->drawRRect(oval, paint); in onDraw()
/third_party/openssl/crypto/evp/
Devp_cnf.c24 CONF_VALUE *oval; in alg_module_init() local
32 oval = sk_CONF_VALUE_value(sktmp, i); in alg_module_init()
33 if (strcmp(oval->name, "fips_mode") == 0) { in alg_module_init()
35 if (!X509V3_get_value_bool(oval, &m)) { in alg_module_init()
45 ERR_add_error_data(4, "name=", oval->name, in alg_module_init()
46 ", value=", oval->value); in alg_module_init()
/third_party/skia/src/core/
DSkPathBuilder.cpp247 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument
253 pt->set(oval.fRight, oval.centerY()); in arc_is_lone_point()
255 } else if (0 == oval.width() && 0 == oval.height()) { in arc_is_lone_point()
262 pt->set(oval.fRight, oval.fTop); in arc_is_lone_point()
308 static int build_arc_conics(const SkRect& oval, const SkVector& start, const SkVector& stop, in build_arc_conics() argument
313 matrix.setScale(SkScalarHalf(oval.width()), SkScalarHalf(oval.height())); in build_arc_conics()
314 matrix.postTranslate(oval.centerX(), oval.centerY()); in build_arc_conics()
328 SkPathBuilder& SkPathBuilder::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument
330 if (oval.width() < 0 || oval.height() < 0) { in arcTo()
339 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo()
[all …]
DSkPathMakers.h53 SkPath_OvalPointIterator(const SkRect& oval, SkPathDirection dir, unsigned startIndex) in SkPath_OvalPointIterator() argument
56 const SkScalar cx = oval.centerX(); in SkPath_OvalPointIterator()
57 const SkScalar cy = oval.centerY(); in SkPath_OvalPointIterator()
59 fPts[0] = SkPoint::Make(cx, oval.fTop); in SkPath_OvalPointIterator()
60 fPts[1] = SkPoint::Make(oval.fRight, cy); in SkPath_OvalPointIterator()
61 fPts[2] = SkPoint::Make(cx, oval.fBottom); in SkPath_OvalPointIterator()
62 fPts[3] = SkPoint::Make(oval.fLeft, cy); in SkPath_OvalPointIterator()
/third_party/flutter/skia/docs/examples/
DPath_conicTo_2.cpp10 SkRect oval = {0, 20, 120, 140}; in draw() local
13 path.moveTo(oval.centerX(), oval.fTop); in draw()
14 path.arcTo(oval, -90, 90 - 20 * i, false); in draw()
15 oval.inset(15, 15); in draw()
DArc.cpp8 SkRect oval = {8, 8, 56, 56};
20 canvas->drawOval(oval, ovalPaint);
25 path.arcTo(oval, 0, 90, false);
28 canvas->drawArc(oval, 0, 90, false, arcPaint);
31 path.addArc(oval, 0, 90);
DPath_addOval.cpp8 SkPath oval; in draw() local
9 oval.addOval({20, 20, 160, 80}); in draw()
10 canvas->drawPath(oval, paint); in draw()
DCanvas_clipRRect.cpp11 SkRRect oval; in draw() local
12 oval.setOval({10, 20, 90, 100}); in draw()
13 canvas->clipRRect(oval, SkClipOp::kIntersect, true); in draw()
/third_party/gettext/gettext-tools/src/
Dcldr-plural.y135 struct cldr_plural_operand_ty *oval;
145 %destructor { free ($$); } <oval>
151 %token<oval> INTEGER DECIMAL
357 lval->oval = XMALLOC (struct cldr_plural_operand_ty);
370 lval->oval->type = CLDR_PLURAL_OPERAND_DECIMAL;
371 lval->oval->value.dval.d = dval;
372 lval->oval->value.dval.nfractions = nfractions;
377 lval->oval->type = CLDR_PLURAL_OPERAND_INTEGER;
378 lval->oval->value.ival = ival;
/third_party/openssl/crypto/asn1/
Dasn_moid.c28 CONF_VALUE *oval; in oid_module_init() local
36 oval = sk_CONF_VALUE_value(sktmp, i); in oid_module_init()
37 if (!do_create(oval->value, oval->name)) { in oid_module_init()

1234567