Lines Matching defs:bounds
346 static void make0(SkPath* path, const SkRect& bounds, SkString* title) {
347 path->addRect(bounds, SkPathDirection::kCW);
348 path->addRect(inset(bounds), SkPathDirection::kCW);
352 static void make1(SkPath* path, const SkRect& bounds, SkString* title) {
353 path->addRect(bounds, SkPathDirection::kCW);
354 path->addRect(inset(bounds), SkPathDirection::kCCW);
358 static void make2(SkPath* path, const SkRect& bounds, SkString* title) {
359 path->addOval(bounds, SkPathDirection::kCW);
360 path->addOval(inset(bounds), SkPathDirection::kCW);
364 static void make3(SkPath* path, const SkRect& bounds, SkString* title) {
365 path->addOval(bounds, SkPathDirection::kCW);
366 path->addOval(inset(bounds), SkPathDirection::kCCW);
370 static void make4(SkPath* path, const SkRect& bounds, SkString* title) {
371 path->addRect(bounds, SkPathDirection::kCW);
372 SkRect r = bounds;
373 r.inset(bounds.width() / 10, -bounds.height() / 10);
378 static void make5(SkPath* path, const SkRect& bounds, SkString* title) {
379 path->addRect(bounds, SkPathDirection::kCW);
380 SkRect r = bounds;
381 r.inset(bounds.width() / 10, -bounds.height() / 10);
414 SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50));
415 SkScalar dx = bounds.width() * 4/3;
416 SkScalar dy = bounds.height() * 5;
421 procs[i](&orig, bounds, &str);
562 // try all combinations of stretching bounds