10 instantiations of Int32Rect
PresentationCore (5)
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
824Int32Rect r = new Int32Rect();
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
904Int32Rect sourceRect = new Int32Rect(0, 0, 1, 1); 1959rc = new Int32Rect(0, 0, bitmapSource.PixelWidth, bitmapSource.PixelHeight);
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
304Int32Rect rect = new Int32Rect(0, 0, _pixelWidth, _pixelHeight); 882Int32Rect rcFull = new Int32Rect(0, 0, _pixelWidth, _pixelHeight);
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5734bamlType.DefaultConstructor = delegate() { return new System.Windows.Int32Rect(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1344case KnownElements.Int32Rect: o = new System.Windows.Int32Rect(); break;
WindowsBase (3)
Base\System\Windows\Generated\Int32Rect.cs (1)
194value = new Int32Rect(
Base\System\Windows\Int32Rect.cs (1)
104private readonly static Int32Rect s_empty = new Int32Rect(0,0,0,0);
Base\System\Windows\SplashScreen.cs (1)
459Int32Rect rect = new Int32Rect(0, 0, width, height);
91 references to Int32Rect
PresentationCore (58)
Core\CSharp\System\Windows\DataObject.cs (3)
2086Int32Rect.Empty, 2539Int32Rect.Empty, 3725Int32Rect.Empty,
Core\CSharp\System\Windows\Interop\D3DImage.cs (1)
338public void AddDirtyRect(Int32Rect dirtyRect)
Core\CSharp\System\Windows\Interop\Imaging.cs (3)
44Int32Rect sourceRect, 68Int32Rect sourceRect, 96Int32Rect sourceRect,
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
824Int32Rect r = new Int32Rect();
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (4)
405Int32Rect sourceRect = SourceRect; 411sourceRect = Int32Rect.Empty; 710_sourceRect = (Int32Rect)e.NewValue; 946private Int32Rect _sourceRect;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (10)
385public virtual void CopyPixels(Int32Rect sourceRect, Array pixels, int stride, int offset) 413Int32Rect sourceRect = Int32Rect.Empty; 440public virtual void CopyPixels(Int32Rect sourceRect, IntPtr buffer, int bufferSize, int stride) 708unsafe internal void CriticalCopyPixels(Int32Rect sourceRect, Array pixels, int stride, int offset) 792internal void CriticalCopyPixels(Int32Rect sourceRect, IntPtr buffer, int bufferSize, int stride) 904Int32Rect sourceRect = new Int32Rect(0, 0, 1, 1); 1955Int32Rect rc; 1963rc = (Int32Rect)Marshal.PtrToStructure(prc, typeof(Int32Rect));
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (4)
51public CroppedBitmap(BitmapSource source, Int32Rect sourceRect) 118Int32Rect rect = SourceRect; 207_sourceRect = (Int32Rect)e.NewValue; 247private Int32Rect _sourceRect;
Core\CSharp\System\Windows\Media\Imaging\Generated\BitmapImage.cs (6)
258public Int32Rect SourceRect 262return (Int32Rect) GetValue(SourceRectProperty); 487internal static Int32Rect s_SourceRect = Int32Rect.Empty; 570typeof(Int32Rect), 572Int32Rect.Empty,
Core\CSharp\System\Windows\Media\Imaging\Generated\CroppedBitmap.cs (6)
137public Int32Rect SourceRect 141return (Int32Rect) GetValue(SourceRectProperty); 303internal static Int32Rect s_SourceRect = Int32Rect.Empty; 341typeof(Int32Rect), 343Int32Rect.Empty,
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (6)
65internal InteropBitmap(IntPtr hbitmap, IntPtr hpalette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions, WICBitmapAlphaChannelOption alphaOptions) 102internal InteropBitmap(IntPtr hicon, Int32Rect sourceRect, BitmapSizeOptions sizeOptions) 178_sourceRect = Int32Rect.Empty; 348public void Invalidate(Int32Rect? dirtyRect) 530private Int32Rect _sourceRect = Int32Rect.Empty;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (9)
198public void AddDirtyRect(Int32Rect dirtyRect) 304Int32Rect rect = new Int32Rect(0, 0, _pixelWidth, _pixelHeight); 401Int32Rect sourceRect, 436Int32Rect sourceRect, 495Int32Rect sourceRect, 554Int32Rect sourceRect, 882Int32Rect rcFull = new Int32Rect(0, 0, _pixelWidth, _pixelHeight); 922Int32Rect sourceRect, 1083Int32Rect destinationRect = sourceRect;
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (4)
626ref Int32Rect prc, 863ref Int32Rect /* MILRect* */ r); 1306ref Int32Rect prc); 1419ref Int32Rect prcLock,
Graphics\include\wgx_exports.cs (1)
202ref Int32Rect dirtyRect
PresentationFramework (5)
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
343converter.CriticalCopyPixels(Int32Rect.Empty, pixels, strideColorBitmap, 0);
src\Framework\System\Windows\Interop\HwndHost.cs (1)
952System.Windows.Media.Imaging.BitmapSource bitmapSource = Imaging.CriticalCreateBitmapSourceFromHBitmap(hBitmap.Handle, IntPtr.Zero, Int32Rect.Empty, null, WICBitmapAlphaChannelOption.WICBitmapIgnoreAlpha);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
410case 318: t = () => typeof(Int32Rect); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5732typeof(System.Windows.Int32Rect),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5862case KnownElements.Int32Rect: t = typeof(System.Windows.Int32Rect); break;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemImageConverter.cs (1)
32return Imaging.CreateBitmapSourceFromHBitmap(hBitmap, IntPtr.Zero, Int32Rect.Empty, sizeOptions);
WindowsBase (27)
Base\MS\Internal\SplashScreenNativeMethods.cs (1)
87ref Int32Rect prc,
Base\System\Windows\Converters\Generated\Int32RectValueSerializer.cs (5)
51if (!(value is Int32Rect)) 67return Int32Rect.Parse(value ); 81if (value is Int32Rect) 83Int32Rect instance = (Int32Rect) value;
Base\System\Windows\Generated\Int32Rect.cs (14)
62public static bool operator == (Int32Rect int32Rect1, Int32Rect int32Rect2) 81public static bool operator != (Int32Rect int32Rect1, Int32Rect int32Rect2) 97public static bool Equals (Int32Rect int32Rect1, Int32Rect int32Rect2) 125if ((null == o) || !(o is Int32Rect)) 130Int32Rect value = (Int32Rect)o; 131return Int32Rect.Equals(this,value); 145public bool Equals(Int32Rect value) 147return Int32Rect.Equals(this, value); 176public static Int32Rect Parse(string source) 182Int32Rect value;
Base\System\Windows\Generated\Int32RectConverter.cs (4)
95return Int32Rect.Parse(source); 117if (destinationType != null && value is Int32Rect) 119Int32Rect instance = (Int32Rect)value;
Base\System\Windows\Int32Rect.cs (2)
47public static Int32Rect Empty 104private readonly static Int32Rect s_empty = new Int32Rect(0,0,0,0);
Base\System\Windows\SplashScreen.cs (1)
459Int32Rect rect = new Int32Rect(0, 0, width, height);