using System; using System.Drawing; using System.Windows.Forms; using Plugin; namespace VFlip { public class VFlip : IPlugin{ /// /// プラグインの名称 /// public string Name { get { return "VFlip"; } } /// /// プラグインのタイプを表す。 /// public ulong Type { get { return Plugin.Constants.LS_NO_EVENT_HANDLER; } } /// /// プラグインの簡潔な説明文。 /// public string Abstract { get { return "画像の上下を反転させるプラグインです"; } } /// /// イベントハンドラ。このプラグインの設定メニューが押された時呼び出されます。 /// /// /// public void BaseSetting() { } public void EntrySetting(ref string entry_config ) { } /// /// 設定値を格納した文字列を指定します。 /// /// public string Config { get { return ""; } set { } } /// /// フレームに加工を施す関数 /// /// /// public void Apply( ref Bitmap bmp, float time, float e_begin, float e_end, ref string e_body ) { bmp.RotateFlip( RotateFlipType.Rotate180FlipX ); } public void Render( Graphics g, Size size, float time, string mouth, string reserved ) { } } }