Codec.ZeroInitialized

class ZeroInitialized

Whether or not the memory passed to getPixels is zero initialized.

Members:

kYes_ZeroInitialized :

The memory passed to getPixels is zero initialized. The Codec may take advantage of this by skipping writing zeroes.

kNo_ZeroInitialized :

The memory passed to getPixels has not been initialized to zero, so the Codec must write all zeroes to memory.

This is the default. It will be used if no Options struct is used.

Methods

__init__

Attributes

kNo_ZeroInitialized

kYes_ZeroInitialized

name

value

Methods

ZeroInitialized.__init__(self: skia.Codec.ZeroInitialized, value: int) None

Attributes

ZeroInitialized.kNo_ZeroInitialized = <ZeroInitialized.kNo_ZeroInitialized: 1>
ZeroInitialized.kYes_ZeroInitialized = <ZeroInitialized.kYes_ZeroInitialized: 0>
ZeroInitialized.name
ZeroInitialized.value