Lines Matching defs:dimensions

174     providing dimensions.
276 Describes pixel dimensions and encoding. SkBitmap, SkImage, PixMap, and SkSurface
281 SkImageInfo contains dimensions, the pixel integral width and height. It encodes
295 /** Creates SkImageInfo from integral dimensions width and height, SkColorType ct,
313 static SkImageInfo Make(SkISize dimensions, SkColorType ct, SkAlphaType at,
315 return SkImageInfo(dimensions, {ct, at, std::move(cs)});
318 /** Creates SkImageInfo from integral dimensions and SkColorInfo colorInfo,
323 @param dimensions pixel column and row count; must be zeros or greater
328 static SkImageInfo Make(SkISize dimensions, const SkColorInfo& colorInfo) {
329 return SkImageInfo(dimensions, colorInfo);
331 static SkImageInfo Make(SkISize dimensions, SkColorInfo&& colorInfo) {
332 return SkImageInfo(dimensions, std::move(colorInfo));
335 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
355 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
369 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
387 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
396 @param dimensions width and height, each must be zero or greater
400 static SkImageInfo MakeN32Premul(SkISize dimensions, sk_sp<SkColorSpace> cs = nullptr) {
401 return Make(dimensions, kN32_SkColorType, kPremul_SkAlphaType, std::move(cs));
404 /** Creates SkImageInfo from integral dimensions width and height, kAlpha_8_SkColorType,
414 /** Creates SkImageInfo from integral dimensions, kAlpha_8_SkColorType,
417 @param dimensions pixel row and column count; must be zero or greater
420 static SkImageInfo MakeA8(SkISize dimensions) {
421 return Make(dimensions, kAlpha_8_SkColorType, kPremul_SkAlphaType, nullptr);
424 /** Creates SkImageInfo from integral dimensions width and height, kUnknown_SkColorType,
438 /** Creates SkImageInfo from integral dimensions width and height set to zero,
510 SkISize dimensions() const { return fDimensions; }
527 with dimensions set to width and height.
538 with dimensions set to newDimensions.
650 /** Returns storage required by pixel array, given SkImageInfo dimensions, SkColorType,
663 /** Returns storage required by pixel array, given SkImageInfo dimensions, and
721 SkImageInfo(SkISize dimensions, const SkColorInfo& colorInfo)
722 : fColorInfo(colorInfo), fDimensions(dimensions) {}
724 SkImageInfo(SkISize dimensions, SkColorInfo&& colorInfo)
725 : fColorInfo(std::move(colorInfo)), fDimensions(dimensions) {}