Esempio n. 1
0
        //────────────────────────────────────────

        /// <summary>
        ///
        /// </summary>
        /// <param name="g"></param>
        /// <param name="bOnWindow"></param>
        /// <param name="baseX"></param>
        /// <param name="baseY"></param>
        /// <param name="scale2"></param>
        public void PaintSprite(
            Graphics g,
            bool bOnWindow,
            float baseX,
            float baseY,
            float scale2
            )
        {
            if (null != this.infodisplay.MemorySprite.Bitmap)
            {
                if (this.infodisplay.MemorySprite.IsCrop)
                {
                    // 切抜き

                    Function2DrawcropImpl f2 = new Function2DrawcropImpl();
                    f2.Perform(
                        g,
                        bOnWindow,
                        this.infodisplay.MemorySprite,
                        baseX,
                        baseY,
                        scale2,
                        this.imgOpaque,
                        this.isImageGrid,
                        this.pcchkInfoVisibled.Checked,
                        this.infodisplay
                        );
                }
                else
                {
                    // 全体図

                    Function1DrawimageImpl f1 = new Function1DrawimageImpl();
                    f1.Perform(
                        g,
                        bOnWindow,
                        this.infodisplay.MemorySprite,
                        baseX,
                        baseY,
                        scale2,
                        this.imgOpaque,
                        this.isImageGrid,
                        this.pcchkInfoVisibled.Checked,
                        this.Partnumberconfig,
                        this.Infodisplay
                        );
                }
            }
        }
Esempio n. 2
0
        //────────────────────────────────────────
        /// <summary>
        /// 
        /// </summary>
        /// <param name="g"></param>
        /// <param name="bOnWindow"></param>
        /// <param name="baseX"></param>
        /// <param name="baseY"></param>
        /// <param name="scale2"></param>
        public void PaintSprite(
            Graphics g,
            bool bOnWindow,
            float baseX,
            float baseY,
            float scale2
            )
        {
            if (null != this.infodisplay.MemorySprite.Bitmap)
            {
                if (this.infodisplay.MemorySprite.IsCrop)
                {
                    // 切抜き

                    Function2DrawcropImpl f2 = new Function2DrawcropImpl();
                    f2.Perform(
                        g,
                        bOnWindow,
                        this.infodisplay.MemorySprite,
                        baseX,
                        baseY,
                        scale2,
                        this.imgOpaque,
                        this.isImageGrid,
                        this.pcchkInfoVisibled.Checked,
                        this.infodisplay
                        );
                }
                else
                {
                    // 全体図

                    Function1DrawimageImpl f1 = new Function1DrawimageImpl();
                    f1.Perform(
                        g,
                        bOnWindow,
                        this.infodisplay.MemorySprite,
                        baseX,
                        baseY,
                        scale2,
                        this.imgOpaque,
                        this.isImageGrid,
                        this.pcchkInfoVisibled.Checked,
                        this.Partnumberconfig,
                        this.Infodisplay
                        );
                }
            }
        }