_Evas_Textgrid_Truecolor Struct Reference

Direct colors of one textgrid cell, used when the fg_truecolor or bg_truecolor flag of an Evas_Textgrid_Cell is set. More...

#include <Evas_Common.h>

Data Fields

struct { 
   unsigned char   r 
   unsigned char   g 
   unsigned char   b 
   unsigned char   a 
 pre-multiplied foreground color
} fg
struct { 
   unsigned char   r 
   unsigned char   g 
   unsigned char   b 
   unsigned char   a 
 pre-multiplied background color
} bg

Detailed Description

Direct colors of one textgrid cell, used when the fg_truecolor or bg_truecolor flag of an Evas_Textgrid_Cell is set.

Components are pre-multiplied, like palette colors. An alpha of 0 means no color: a transparent background, or an invisible foreground.

Since
1.29

Field Documentation

◆ a

unsigned char _Evas_Textgrid_Truecolor::a

pre-multiplied foreground color

pre-multiplied background color