cCmyk32
Overview
Types and Definitions
cCmyk32
struct cCmyk32
{
uint8_t cyan;
uint8_t magenta;
uint8_t yellow;
uint8_t key;
};
typedef struct cCmyk32 cCmyk32;
The cCmyl32 struct can store a color from the CMYK color space in 32 bits.
Generated
cCmyk32Slice
struct cCmyk32Slice
{
int64_t s;
cCmyk32 const* v;
};
typedef struct cCmyk32Slice cCmyk32Slice;
Via the macro SLICES_C_ generated struct.
cVarCmyk32Slice
struct cVarCmyk32Slice
{
int64_t s;
cCmyk32* v;
};
typedef struct cVarCmyk32Slice cVarCmyk32Slice;
Via the macro SLICES_C_ generated struct.
Functions
overall
cmyk32_c_
#define cmyk32_c_( Cyan, Magenta, Yellow, Key )
Creates a cCmyk instance.
eq_cmyk32_c
#define eq_cmyk32_c_( A, B ) \
eq_cmyk32_c( (A), (B) )
bool eq_cmyk32_c( cCmyk32 a, cCmyk32 b );
Example
#include "clingo/color/cCmyk32.h"
#include "clingo/lang/expect.h"
int main( void )
{
init_tap_c_();
expect_c_( false );
return finish_tap_c_();
}