From b45c8efd7518249813eac91033a12311fb693199 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Tue, 30 May 2023 20:11:41 +0900 Subject: [PATCH] doc: ++Colorspace description @Issue: https://github.com/thorvg/thorvg/issues/1372 --- inc/thorvg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index 97990a8e..618f6533 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -1352,8 +1352,8 @@ public: */ enum Colorspace { - ABGR8888 = 0, ///< The channels are joined in the order: alpha, blue, green, red. Colors are alpha-premultiplied. - ARGB8888, ///< The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied. + ABGR8888 = 0, ///< The channels are joined in the order: alpha, blue, green, red. Colors are alpha-premultiplied. (a << 24 | b << 16 | g << 8 | r) + ARGB8888, ///< The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied. (a << 24 | r << 16 | g << 8 | b) ABGR8888S, ///< @BETA_API The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied. ARGB8888S, ///< @BETA_API The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied. };