Exemple #1
0
        public void ProcessBright(int n)
        {
            DCTestLibrary.PhotoTest pt = new DCTestLibrary.PhotoTest();
            WriteableBitmap         b  = p.getPhoto();

            p.setPhoto(pt.BrightnessBitmap(b, n));
        }
Exemple #2
0
        public void ProcessBright(int n)
        {
            DCTestLibrary.PhotoTest pt = new DCTestLibrary.PhotoTest();
            PhotoLayer      pl         = p.SelectLayer;
            WriteableBitmap b          = pl.ProcPhoto;

            pl.ProcPhoto = pt.BrightnessBitmap(b, n);
        }