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

12

/external/avahi/avahi-compat-howl/samples/
H A Dbrowse.c52 sw_uint8 oval[SW_TEXT_RECORD_MAX_LEN]; local
65 while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
67 fprintf(stderr, "Txt: [%s]=[%s] - (%d bytes)\n", key, oval, oval_len);
H A Dresolve.c52 sw_uint8 oval[SW_TEXT_RECORD_MAX_LEN]; local
65 while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
/external/skia/gm/
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
[all...]
H A Ddashcircle.cpp34 SkRect oval = SkRect::MakeLTRB(-radius - 20, -radius - 20, radius + 20, radius + 20); local
55 refPath.arcTo(oval, angle, span, false);
H A Dovals.cpp141 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); variable
160 // position the oval, and make it at off-integer coords.
170 canvas->drawRect(oval, rectPaint);
171 canvas->drawOval(oval, fPaints[i]);
181 // non-scaled tall and skinny oval
183 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); variable
185 // position the oval, and make it at off-integer coords.
192 canvas->drawRect(oval, rectPaint);
193 canvas->drawOval(oval, fPaints[i]);
197 // non-scaled wide and short oval
199 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); variable
216 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); variable
231 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); variable
[all...]
H A Daddarc.cpp89 const SkRect oval = SkRect::MakeLTRB(-R, -R, R, R); variable
90 canvas->drawOval(oval, paint);
100 path.addArc(oval, 0, deg);
117 // Emphasize drawing a stroked oval (containing conics) and then scaling the results up,
/external/skia/samplecode/
H A DSamplePathEffects.cpp120 SkRect oval; variable
121 oval.set(SkIntToScalar(20), SkIntToScalar(30),
123 oval.offset(x, 0);
124 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
H A DSamplePathClip.cpp41 const SkRect oval = fOval.makeOffset(fCenter.fX - fOval.centerX(), variable
48 canvas->drawOval(oval, p);
58 canvas->drawOval(oval, p);
H A DSampleAll.cpp559 SkRect oval = { x, y - SkIntToScalar(40), x + SkIntToScalar(40), y }; local
561 canvas->drawOval(oval, paint);
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);
/external/skia/include/core/
H A DSkRRect.h62 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
67 //!< are equal but it is not an oval (i.e., there are lines between
73 //!< neither an rect, oval, nor a simple RR. It is called "nine patch"
150 static SkRRect MakeOval(const SkRect& oval) { argument
152 rr.setOval(oval);
163 * Set this RR to match the supplied oval. All x radii will equal half the
166 void setOval(const SkRect& oval) { argument
167 fRect = oval;
/external/skia/src/gpu/effects/
H A DGrOvalEffect.cpp394 GrFragmentProcessor* GrOvalEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& oval) { argument
398 SkScalar w = oval.width();
399 SkScalar h = oval.height();
402 return CircleEffect::Create(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), w);
406 return EllipseEffect::Create(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), w, h);
/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);
H A DRoundRectTest.cpp301 // Test out the cases when the RR degenerates to an oval
304 SkRect oval; local
310 oval = rr1.rect();
311 REPORTER_ASSERT(reporter, oval == rect);
696 // Test out the case where an oval already off in space is translated/scaled
/external/curl/src/
H A Dtool_setopt.c531 curl_off_t oval = va_arg(arg, curl_off_t); local
533 "(curl_off_t)%" CURL_FORMAT_CURL_OFF_T, oval);
535 ret = curl_easy_setopt(curl, tag, oval);
537 if(!oval)
/external/fio/
H A Dparse.h29 unsigned int oval; /* output value */ member in struct:value_pair
/external/skia/src/core/
H A DSkBitmapDevice.cpp216 void SkBitmapDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPaint& paint) { argument
220 path.addOval(oval);
H A DSkRecorder.cpp148 void SkRecorder::onDrawOval(const SkRect& oval, const SkPaint& paint) { argument
149 APPEND(DrawOval, paint, oval);
H A DSkPictureRecord.cpp410 void SkPictureRecord::onDrawOval(const SkRect& oval, const SkPaint& paint) { argument
412 size_t size = 2 * kUInt32Size + sizeof(oval);
415 this->addRect(oval);
/external/libpcap/
H A Dgencode.h267 int oval; member in struct:block
/external/mksh/src/
H A Dexpr.c314 mksh_uari_t oval; local
319 oval = vl->val.u;
332 vl->val.u = oval;
/external/skia/src/gpu/
H A DGrDrawContext.cpp523 const SkRect& oval,
530 if (oval.isEmpty()) {
545 oval,
556 path.addOval(oval);
520 drawOval(const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& oval, const GrStrokeInfo& strokeInfo) argument
H A DGrOvalRenderer.cpp584 const SkRect& oval,
588 if (SkScalarNearlyEqual(oval.width(), oval.height()) && circle_stays_circle(viewMatrix)) {
589 return CreateCircleBatch(color, viewMatrix, oval, stroke);
594 return CreateDIEllipseBatch(color, viewMatrix, oval, stroke);
599 return CreateEllipseBatch(color, viewMatrix, oval, stroke);
582 CreateOvalBatch(GrColor color, const SkMatrix& viewMatrix, const SkRect& oval, const SkStrokeRec& stroke, GrShaderCaps* shaderCaps) argument
H A DSkGpuDevice.cpp661 void SkGpuDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPaint& paint) { argument
667 // Presumably the path effect warps this to something other than an oval
671 path.addOval(oval);
678 SkRRect rr = SkRRect::MakeOval(oval);
690 fDrawContext->drawOval(fClip, grPaint, *draw.fMatrix, oval, strokeInfo);
/external/skia/tools/debugger/
H A DSkDebugCanvas.cpp422 void SkDebugCanvas::onDrawOval(const SkRect& oval, const SkPaint& paint) { argument
423 this->addDrawCommand(new SkDrawOvalCommand(oval, paint));

Completed in 587 milliseconds

12