Lines Matching defs:width
138 rr.inset(r.width()/2, r.height()/2, &rr2);
592 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
616 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
642 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
664 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
685 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().width(),
686 orig.rect().width() * xScale));
717 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().height());
718 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().width());
742 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().height());
743 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().width());
806 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().height());
807 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().width());
872 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().height());
873 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().width());
945 SkScalar halfWidth = SkScalarHalf(dst.width());
1033 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(inner.width() * inner.height(),
1036 float width = 20.f;
1038 r = SkRect::MakeWH(width, height);
1042 (width-2.f*radius) * (height-2.f*radius) + // inner area excluding corners and edges
1043 SK_ScalarSqrt2 * radius * (width-2.f*radius) + // two horiz. rects between corners
1047 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(inner.width() * inner.height(),
1053 SkRect::MakeLTRB(0.f, 0.1f * radius, width, height - 0.1f * radius));
1057 SkRect::MakeLTRB(0.1f * radius, 0.f, width - 0.1f * radius, height));