随机线条效果实现
class TCbwAnimationEffect_RandomLine : public TCbwAnimationEffect { // 随机线
virtual bool __fastcall BuildMaskMat(cv::Mat& destMat, cv::Mat& srcMat,
TRect displayRect);
BYTE * FOccurredLines;
public:
__fastcall TCbwAnimationEffect_RandomLine();
};
__fastcall TCbwAnimationEffect_RandomLine::TCbwAnimationEffect_RandomLine()
: TCbwAnimationEffect() {
EffectType = cetRandomLine;
FOccurredLines = NULL;
}
bool __fastcall TCbwAnimationEffect_RandomLine::BuildMaskMat(cv::Mat& destMat,
cv::