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