Searched refs:oval (Results 1 - 25 of 74) sorted by relevance

123

/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
[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 DOverStroke.cpp77 SkRect oval = SkRect::MakeXYWH(0, -25, 100, 50); local
80 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/skia/src/gpu/ops/
H A DGrOvalOpFactory.h29 const SkRect& oval,
41 const SkRect& oval,
/external/skia/samplecode/
H A DSamplePathEffects.cpp115 SkRect oval; variable
116 oval.set(SkIntToScalar(20), SkIntToScalar(30),
118 oval.offset(x, 0);
119 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
H A DSamplePathFuzz.cpp335 SkRect oval = makeRect(); local
336 rrect.setOval(oval);
376 SkRect oval = makeRect(); local
379 path.addArc(oval, startAngle, sweepAngle);
526 SkRect oval = makeRect(); local
530 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo);
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/fio/
H A Doptions.c1338 .oval = FILE_LOCK_NONE,
1342 .oval = FILE_LOCK_EXCLUSIVE,
1347 .oval = FILE_LOCK_READWRITE,
1376 .oval = TD_DDIR_READ,
1380 .oval = TD_DDIR_WRITE,
1384 .oval = TD_DDIR_TRIM,
1388 .oval = TD_DDIR_RANDREAD,
1392 .oval = TD_DDIR_RANDWRITE,
1396 .oval = TD_DDIR_RANDTRIM,
1400 .oval
[all...]
H A Dparse.h29 unsigned int oval; /* output value */ member in struct:value_pair
/external/skia/include/core/
H A DSkRRect.h65 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
70 //!< are equal but it is not an oval (i.e., there are lines between
76 //!< neither an rect, oval, nor a simple RR. It is called "nine patch"
159 static SkRRect MakeOval(const SkRect& oval) { argument
161 rr.setOval(oval);
172 * Set this RR to match the supplied oval. All x radii will equal half the
175 void setOval(const SkRect& oval) { argument
176 fRect = oval;
H A DSkPath.h174 /** Returns true if the path is an oval.
176 * @param rect returns the bounding rect of this oval. It's a circle
178 * @param dir is the oval CCW (or CW if false).
179 * @param start indicates where the contour starts on the oval (see
181 * @return true if this path is an oval.
182 * Tracking whether a path is an oval is considered an
546 * @param oval The bounding oval defining the shape and size of the arc
551 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
727 * Add a closed oval contou
[all...]
/external/skia/src/gpu/effects/
H A DGrOvalEffect.cpp389 sk_sp<GrFragmentProcessor> GrOvalEffect::Make(GrPrimitiveEdgeType edgeType, const SkRect& oval) { argument
393 SkScalar w = oval.width();
394 SkScalar h = oval.height();
397 return CircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), w);
401 return EllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), w, h);
/external/skia/src/core/
H A DSkLiteRecorder.cpp72 void SkLiteRecorder::onDrawOval(const SkRect& oval, const SkPaint& paint) { argument
73 fDL->drawOval(oval, paint);
75 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
77 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint);
H A DSkPathPriv.h99 static void CreateDrawArcPath(SkPath* path, const SkRect& oval, SkScalar startAngle,
H A DSkPath.cpp932 OvalPointIterator(const SkRect& oval, SkPath::Direction dir, unsigned startIndex) argument
935 const SkScalar cx = oval.centerX();
936 const SkScalar cy = oval.centerY();
938 fPts[0] = SkPoint::Make(cx, oval.fTop);
939 fPts[1] = SkPoint::Make(oval.fRight, cy);
940 fPts[2] = SkPoint::Make(cx, oval.fBottom);
941 fPts[3] = SkPoint::Make(oval.fLeft, cy);
1033 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
1037 // treated as a special case the moves can distort the oval's
1039 pt->set(oval
1089 build_arc_conics(const SkRect& oval, const SkVector& start, const SkVector& stop, SkRotationDirection dir, SkConic conics[SkConic::kMaxConicsForArc], SkPoint* singlePt) argument
1223 addOval(const SkRect& oval, Direction dir) argument
1228 addOval(const SkRect &oval, Direction dir, unsigned startPointIndex) argument
1275 arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo) argument
1439 addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) argument
3363 CreateDrawArcPath(SkPath* path, const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect) argument
[all...]
H A DSkLiteDL.cpp203 DrawOval(const SkRect& oval, const SkPaint& paint) : oval(oval), paint(paint) {} argument
204 SkRect oval; member in struct:__anon16967::final
206 void draw(SkCanvas* c, const SkMatrix&) { c->drawOval(oval, paint); }
210 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, argument
212 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter)
214 SkRect oval; member in struct:__anon16967::final
219 void draw(SkCanvas* c, const SkMatrix&) { c->drawArc(oval, startAngl
[all...]
H A DSkBitmapDevice.h76 void drawOval(const SkRect& oval, const SkPaint& paint) override;
83 * path on the stack to hold the representation of the oval.
/external/skia/src/svg/
H A DSkSVGDevice.h25 void drawOval(const SkRect& oval, const SkPaint& paint) override;
H A DSkSVGDevice.cpp644 void SkSVGDevice::drawOval(const SkRect& oval, const SkPaint& paint) { argument
646 ellipse.addAttribute("cx", oval.centerX());
647 ellipse.addAttribute("cy", oval.centerY());
648 ellipse.addAttribute("rx", oval.width() / 2);
649 ellipse.addAttribute("ry", oval.height() / 2);
/external/skia/tools/lua/
H A Dclassify_rrect_clips.lua58 elseif (rrect:type() == "oval") then
63 return "oval"
/external/curl/src/
H A Dtool_setopt.c539 curl_off_t oval = va_arg(arg, curl_off_t); local
541 "(curl_off_t)%" CURL_FORMAT_CURL_OFF_T, oval);
543 ret = curl_easy_setopt(curl, tag, oval);
545 if(!oval)
/external/skia/src/gpu/
H A DSkGpuDevice.h77 void drawOval(const SkRect& oval, const SkPaint& paint) override;
78 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,

Completed in 459 milliseconds

123