Searched defs:oval (Results 1 - 25 of 82) sorted by relevance

1234

/external/skia/gm/
H A Dtestgradient.cpp51 SkRRect oval; variable
52 oval.setOval(rect);
53 oval.offset(40, 80);
55 canvas->drawRRect(oval, paint);
H A Darcto.cpp54 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); local
59 SkScalar ovalHeight = oval.height() / oHeight;
60 svgArc.moveTo(oval.fLeft, oval.fTop);
61 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kSmall_ArcSize,
62 SkPath::kCW_Direction, oval.right(), oval.bottom());
66 svgArc.moveTo(oval.fLeft + 100, oval.fTop + 100);
67 svgArc.arcTo(oval
198 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); local
[all...]
H A Dovals.cpp142 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); variable
161 // position the oval, and make it at off-integer coords.
171 canvas->drawRect(oval, rectPaint);
172 canvas->drawOval(oval, fPaints[i]);
182 // non-scaled tall and skinny oval
184 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); variable
186 // position the oval, and make it at off-integer coords.
193 canvas->drawRect(oval, rectPaint);
194 canvas->drawOval(oval, fPaints[i]);
198 // non-scaled wide and short oval
200 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); variable
217 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); variable
232 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); variable
274 SkRect oval = SkRect::MakeLTRB(-30, -30, 30, 30); variable
[all...]
H A DOverStroke.cpp78 SkRect oval = SkRect::MakeXYWH(0, -25, 100, 50); local
81 path.arcTo(oval, 0, 359, true);
H A Daddarc.cpp90 const SkRect oval = SkRect::MakeLTRB(-R, -R, R, R); variable
91 canvas->drawOval(oval, paint);
101 path.addArc(oval, 0, deg);
118 // Emphasize drawing a stroked oval (containing conics) and then scaling the results up,
H A Ddashcircle.cpp45 SkRect oval = SkRect::MakeLTRB(-radius - 20, -radius - 20, radius + 20, radius + 20); variable
66 refPath.arcTo(oval, angle, span, false);
/external/skia/src/gpu/effects/
H A DGrOvalEffect.cpp14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, argument
19 SkScalar w = oval.width();
20 SkScalar h = oval.height();
23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w),
28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h),
/external/skqp/gm/
H A Dtestgradient.cpp51 SkRRect oval; variable
52 oval.setOval(rect);
53 oval.offset(40, 80);
55 canvas->drawRRect(oval, paint);
H A Darcto.cpp54 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); local
59 SkScalar ovalHeight = oval.height() / oHeight;
60 svgArc.moveTo(oval.fLeft, oval.fTop);
61 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kSmall_ArcSize,
62 SkPath::kCW_Direction, oval.right(), oval.bottom());
66 svgArc.moveTo(oval.fLeft + 100, oval.fTop + 100);
67 svgArc.arcTo(oval
198 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); local
[all...]
H A Ddashcircle.cpp45 SkRect oval = SkRect::MakeLTRB(-radius - 20, -radius - 20, radius + 20, radius + 20); variable
66 refPath.arcTo(oval, angle, span, false);
H A Dovals.cpp142 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); variable
161 // position the oval, and make it at off-integer coords.
171 canvas->drawRect(oval, rectPaint);
172 canvas->drawOval(oval, fPaints[i]);
182 // non-scaled tall and skinny oval
184 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); variable
186 // position the oval, and make it at off-integer coords.
193 canvas->drawRect(oval, rectPaint);
194 canvas->drawOval(oval, fPaints[i]);
198 // non-scaled wide and short oval
200 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); variable
217 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); variable
232 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); variable
274 SkRect oval = SkRect::MakeLTRB(-30, -30, 30, 30); variable
[all...]
H A DOverStroke.cpp78 SkRect oval = SkRect::MakeXYWH(0, -25, 100, 50); local
81 path.arcTo(oval, 0, 359, true);
H A Daddarc.cpp90 const SkRect oval = SkRect::MakeLTRB(-R, -R, R, R); variable
91 canvas->drawOval(oval, paint);
101 path.addArc(oval, 0, deg);
118 // Emphasize drawing a stroked oval (containing conics) and then scaling the results up,
/external/skqp/src/gpu/effects/
H A DGrOvalEffect.cpp14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, argument
19 SkScalar w = oval.width();
20 SkScalar h = oval.height();
23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w),
28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h),
/external/skia/samplecode/
H A DSamplePathEffects.cpp100 SkRect oval; variable
101 oval.set(SkIntToScalar(20), SkIntToScalar(30),
103 oval.offset(x, 0);
104 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
H A DSamplePathClip.cpp38 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), variable
45 canvas->drawOval(oval, p);
55 canvas->drawOval(oval, p);
/external/skqp/samplecode/
H A DSamplePathEffects.cpp100 SkRect oval; variable
101 oval.set(SkIntToScalar(20), SkIntToScalar(30),
103 oval.offset(x, 0);
104 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
H A DSamplePathClip.cpp38 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), variable
45 canvas->drawOval(oval, p);
55 canvas->drawOval(oval, p);
/external/curl/tests/libtest/
H A Dlib1521.c121 curl_off_t oval; local
2376 res = curl_easy_getinfo(curl, CURLINFO_SIZE_UPLOAD_T, &oval);
2382 res = curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD_T, &oval);
2388 res = curl_easy_getinfo(curl, CURLINFO_SPEED_DOWNLOAD_T, &oval);
2394 res = curl_easy_getinfo(curl, CURLINFO_SPEED_UPLOAD_T, &oval);
2412 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T, &oval);
2418 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_UPLOAD_T, &oval);
/external/skia/include/core/
H A DSkRRect.h69 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
74 //!< are equal but it is not an oval (i.e., there are lines between
80 //!< neither an rect, oval, nor a simple RR. It is called "nine patch"
151 static SkRRect MakeOval(const SkRect& oval) { argument
153 rr.setOval(oval);
164 * Set this RR to match the supplied oval. All x radii will equal half the
167 void setOval(const SkRect& oval) { argument
168 if (!this->initializeRect(oval)) {
/external/skia/src/core/
H A DSkPath_serial.cpp54 SkRect oval; local
58 if (fPathRef->isOval(&oval, &isCCW, &start)) {
59 rrect.setOval(oval);
/external/skia/tests/
H A DPathOpsBuilderConicTest.cpp24 static void testOvalSet(const OvalSet& set, const SkPath& oval, SkOpBuilder* builder, argument
34 oval.transform(matrix, &rotated);
56 SkPath oval, regionResult, builderResult, opResult; local
57 oval.setFillType(SkPath::kWinding_FillType);
58 oval.addOval(set.fBounds);
61 testOvalSet(set, oval, nullptr, &region, &regionResult);
62 testOvalSet(set, oval, &builder, nullptr, &builderResult);
63 testOvalSet(set, oval, nullptr, nullptr, &opResult);
/external/skqp/include/core/
H A DSkRRect.h69 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
74 //!< are equal but it is not an oval (i.e., there are lines between
80 //!< neither an rect, oval, nor a simple RR. It is called "nine patch"
152 static SkRRect MakeOval(const SkRect& oval) { argument
154 rr.setOval(oval);
165 * Set this RR to match the supplied oval. All x radii will equal half the
168 void setOval(const SkRect& oval) { argument
169 if (!this->initializeRect(oval)) {
/external/skqp/tests/
H A DPathOpsBuilderConicTest.cpp24 static void testOvalSet(const OvalSet& set, const SkPath& oval, SkOpBuilder* builder, argument
34 oval.transform(matrix, &rotated);
56 SkPath oval, regionResult, builderResult, opResult; local
57 oval.setFillType(SkPath::kWinding_FillType);
58 oval.addOval(set.fBounds);
61 testOvalSet(set, oval, nullptr, &region, &regionResult);
62 testOvalSet(set, oval, &builder, nullptr, &builderResult);
63 testOvalSet(set, oval, nullptr, nullptr, &opResult);
/external/curl/src/
H A Dtool_setopt.c668 curl_off_t oval = va_arg(arg, curl_off_t); local
670 "(curl_off_t)%" CURL_FORMAT_CURL_OFF_T, oval);
672 ret = curl_easy_setopt(curl, tag, oval);
674 if(!oval)

Completed in 456 milliseconds

1234