2 writes to _pixelWidth
ReachFramework (2)
AlphaFlattener\ImageProxy.cs (2)
58_pixelWidth = image.PixelWidth; 108_pixelWidth = _image.PixelWidth;
19 references to _pixelWidth
ReachFramework (19)
AlphaFlattener\ImageProxy.cs (19)
84return _pixelWidth; 117_pixels = GetDecodedPixels(new Int32Rect(0, 0, _pixelWidth, _pixelHeight)); 131((bounds.X + bounds.Width) <= _pixelWidth) && 182double scaleX = _pixelWidth / rect.Width; 191Scale(rect.Width / _pixelWidth, 228int count = _pixelWidth * _pixelHeight * 4; 239Utility.BlendUnderColor(_pixels, _pixelWidth * _pixelHeight, color, opacity, opacityOnly); 249Utility.BlendOverColor(_pixels, _pixelWidth * _pixelHeight, color, opacity, opacityOnly); 273Utility.BlendPixels(_pixels, opacityOnly, brushPixels, brush.OpacityOnly, _pixelWidth * _pixelHeight, _pixels); 285return brush.CreateBrushImage(trans, _pixelWidth, _pixelHeight); 314Utility.BlendPixels(brushPixels, brush.OpacityOnly, _pixels, opacityOnly, _pixelWidth * _pixelHeight, _pixels); 374int count = _pixelWidth * _pixelHeight; 400int count = _pixelWidth * _pixelHeight * 4; 423return BitmapSource.Create(_pixelWidth, _pixelHeight, _image.DpiX, _image.DpiY, PixelFormats.Pbgra32, null, _pixels, _pixelWidth * 4); 459bounds.Intersect(new Rect(0, 0, _pixelWidth, _pixelHeight)); 461double currentPixelCount = _pixelWidth * _pixelHeight; 470clipBounds = new Rect(0, 0, _pixelWidth, _pixelHeight); 501pixels = Utility.ClipPixels(_pixels, _pixelWidth, _pixelHeight, x0, y0, width, height);