Lines Matching defs:dst
362 SkRRect dst;
363 dst.setEmpty();
365 const SkRRect copyOfDst = dst;
367 bool success = orig.transform(matrix, &dst);
370 // Since the transform failed, dst should be unchanged.
371 REPORTER_ASSERT(reporter, copyOfDst == dst);
374 REPORTER_ASSERT(reporter, orig != dst);
382 const SkVector& dstUL = dst.radii(SkRRect::kUpperLeft_Corner); \
383 const SkVector& dstUR = dst.radii(SkRRect::kUpperRight_Corner); \
384 const SkVector& dstLR = dst.radii(SkRRect::kLowerRight_Corner); \
385 const SkVector& dstLL = dst.radii(SkRRect::kLowerLeft_Corner)
389 SkRRect dst;
390 dst.setEmpty();
393 bool success = orig.transform(SkMatrix::I(), &dst);
395 REPORTER_ASSERT(reporter, orig == dst);
428 dst.setEmpty();
429 success = orig.transform(matrix, &dst);
433 orig.radii((SkRRect::Corner) i) == dst.radii((SkRRect::Corner) i));
435 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
436 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().height());
437 REPORTER_ASSERT(reporter, dst.rect().left() == orig.rect().left() + translateX);
438 REPORTER_ASSERT(reporter, dst.rect().top() == orig.rect().top() + translateY);
447 dst.setEmpty();
448 success = orig.transform(matrix, &dst);
459 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
460 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().height());
462 REPORTER_ASSERT(reporter, orig.rect().right() == -dst.rect().left());
464 REPORTER_ASSERT(reporter, orig.rect().top() == dst.rect().top());
473 dst.setEmpty();
474 success = orig.transform(matrix, &dst);
485 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
486 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().height());
488 REPORTER_ASSERT(reporter, orig.rect().top() == -dst.rect().bottom());
490 REPORTER_ASSERT(reporter, orig.rect().left() == dst.rect().left());
496 dst.setEmpty();
497 success = orig.transform(matrix, &dst);
507 REPORTER_ASSERT(reporter, orig.rect().width() == dst.rect().width());
508 REPORTER_ASSERT(reporter, orig.rect().height() == dst.rect().height());
509 REPORTER_ASSERT(reporter, orig.rect().top() == -dst.rect().bottom());
510 REPORTER_ASSERT(reporter, orig.rect().right() == -dst.rect().left());
518 dst.setEmpty();
519 success = orig.transform(matrix, &dst);
523 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.radii((SkRRect::Corner) i).fX,
525 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.radii((SkRRect::Corner) i).fY,
528 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().width(),
530 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().height(),
532 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().left(),
534 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(dst.rect().top(),