11 references to Rect
System.Drawing.Common (5)
System\Drawing\Drawing2D\GraphicsPath.cs (1)
654PInvokeGdiPlus.GdipAddPathRectanglesI(_nativePath, (Rect*)r, rects.Length).ThrowIfFailed();
System\Drawing\Drawing2D\Matrix.cs (1)
74PInvokeGdiPlus.GdipCreateMatrix3I((Rect*)&rect, (GdiPlus.Point*)p, &matrix).ThrowIfFailed();
System\Drawing\Graphics.cs (3)
795CheckErrorStatus(PInvokeGdiPlus.GdipDrawRectanglesI(NativeGraphics, pen.NativePen, (Rect*)r, rects.Length)); 1288CheckErrorStatus(PInvokeGdiPlus.GdipFillRectanglesI(NativeGraphics, brush.NativeBrush, (Rect*)r, rects.Length)); 3183(Rect*)&srcRect,
System.Private.Windows.GdiPlus (6)
Windows\Win32\Graphics\GdiPlus\GpBitmapExtensions.cs (1)
23rect.IsEmpty ? null : (Rect*)&rect,
Windows\Win32\Graphics\GdiPlus\Rect.cs (5)
11public static implicit operator Rectangle(Rect rect) => Unsafe.As<Rect, Rectangle>(ref rect); 12public static implicit operator Rect(Rectangle rectangle) => Unsafe.As<Rectangle, Rect>(ref rectangle); 13public static explicit operator RectF(Rect rect) =>