YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
#include <YPixel.h>
静态 Public 成员函数 | |
template<typename _tDstAlpha , typename _tSrcAlpha > | |
static yconstfn _tSrcAlpha | CompositeAlphaOver (_tDstAlpha da, _tSrcAlpha sa) |
Alpha 组合 Alpha 分量。 更多... | |
template<typename _tDst , typename _tSrc , typename _tSrcAlpha , typename _tAlpha > | |
static yconstfn _tDst | CompositeComponentOver (_tDst d, _tSrc s, _tSrcAlpha sa, _tAlpha a) |
Alpha 组合非 Alpha 分量。 更多... | |
|
inlinestatic |
|
inlinestatic |
Alpha 组合非 Alpha 分量。
a != 0 => c := sa * (s - d) / a + d = sa * (s - d) + d