Lines Matching defs:height

281     SkImageInfo contains dimensions, the pixel integral width and height. It encodes
289 a width and height of zero, and no SkColorSpace.
295 /** Creates SkImageInfo from integral dimensions width and height, SkColorType ct,
305 @param height pixel row count; must be zero or greater
309 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
311 return SkImageInfo({width, height}, {ct, at, std::move(cs)});
335 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
346 @param height pixel row count; must be zero or greater
350 static SkImageInfo MakeN32(int width, int height, SkAlphaType at,
352 return Make({width, height}, kN32_SkColorType, at, std::move(cs));
355 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
362 @param height pixel row count; must be zero or greater
367 static SkImageInfo MakeS32(int width, int height, SkAlphaType at);
369 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
379 @param height pixel row count; must be zero or greater
383 static SkImageInfo MakeN32Premul(int width, int height, sk_sp<SkColorSpace> cs = nullptr) {
384 return Make({width, height}, kN32_SkColorType, kPremul_SkAlphaType, std::move(cs));
387 /** Creates SkImageInfo from integral dimensions width and height, kN32_SkColorType,
396 @param dimensions width and height, each must be zero or greater
404 /** Creates SkImageInfo from integral dimensions width and height, kAlpha_8_SkColorType,
408 @param height pixel row count; must be zero or greater
411 static SkImageInfo MakeA8(int width, int height) {
412 return Make({width, height}, kAlpha_8_SkColorType, kPremul_SkAlphaType, nullptr);
424 /** Creates SkImageInfo from integral dimensions width and height, kUnknown_SkColorType,
431 @param height pixel row count; must be zero or greater
434 static SkImageInfo MakeUnknown(int width, int height) {
435 return Make({width, height}, kUnknown_SkColorType, kUnknown_SkAlphaType, nullptr);
438 /** Creates SkImageInfo from integral dimensions width and height set to zero,
458 @return pixel height
460 int height() const { return fDimensions.height(); }
484 width or height is zero or smaller.
506 /** Returns SkISize { width(), height() }.
508 @return integral size of width() and height()
512 /** Returns SkIRect { 0, 0, width(), height() }.
514 @return integral rectangle from origin to width() and height()
527 with dimensions set to width and height.
547 /** Creates SkImageInfo with same SkColorType, SkColorSpace, width, and height,
559 /** Creates SkImageInfo with same SkAlphaType, SkColorSpace, width, and height,
568 /** Creates SkImageInfo with same SkAlphaType, SkColorType, width, and height,
622 @param y row index, zero or greater, and less than height()
630 /** Compares SkImageInfo with other, and returns true if width, height, SkColorType,
640 /** Compares SkImageInfo with other, and returns true if width, height, SkColorType,
653 Returns zero if height is zero.
666 Returns zero if height is zero.
701 a width and height of zero, and no SkColorSpace.