Пример #1
0
        private void showMaskLrcText()
        {
            Bitmap bmp = LrcController.getMaskBMP(this._lrcText);

            this.imgMask.Source = LrcController.getImageSource(bmp);
            bmp.Dispose();
        }
Пример #2
0
        private void showLrcText()
        {
            Bitmap bmp = LrcController.getBGBMP(this._lrcText);

            base.Height       = bmp.Height;
            base.Width        = bmp.Width;
            base.Left         = (this.w - base.Width) / 2.0;
            base.Top          = (this.h - base.Height) - 50.0;
            this.imgBG.Source = LrcController.getImageSource(bmp);
            this.imgBG.Width  = base.Width;
            this.imgBG.Height = base.Height;
            bmp.Dispose();
        }