Lines Matching defs:width
82 fUsesDistanceField = this->bounds().width() > kMaxMIP || this->bounds().height() > kMaxMIP;
237 maxScale = SkScalarAbs(std::max(xformedBounds.width() / bounds.width(),
242 SkScalar maxDim = std::max(bounds.width(), bounds.height());
324 int width, int height, const void* image,
330 auto code = atlasMgr->addToAtlas(resourceProvider, uploadTarget, width, height,
339 code = atlasMgr->addToAtlas(resourceProvider, uploadTarget, width, height,
375 int width = devPathBounds.width() + 2 * kAntiAliasPad;
377 devPathBounds = SkIRect::MakeWH(width, height);
388 SkASSERT(devPathBounds.width() > 0);
393 width = dfBounds.width();
396 SkAutoSMalloc<1024> dfStorage(width * height * sizeof(unsigned char));
402 path, drawMatrix, width, height,
403 width * sizeof(unsigned char));
407 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), devPathBounds.height()))) {
431 dst.width(), dst.height(), dst.rowBytes());
441 width, height, dfStorage.get(),
471 int width = devPathBounds.width() + 2 * kAntiAliasPad;
473 devPathBounds = SkIRect::MakeWH(width, height);
479 SkASSERT(devPathBounds.width() > 0);
486 if (!dst.tryAlloc(SkImageInfo::MakeA8(devPathBounds.width(), devPathBounds.height()))) {
511 dst.width(), dst.height(), dst.addr(),
697 SkScalar minDim = std::min(bounds.width(), bounds.height());
698 SkScalar maxDim = std::max(bounds.width(), bounds.height());