/external/skia/src/core/ |
H A D | SkMaskCache.cpp | 23 RRectBlurKey(SkScalar sigma, const SkRRect& rrect, SkBlurStyle style, SkBlurQuality quality) argument 27 , fRRect(rrect) 56 const char* getCategory() const override { return "rrect-blur"; } 78 const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) { 80 RRectBlurKey key(sigma, rrect, style, quality); 91 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, 93 RRectBlurKey key(sigma, rrect, style, quality); 77 FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) argument 90 Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, const SkMask& mask, SkCachedData* data, SkResourceCache* localCache) argument
|
H A D | SkPathPriv.h | 197 rrect receives bounds of SkRRect. 202 rrect, dir, and start are unmodified if SkRRect is not found. 206 @param rrect storage for bounding SkRect of SkRRect; may be nullptr 211 static bool IsRRect(const SkPath& path, SkRRect* rrect, SkPath::Direction* dir, argument 214 bool result = path.fPathRef->isRRect(rrect, &isCCW, start);
|
H A D | SkPath_serial.cpp | 55 SkRRect rrect; local 59 rrect.setOval(oval); 60 // Convert to rrect start indices. 62 } else if (!fPathRef->isRRect(&rrect, &isCCW, &start)) { 66 // packed header, rrect, start index. 80 rrect.writeToBuffer(&buffer); 168 SkRRect rrect; local 180 if (!rrect.readFromBuffer(&buffer)) { 187 this->addRRect(rrect, rrectDir, SkToUInt(start));
|
H A D | SkRasterClip.cpp | 81 void SkConservativeClip::opRRect(const SkRRect& rrect, const SkMatrix& ctm, argument 83 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); 243 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, argument 249 path.addRRect(rrect);
|
H A D | SkRasterClipStack.h | 107 void clipRRect(const SkMatrix& ctm, const SkRRect& rrect, SkClipOp op, bool aa) { argument 108 this->writable_rc().op(rrect, ctm, fRootBounds, (SkRegion::Op)op, aa);
|
H A D | SkReader32.h | 117 bool readRRect(SkRRect* rrect) { argument 118 return this->readObjectFromMemory(rrect);
|
H A D | SkThreadedBMPDevice.cpp | 140 void SkThreadedBMPDevice::drawRRect(const SkRRect& rrect, const SkPaint& paint) { argument 144 path.addRRect(rrect); 149 SkRect drawBounds = get_fast_bounds(rrect.getBounds(), paint); 151 TileDraw(ds, tileBounds).drawRRect(rrect, paint);
|
H A D | SkWriter32.h | 134 void writeRRect(const SkRRect& rrect) { argument 135 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory));
|
H A D | SkClipStack.h | 76 Element(const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { argument 77 this->initRRect(0, rrect, m, op, doAA); 157 * Conservatively checks whether the clip shape contains the rect/rrect. (Whether the shape 161 bool contains(const SkRRect& rrect) const; 226 Element(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { argument 227 this->initRRect(saveCount, rrect, m, op, doAA); 364 * intersection with a rrect given a bounds, where the rrect must not contain the entire bounds. 367 * equivalent to a intersection with a rrect for draws within the bounds. The 368 * returned rrect mus [all...] |
/external/skqp/gm/ |
H A D | animatedimageblurs.cpp | 57 SkRRect rrect = SkRRect::MakeRectXY(rect, fNodes[i].size(), fNodes[i].size()); variable 58 canvas->drawRRect(rrect, paint);
|
H A D | rrects.cpp | 42 SkString name("rrect"); 106 SkRRect rrect = fRRects[curRRect]; variable 107 rrect.offset(SkIntToScalar(x), SkIntToScalar(y)); 110 auto fp = GrRRectEffect::Make(edgeType, rrect, caps); 117 SkRect bounds = rrect.getBounds();
|
H A D | skbug_257.cpp | 100 SkRRect rrect; local 102 rrect.setRectRadii(rect, radii); 103 canvas->drawRRect(rrect, checker);
|
/external/skqp/src/core/ |
H A D | SkMaskCache.cpp | 23 RRectBlurKey(SkScalar sigma, const SkRRect& rrect, SkBlurStyle style, SkBlurQuality quality) argument 27 , fRRect(rrect) 56 const char* getCategory() const override { return "rrect-blur"; } 78 const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) { 80 RRectBlurKey key(sigma, rrect, style, quality); 91 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, 93 RRectBlurKey key(sigma, rrect, style, quality); 77 FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) argument 90 Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, const SkMask& mask, SkCachedData* data, SkResourceCache* localCache) argument
|
H A D | SkRasterClip.cpp | 81 void SkConservativeClip::opRRect(const SkRRect& rrect, const SkMatrix& ctm, argument 83 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); 243 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, argument 249 path.addRRect(rrect);
|
H A D | SkRasterClipStack.h | 107 void clipRRect(const SkMatrix& ctm, const SkRRect& rrect, SkClipOp op, bool aa) { argument 108 this->writable_rc().op(rrect, ctm, fRootBounds, (SkRegion::Op)op, aa);
|
H A D | SkReader32.h | 117 bool readRRect(SkRRect* rrect) { argument 118 return this->readObjectFromMemory(rrect);
|
H A D | SkThreadedBMPDevice.cpp | 132 void SkThreadedBMPDevice::drawRRect(const SkRRect& rrect, const SkPaint& paint) { argument 136 path.addRRect(rrect); 141 SkRect drawBounds = get_fast_bounds(rrect.getBounds(), paint); 143 TileDraw(ds, tileBounds).drawRRect(rrect, paint);
|
H A D | SkWriter32.h | 134 void writeRRect(const SkRRect& rrect) { argument 135 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory));
|
/external/skia/samplecode/ |
H A D | SampleClipDrawMatch.cpp | 52 SkRRect rrect; local 53 rrect.setRectXY(create_rect(offset), 10, 10); 54 return rrect;
|
H A D | SampleSVGPong.cpp | 216 void initialize(const SkRRect& rrect, const SkPoint& p, const SkVector& s) { argument 217 objectNode = sksg::RRect::Make(rrect); 218 shadowNode = sksg::RRect::Make(rrect); 222 size = SkSize::Make(rrect.width(), rrect.height());
|
/external/skia/src/gpu/effects/ |
H A D | GrRRectBlurEffect.cpp | 26 // Make sure we can successfully ninepatch this rrect -- the blur sigma has to be 28 // width (and height) of the rrect. 162 SkRRect rrect; local 163 rrect.setRectXY(SkRect::MakeWH(w, h), r, r); 164 return GrRRectBlurEffect::Make(d->context(), sigma, sigma, rrect, rrect);
|
/external/skqp/samplecode/ |
H A D | SampleClipDrawMatch.cpp | 52 SkRRect rrect; local 53 rrect.setRectXY(create_rect(offset), 10, 10); 54 return rrect;
|
/external/skqp/src/gpu/ |
H A D | GrShape.cpp | 472 SkRRect rrect; local 486 } else if (this->path().isRRect(&rrect, &rrectDir, &rrectStart)) { 488 fRRectData.fRRect = rrect; 498 // convert from oval indexing to rrect indexiing. 508 // convert from rect indexing to rrect indexiing. 569 // An empty filled rrect is equivalent to a filled empty path with inversion preserved. 575 // Dashing a rrect with no width or height is equivalent to filling an emtpy path. 592 // Turn a stroke-and-filled miter rect into a filled rect. TODO: more rrect stroke shortcuts. 671 SkRRect rrect; local 674 rrect [all...] |
/external/skqp/src/gpu/effects/ |
H A D | GrRRectBlurEffect.cpp | 25 // Make sure we can successfully ninepatch this rrect -- the blur sigma has to be 27 // width (and height) of the rrect. 160 SkRRect rrect; local 161 rrect.setRectXY(SkRect::MakeWH(w, h), r, r); 162 return GrRRectBlurEffect::Make(d->context(), sigma, sigma, rrect, rrect);
|
/external/skia/gm/ |
H A D | reveal.cpp | 117 // In this case we want the outline of the stroked rrect 430 const SkRRect rrect = SkRRect::MakeRectXY( variable 433 canvas->drawRRect(rrect, paint); 434 canvas->drawRRect(rrect, strokePaint);
|