mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
api: promote to official APIs.
New API: - CanvasEngine::All - SwCanvas::Colorspace::ABGR8888S - SwCanvas::ColorSpace::ARGB8888S
This commit is contained in:
parent
84e8e38f0a
commit
1d9ea58be3
1 changed files with 3 additions and 3 deletions
|
@ -198,7 +198,7 @@ enum class BlendMethod : uint8_t
|
|||
*/
|
||||
enum class CanvasEngine : uint8_t
|
||||
{
|
||||
All = 0, ///< All feasible rasterizers.
|
||||
All = 0, ///< All feasible rasterizers. @since 1.0
|
||||
Sw = (1 << 1), ///< CPU rasterizer.
|
||||
Gl = (1 << 2), ///< OpenGL rasterizer.
|
||||
Wg = (1 << 3), ///< WebGPU rasterizer. (Experimental API)
|
||||
|
@ -1564,8 +1564,8 @@ public:
|
|||
{
|
||||
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, ///< The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied. (Experimental API)
|
||||
ARGB8888S, ///< The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied. (Experimental API)
|
||||
ABGR8888S, ///< The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied. @since 0.12
|
||||
ARGB8888S, ///< The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied. @since 0.12
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue