1 instantiation of RectF
System.Private.Windows.GdiPlus (1)
Windows\Win32\Graphics\GdiPlus\Rect.cs (1)
14new() { X = rect.X, Y = rect.Y, Width = rect.Width, Height = rect.Height };
44 references to RectF
System.Drawing.Common (38)
System\Drawing\Drawing2D\GraphicsPath.cs (3)
634PInvokeGdiPlus.GdipAddPathRectangles(_nativePath, (RectF*)r, rects.Length).ThrowIfFailed(); 796(RectF*)&layoutRect, 822RectF bounds;
System\Drawing\Drawing2D\LinearGradientBrush.cs (3)
39(RectF*)&rect, 66(RectF*)&rect, 129PInvokeGdiPlus.GdipGetLineRect(NativeLineGradient, (RectF*)&rect).ThrowIfFailed();
System\Drawing\Drawing2D\Matrix.cs (1)
60PInvokeGdiPlus.GdipCreateMatrix3((RectF*)&rect, (GdiPlus.PointF*)p, &matrix).ThrowIfFailed();
System\Drawing\Drawing2D\PathGradientBrush.cs (1)
192PInvokeGdiPlus.GdipGetPathGradientRect(NativePathGradient, (RectF*)&rect).ThrowIfFailed();
System\Drawing\Graphics.cs (16)
214RectF rect; 770CheckErrorStatus(PInvokeGdiPlus.GdipDrawRectangles(NativeGraphics, pen.NativePen, (RectF*)r, rects.Length)); 1266CheckErrorStatus(PInvokeGdiPlus.GdipFillRectangles(NativeGraphics, brush.NativeBrush, (RectF*)r, rects.Length)); 1751(RectF*)&layoutRectangle, 1802RectF boundingBox = default; 1813(RectF*)&layoutArea, 1948RectF layoutRect, 2979(RectF*)&destRect, 3068(RectF*)&srcRect, 3108(RectF*)&destRect, 3109(RectF*)&srcRect, 3150(RectF*)&srcRect, 3389RectF rect; 3469Status status = PInvokeGdiPlus.GdipBeginContainer(NativeGraphics, (RectF*)&dstrect, (RectF*)&srcrect, (Unit)unit, &state); 3638srcRect.IsEmpty ? null : (RectF*)&srcRect,
System\Drawing\Imaging\Metafile.cs (6)
121RectF rect = frameRect; 216RectF rect = frameRect; 380RectF rect = (RectangleF)frameRect; 429RectF rect = (RectangleF)frameRect; 482RectF rect = frameRect; 507RectF rect = (RectangleF)frameRect;
System\Drawing\Region.cs (8)
24RectF rectF = rect; 110CheckStatus(PInvokeGdiPlus.GdipCombineRegionRect(NativeRegion, (RectF*)&rect, GdiPlus.CombineMode.CombineModeIntersect)); 129CheckStatus(PInvokeGdiPlus.GdipCombineRegionRect(NativeRegion, (RectF*)&rect, GdiPlus.CombineMode.CombineModeUnion)); 148CheckStatus(PInvokeGdiPlus.GdipCombineRegionRect(NativeRegion, (RectF*)&rect, GdiPlus.CombineMode.CombineModeXor)); 167CheckStatus(PInvokeGdiPlus.GdipCombineRegionRect(NativeRegion, (RectF*)&rect, GdiPlus.CombineMode.CombineModeExclude)); 186CheckStatus(PInvokeGdiPlus.GdipCombineRegionRect(NativeRegion, (RectF*)&rect, GdiPlus.CombineMode.CombineModeComplement)); 219RectF bounds; 353(RectF*)r,
System.Private.Windows.GdiPlus (6)
Windows\Win32\Graphics\GdiPlus\GpImageExtensions.cs (1)
18PInvokeGdiPlus.GdipGetImageBounds(image.GetPointer(), (RectF*)&bounds, &unit).ThrowIfFailed();
Windows\Win32\Graphics\GdiPlus\Rect.cs (1)
13public static explicit operator RectF(Rect rect) =>
Windows\Win32\Graphics\GdiPlus\RectF.cs (4)
11public static implicit operator RectangleF(RectF rect) => Unsafe.As<RectF, RectangleF>(ref rect); 12public static implicit operator RectF(RectangleF rectangle) => Unsafe.As<RectangleF, RectF>(ref rectangle);