oyNamedColour_s Struct Reference
[Named Colour API]

colour patch with meta informations

Data management on library side. User can control memory management at creation time. More...

#include <oyranos_alpha.h>


Data Fields

oyOBJECT_e type_
oyStruct_Copy_f copy
oyStruct_Release_f release
oyObject_s oy_
double * channels_
double XYZ_ [3]
char * blob_
size_t blob_len_
oyProfile_sprofile_

Related Functions

(Note that these are not member functions.)

oyNamedColour_soyNamedColour_Create (const double *chan, const char *blob, int blob_len, oyProfile_s *ref, oyObject_s object)
 manage complex oyNamedColour_s inside Oyranos
oyNamedColour_soyNamedColour_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_soyNamedColour_Copy (oyNamedColour_s *colour, oyObject_s object)
 copy
int oyNamedColour_Release (oyNamedColour_s **obj)
 release correctly
oyProfile_soyNamedColour_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)
 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)
 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)
 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


Detailed Description

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.

Since:
Oyranos: version 0.1.8
Date:
october 2007 (API 0.1.8)
TODO: needs to be Xatom compatible

Field Documentation

advanced : CGATS / ICC ?

Referenced by oyNamedColour_Copy(), oyNamedColour_Release(), and oyNamedColour_SetColourStd().

advanced : CGATS / ICC ?

Referenced by oyNamedColour_Copy(), oyNamedColour_Release(), and oyNamedColour_SetColourStd().

oyStruct_Copy_f oyNamedColour_s::copy

copy function

oyStruct_Release_f oyNamedColour_s::release

release function

Referenced by oyNamedColour_Create().

struct type oyOBJECT_NAMED_COLOUR_S

Referenced by oyNamedColour_Release(), and oyNamedColours_s::oyNamedColours_MoveIn().


Generated on Wed Aug 12 14:01:24 2009 for Oyranos by  doxygen 1.5.8