mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
common render: added a new type for one byte pixel data.
This is designed using for masking buffers. @Issue: https://github.com/thorvg/thorvg/issues/976
This commit is contained in:
parent
01b26c43a6
commit
e3f363fea7
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ enum ColorSpace
|
|||
ARGB8888, //The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied.
|
||||
ABGR8888S, //The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied.
|
||||
ARGB8888S, //The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied.
|
||||
Grayscale8, //One single channel data.
|
||||
Unsupported //TODO: Change to the default, At the moment, we put it in the last to align with SwCanvas::Colorspace.
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue