Example #1
0
        private void CreateNewBitmapBunch(bool highResolution, ScalingAlgorithm algorithm)
        {
            var newBunch = CanvasHelper.CreateNewBitmapBunch(
                highResolution, algorithm, LOW_RES_WIDTH, LOW_RES_HEIGHT,
                this.bitmapBunch, PixelFormat.Format32bppRgb);

            if (newBunch != null)
            {
                this.bitmapBunch = newBunch;
            }
        }