Oyranos Colour Management System API
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
oyNamedColour_s Struct Reference

colour patch with meta informations More...

#include <oyranos_alpha.h>

Inheritance diagram for oyNamedColour_s:
Inheritance graph
Collaboration diagram for oyNamedColour_s:
Collaboration graph

Public 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, 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
 

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.

Version
Oyranos: 0.1.8
Since
2007/10/00 (Oyranos: 0.1.8)
Date
2007/10/00

TODO: needs to be Xatom compatible

Field Documentation

oyStruct_Copy_f oyNamedColour_s::copy

copy function

oyStruct_Release_f oyNamedColour_s::release

release function

Referenced by oyNamedColour_Create().