Exemple #1
0
 public SubContinuum(int width, int height, IContinuum2d <T> source, Rectangle sourceRegion)
 {
     this.Width        = width;
     this.Height       = height;
     this.source       = source;
     this.sourceRegion = sourceRegion;
 }
Exemple #2
0
        public ReResContinuum(int width, int height, IContinuum2d <float> source)
        {
            this.Width  = width;
            this.Height = height;
            this.source = source;

            this.toSourceCoords = 1f * source.Width / this.Width;
        }