Zephyr Scientific Library (zscilib)
Data Fields
zsl_clr_rgbf Struct Reference

RGBA color using floating-space notation from 0.0 .. 1.0. More...

#include <colorimetry.h>

Data Fields

zsl_real_t r
 
zsl_real_t g
 
zsl_real_t b
 
zsl_real_t a
 
uint8_t r_invalid: 1
 
uint8_t g_invalid: 1
 
uint8_t b_invalid: 1
 
uint8_t a_invalid: 1
 

Detailed Description

RGBA color using floating-space notation from 0.0 .. 1.0.

Definition at line 338 of file colorimetry.h.

Field Documentation

◆ a

zsl_real_t zsl_clr_rgbf::a

The relative alpha channel component (0.0 .. 1.0).

Definition at line 346 of file colorimetry.h.

◆ a_invalid

uint8_t zsl_clr_rgbf::a_invalid

If non-zero, indicates that the a value is invalid.

Definition at line 354 of file colorimetry.h.

◆ b

zsl_real_t zsl_clr_rgbf::b

The relative blue components of an RGBA color (0.0 .. 1.0).

Definition at line 344 of file colorimetry.h.

◆ b_invalid

uint8_t zsl_clr_rgbf::b_invalid

If non-zero, indicates that the b value is invalid.

Definition at line 352 of file colorimetry.h.

◆ g

zsl_real_t zsl_clr_rgbf::g

The relative green components of an RGBA color (0.0 .. 1.0).

Definition at line 342 of file colorimetry.h.

◆ g_invalid

uint8_t zsl_clr_rgbf::g_invalid

If non-zero, indicates that the g value is invalid.

Definition at line 350 of file colorimetry.h.

◆ r

zsl_real_t zsl_clr_rgbf::r

The relative red components of an RGBA color (0.0 .. 1.0).

Definition at line 340 of file colorimetry.h.

◆ r_invalid

uint8_t zsl_clr_rgbf::r_invalid

If non-zero, indicates that the r value is invalid.

Definition at line 348 of file colorimetry.h.


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