name | description |
---|---|
Constructors | functions that construct SkImageInfo |
Member Functions | static functions and member methods |
Operators | operator overloading methods |
name | description |
---|
Describes how to interpret the alpha component of a pixel.
incomplete
Describes how to interpret the components of a pixel. kN32 SkColorType is an alias for whichever 32 bit Color ARGB format is the "" form for skia‘s blitters. Use this if you don’t have a swizzle preference for 32 bit pixels.
incomplete
Describes the color space a YUV pixel.
incomplete
incomplete
Describe an image's dimensions and pixel type. Used for both src images and render-targets (surfaces).
name | description |
---|---|
operator!=(const SkImageInfo& other) const | incomplete |
operator==(const SkImageInfo& other) const | incomplete |
name | description |
---|---|
ByteSizeOverflowed | incomplete |
Make | creates Image Info from dimensions, Color Type, Alpha Type, Color Space |
MakeA8 | creates Image Info with kAlpha 8 SkColorType, kPremul SkAlphaType |
MakeN32 | creates Image Info with Native Color Type |
MakeN32Premul | creates Image Info with Native Color Type, kPremul SkAlphaType |
MakeS32 | creates Image Info with Native Color Type, sRGB Color Space |
MakeUnknown | creates Image Info with kUnknown SkColorType, kUnknown SkAlphaType |
alphaType | incomplete |
bounds | incomplete |
bytesPerPixel | incomplete |
colorSpace | incomplete |
colorType | incomplete |
computeByteSize | incomplete |
computeMinByteSize | incomplete |
computeOffset | incomplete |
dimensions | incomplete |
flatten | incomplete |
gammaCloseToSRGB | incomplete |
height | incomplete |
isEmpty | incomplete |
isOpaque | incomplete |
makeAlphaType | creates Image Info with changed Alpha Type |
makeColorSpace | creates Image Info with changed Color Space |
makeColorType | creates Image Info with changed Color Type |
makeWH | creates Image Info with changed dimensions |
minRowBytes | incomplete |
minRowBytes64 | incomplete |
refColorSpace | incomplete |
reset | incomplete |
shiftPerPixel | incomplete |
unflatten | incomplete |
validRowBytes | incomplete |
validate | incomplete |
width | incomplete |
name | description |
---|---|
Make | creates Image Info from dimensions, Color Type, Alpha Type, Color Space |
MakeA8 | creates Image Info with kAlpha 8 SkColorType, kPremul SkAlphaType |
MakeN32 | creates Image Info with Native Color Type |
MakeN32Premul | creates Image Info with Native Color Type, kPremul SkAlphaType |
MakeS32 | creates Image Info with Native Color Type, sRGB Color Space |
MakeUnknown | creates Image Info with kUnknown SkColorType, kUnknown SkAlphaType |
SkImageInfo() | creates with zero dimensions, kUnknown SkColorType, kUnknown SkAlphaType |
makeAlphaType | creates Image Info with changed Alpha Type |
makeColorSpace | creates Image Info with changed Color Space |
makeColorType | creates Image Info with changed Color Type |
makeWH | creates Image Info with changed dimensions |
incomplete
incomplete
incomplete
incomplete
Sets colortype to kN32 SkColorType.
incomplete
incomplete
Creates Image Info marked as sRGB with kN32 SkColorType swizzle.
incomplete
incomplete
Sets colortype to kN32 SkColorType, and the alphatype to premul.
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
Creates Image Info with the same colortype and alphatype as this info, but with the specified width and height.
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
Returns the size (in bytes) of the image buffer that this info needs, given the specified rowBytes. The rowBytes must be >= this->minRowBytes. if (height == 0) { return 0; } else { return (height - 1) * rowBytes + width * bytes_per_pixel.
If the calculation overflows this returns SK MaxSizeT.
incomplete
incomplete
Returns the minimum size (in bytes) of the image buffer that this info needs. If the calculation overflows, or if the height is 0, this returns 0.
incomplete
incomplete
Returns true if the result of computeByteSize (or computeMinByteSize) overflowed
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete