Lines Matching refs:devPathBounds
542 SkIRect devPathBounds; in addDFPathToAtlas() local
543 scaledBounds.roundOut(&devPathBounds); in addDFPathToAtlas()
547 int width = devPathBounds.width() + 2*intPad; in addDFPathToAtlas()
548 int height = devPathBounds.height() + 2*intPad; in addDFPathToAtlas()
549 devPathBounds = SkIRect::MakeWH(width, height); in addDFPathToAtlas()
558 SkASSERT(devPathBounds.fLeft == 0); in addDFPathToAtlas()
559 SkASSERT(devPathBounds.fTop == 0); in addDFPathToAtlas()
560 SkASSERT(devPathBounds.width() > 0); in addDFPathToAtlas()
561 SkASSERT(devPathBounds.height() > 0); in addDFPathToAtlas()
564 SkIRect dfBounds = devPathBounds.makeOutset(SK_DistanceFieldPad, SK_DistanceFieldPad); in addDFPathToAtlas()
581 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), in addDFPathToAtlas()
582 devPathBounds.height()))) { in addDFPathToAtlas()
595 rasterClip.setRect(devPathBounds); in addDFPathToAtlas()
623 shapeData->fBounds = SkRect::Make(devPathBounds); in addDFPathToAtlas()
638 devPathBounds.width()) << 1 | uBit, in addDFPathToAtlas()
640 devPathBounds.height()) << 1 | vBit); in addDFPathToAtlas()
670 SkIRect devPathBounds; in addBMPathToAtlas() local
671 shapeDevBounds.roundOut(&devPathBounds); in addBMPathToAtlas()
675 int width = devPathBounds.width() + 2 * intPad; in addBMPathToAtlas()
676 int height = devPathBounds.height() + 2 * intPad; in addBMPathToAtlas()
677 devPathBounds = SkIRect::MakeWH(width, height); in addBMPathToAtlas()
681 SkASSERT(devPathBounds.fLeft == 0); in addBMPathToAtlas()
682 SkASSERT(devPathBounds.fTop == 0); in addBMPathToAtlas()
683 SkASSERT(devPathBounds.width() > 0); in addBMPathToAtlas()
684 SkASSERT(devPathBounds.height() > 0); in addBMPathToAtlas()
690 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), in addBMPathToAtlas()
691 devPathBounds.height()))) { in addBMPathToAtlas()
704 rasterClip.setRect(devPathBounds); in addBMPathToAtlas()
725 shapeData->fBounds = SkRect::Make(devPathBounds); in addBMPathToAtlas()