![]() |
Oyranos Colour Management System API |
colour patch with meta informations More...
#include <oyranos_alpha.h>


Public Member Functions | |
| oyNamedColour_s * | oyNamedColour_Create (const double *chan, const char *blob, int blob_len, oyProfile_s *ref, oyObject_s object) |
| manage complex oyNamedColour_s inside Oyranos | |
| oyNamedColour_s * | oyNamedColour_CreateWithName (const char *nick, const char *name, const char *description, const double *chan, const double *XYZ, const char *blob, int blob_len, oyProfile_s *profile_ref, oyObject_s object) |
| create a oyNamedColour_s struct | |
| oyNamedColour_s * | oyNamedColour_Copy (oyNamedColour_s *colour, oyObject_s object) |
| copy | |
| int | oyNamedColour_Release (oyNamedColour_s **obj) |
| release correctly | |
| oyProfile_s * | oyNamedColour_GetSpaceRef (oyNamedColour_s *colour) |
| get a colour space reference | |
| void | oyNamedColour_SetChannels (oyNamedColour_s *colour, const double *channels, uint32_t flags) |
| set colour channels | |
| int | oyNamedColour_GetColour (oyNamedColour_s *colour, oyProfile_s *profile, oyPointer buf, oyDATATYPE_e buf_type, uint32_t flags, oyOptions_s *options) |
| convert a named colour to a standard colour space | |
| int | oyNamedColour_SetColourStd (oyNamedColour_s *colour, oyPROFILE_e colour_space, oyPointer channels, oyDATATYPE_e channels_type, uint32_t flags, oyOptions_s *options) |
| set colour channels | |
| const double * | oyNamedColour_GetChannelsConst (oyNamedColour_s *colour, uint32_t *flags) |
| get colour channels | |
| const double * | oyNamedColour_GetXYZConst (oyNamedColour_s *colour) |
| get XYZ channels | |
| int | oyNamedColour_GetColourStd (oyNamedColour_s *colour, oyPROFILE_e colour_space, oyPointer buf, oyDATATYPE_e buf_type, uint32_t *flags, oyOptions_s *options) |
| convert a named colour to a standard colour space | |
| const oyChar * | oyNamedColour_GetName (oyNamedColour_s *s, oyNAME_e type, uint32_t flags) |
| get colour channels | |
Public Member Functions inherited from oyStruct_s | |
| const char * | oyStruct_GetText (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags) |
| get a text dump | |
Data Fields | |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
Data Fields inherited from oyStruct_s | |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
colour patch with meta informations
Data management on library side. User can control memory management at creation time.
It has the complexity of a object, and should not be accessed directly.
TODO: needs to be Xatom compatible
| oyStruct_Copy_f oyNamedColour_s::copy |
copy function
| oyStruct_Release_f oyNamedColour_s::release |
release function
Referenced by oyNamedColour_Create().