Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkICC::Channel Struct Reference

Please do not call this unless isNumericalTransferFn() has been called and it fails. More...

#include <SkICC.h>

Public Attributes

size_t fOffset
 
int fCount
 

Detailed Description

Please do not call this unless isNumericalTransferFn() has been called and it fails.

SkColorSpaceTransferFn is the preferred representation.

If it is not possible to represent the R, G, and B transfer functions numerically and it is still necessary to get the transfer function, this will return the transfer functions as three tables (R, G, and B).

If possible, this will return tables of the same length as they were specified in the ICC profile. This means that the lengths of the three tables are not guaranteed to be the same. If the ICC representation was not a table, the length will be chosen arbitrarily.

The lengths of the tables are all guaranteed to be at least 2. Entries in the tables are guaranteed to be in [0, 1].

This API may be deleted in favor of a numerical approximation of the raw data.

This function may fail, indicating that the ICC profile does not have transfer functions.


The documentation for this struct was generated from the following file: