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