Home | History | Annotate | Download | only in effects

Lines Matching refs:rrect

56                                           const SkRRect& rrect) const SK_OVERRIDE;
200 static bool draw_rrect_into_mask(const SkRRect rrect, SkMask* mask) {
201 if (!prepare_to_draw_into_mask(rrect.rect(), mask)) {
216 canvas.drawRRect(rrect, paint);
264 SkBlurMaskFilterImpl::filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix,
268 switch (rrect.getType()) {
301 if (rect_exceeds(rrect.rect(), SkIntToScalar(32767))) {
307 rrect.rect().roundOut(&srcM.fBounds);
316 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin,
331 const SkVector& UL = rrect.radii(SkRRect::kUpperLeft_Corner);
332 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner);
333 const SkVector& LR = rrect.radii(SkRRect::kLowerRight_Corner);
334 const SkVector& LL = rrect.radii(SkRRect::kLowerLeft_Corner);
344 if (totalSmallWidth >= rrect.rect().width()) {
353 if (totalSmallHeight >= rrect.rect().height()) {
848 GrEffectRef* GrRRectBlurEffect::Create(GrContext* context, float sigma, const SkRRect& rrect) {
849 if (!rrect.isSimpleCircular()) {
853 // Make sure we can successfully ninepatch this rrect -- the blur sigma has to be
855 // width (and height) of the rrect.
858 unsigned int cornerRadius = SkScalarCeilToInt(rrect.getSimpleRadii().x());
859 if (cornerRadius + blurRadius > rrect.width()/2 ||
860 cornerRadius + blurRadius > rrect.height()/2) {
918 (sigma, rrect, blurNinePatchTexture))));
929 GrRRectBlurEffect::GrRRectBlurEffect(float sigma, const SkRRect& rrect, GrTexture *ninePatchTexture)
930 : fRRect(rrect),
954 SkRRect rrect;
955 rrect.setRectXY(SkRect::MakeWH(w, h), r, r);
956 return GrRRectBlurEffect::Create(context, sigma, rrect);
1045 SkRRect rrect = brre.getRRect();
1050 SkRect rect = rrect.getBounds();
1055 SkASSERT(rrect.isSimpleCircular() || rrect.isRect());
1056 radius = rrect.getSimpleRadii().fX;
1064 const SkRRect& rrect) const {
1073 SkRect proxy_rect = rrect.rect();
1080 context, xformedSigma, rrect));