|
TNB Library
|
ビットマップワイパブルインターフェース [詳解]
#include <TnbBitmapAnimater.h>
IBitmapWipable の継承関係図公開型 | |
| typedef CPointerHandleT< IBitmapWipable > | Ptr |
| ポインタハンドル型宣言 [詳解] | |
公開メンバ関数 | |
| virtual IBitmapWipable * | Clone (void) const =0 |
| [複製] クローン [詳解] | |
| virtual CBitmapHandle | Wipe (CBitmapHandle baseBmp, CBitmapHandle overBmp, UINT par, UINT max) const =0 |
| [変換] ワイプ. [詳解] | |
| virtual | ~IBitmapWipable (void) |
| デストラクタ [詳解] | |
ビットマップワイパブルインターフェース
二つのビットマップを徐々に切り替えていく処理をサポートします。
TnbBitmapAnimater.h の 41 行目に定義があります。
| typedef CPointerHandleT<IBitmapWipable> Ptr |
ポインタハンドル型宣言
TnbBitmapAnimater.h の 65 行目に定義があります。
|
virtual |
デストラクタ
TnbBitmapAnimater.h の 44 行目に定義があります。
|
pure virtual |
[複製] クローン
CReverseAdaptWiper, CMultiAdaptWiper, CPenetrateWiper, CStretchWiper, CShrinkWiper, CSlideWiper, CSlideMaskWiper, CRandomMaskWiperで実装されています。
|
pure virtual |
[変換] ワイプ.
baseBmp の上に overBmp を書いた物を返します。 par が 0なら baseBmp そのもの、 par が max なら overBmp そのものになります
| baseBmp | 元絵。 |
| overBmp | 先絵。 ※元絵と同じ大きさ以外は結果保障外になります。 |
| par | 進捗(分子) |
| max | 全体(分母) |
CReverseAdaptWiper, CMultiAdaptWiper, CPenetrateWiper, CStretchWiper, CShrinkWiper, CSlideWiper, CAbstractMaskWiperで実装されています。