Functions

loader_error_quark ()

memory_format_has_alpha (memory_format)

memory_format_is_premultiplied (memory_format)

Details

Gly.loader_error_quark()
Returns:

The error domain

Return type:

int

Error quark for [error`GlyLoaderError`]

Gly.memory_format_has_alpha(memory_format)
Parameters:

memory_format (Gly.MemoryFormat) –

Returns:

Returns TRUE if the memory format has an alpha channel

Return type:

bool

Whether a memory format has an alpha channel

New in version 1.0.

Gly.memory_format_is_premultiplied(memory_format)
Parameters:

memory_format (Gly.MemoryFormat) –

Returns:

Returns TRUE if color channels are premultiplied

Return type:

bool

Whether a memory format as an alpha channel an the color values are premultiplied with the alpha value

New in version 1.0.