#include <kanzi/core/cpp/optional.hpp>
#include <kanzi/core/legacy/kzs_types.hpp>
#include <kanzi/core/string/fixed_string.hpp>
#include <kanzi/core.ui/coreui_api.hpp>
#include <kanzi/core.ui/graphics/color_workflow.hpp>
Namespaces | |
kanzi | |
Easing functions that require external dependencies for calculation. | |
Functions | |
optional< GraphicsFormat > | kanzi::findGraphicsFormatByName (string_view formatName) |
Returns GraphicsFormat given its name as a human readable string. More... | |
unsigned int | kanzi::getBitCount (GraphicsDataType dataType) |
Return number of bits per one element of data type. More... | |
unsigned int | kanzi::getBitCount (GraphicsDataType dataType, unsigned int componentCount) |
Return number of bits per one element of data type. More... | |
unsigned int | kanzi::getBitsPerBlock (GraphicsFormat format) |
Returns number of bits per block of the specified format. More... | |
unsigned int | kanzi::getByteCount (GraphicsDataType dataType) |
Return number of bytes per one element of data type. More... | |
unsigned int | kanzi::getByteCount (GraphicsDataType dataType, unsigned int dimension) |
Returns number of bytes for graphics data. More... | |
unsigned int | kanzi::getBytesPerBlock (GraphicsFormat format) |
Returns number of bytes per block of the specified format. More... | |
unsigned int | kanzi::getChannelCount (GraphicsFormat format) |
Returns number of unique color channels of the format. More... | |
GraphicsFormat | kanzi::getCommon (GraphicsFormat format1, GraphicsFormat format2) |
Returns a common superset of two formats, or GraphicsFormatNone if formats cannot be combined. More... | |
unsigned int | kanzi::getDataSizeBytes (int width, int height, GraphicsFormat format) |
Returns data size in bytes for image with specified dimensions and format. More... | |
GraphicsDataType | kanzi::getDataType (GraphicsFormat format) |
Returns data type of the format. More... | |
GraphicsFormat | kanzi::getDefaultGraphicsFormatForColorSpace (SurfaceColorSpace space) |
Gets the default graphics format to represent a given surface color space. More... | |
GraphicsFormat | kanzi::getFallback (GraphicsFormat format) |
Returns an alternative format which is potentially more widely supported. More... | |
GraphicsFormat | kanzi::getSRGBFormat (GraphicsFormat format) |
Returns an sRGB format that is compatible with the provided format. More... | |
bool | kanzi::hasAliasedChannel (GraphicsFormat format) |
Indicates whether given format has an aliased color channel. More... | |
bool | kanzi::hasAlpha (GraphicsFormat format) |
Indicates whether given format has alpha channel. More... | |
bool | kanzi::hasColor (GraphicsFormat format) |
Indicates whether given format has one more more color channels. More... | |
bool | kanzi::hasDepth (GraphicsFormat format) |
Indicates whether given format has depth channel. More... | |
bool | kanzi::hasStencil (GraphicsFormat format) |
Indicates whether given format has stencil channel. More... | |
bool | kanzi::isCompressed (GraphicsFormat format) |
Indicates whether format is compressed format or not. More... | |
bool | kanzi::isPacked (GraphicsDataType dataType) |
Indicates whether given data type is packed or not. More... | |
bool | kanzi::isValid (GraphicsFormat format) |
Indicates whether format is valid. More... | |
FixedString | kanzi::toFixedString (GraphicsDataType dataType) |
Returns human readable string for GraphicsDataType. More... | |
FixedString | kanzi::toFixedString (GraphicsFormat format) |
Returns human readable string for GraphicsFormat. More... | |