diff options
Diffstat (limited to 'include/freetype/fttypes.h')
-rw-r--r-- | include/freetype/fttypes.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/freetype/fttypes.h b/include/freetype/fttypes.h index b20879b62..6086d8130 100644 --- a/include/freetype/fttypes.h +++ b/include/freetype/fttypes.h @@ -398,6 +398,43 @@ FT_BEGIN_HEADER /************************************************************************** * * @struct: + * FT_Color + * + * @description: + * This structure models a BGRA color value. + * + * The used color space is sRGB; the colors are not pre-multiplied, and + * alpha values must be explicitly set. + * + * @fields: + * blue :: + * Blue value. + * + * green :: + * Green value. + * + * red :: + * Red value. + * + * alpha :: + * Alpha value, giving the red, green, and blue color's opacity. + * + * @since: + * 2.10 + */ + typedef struct FT_Color_ + { + FT_Byte blue; + FT_Byte green; + FT_Byte red; + FT_Byte alpha; + + } FT_Color; + + + /************************************************************************** + * + * @struct: * FT_Data * * @description: |