コード例 #1
0
ファイル: Surface.cs プロジェクト: wcp16/FreeTrainSDL
        ///// <summary>
        /////
        ///// </summary>
        ///// <param name="dstPos"></param>
        ///// <param name="source"></param>
        ///// <param name="fill"></param>
        //public void bltShape(Point dstPos, Surface source, Color fill)
        //{
        //    bltShape(dstPos, source, new Point(0, 0), source.Size, fill);
        //}

        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public Surface CreateFlippedVerticalSurface()
        {
            return(new Surface(SdlGfx.rotozoomSurfaceXY(this.SurfacePtr(), 0, 1, -1, SdlGfx.SMOOTHING_OFF)));
        }