25 references to RectangleF
Microsoft.Private.Windows.Core (2)
_generated\206\Windows.Win32.RECT.g.cs (1)
76 public static implicit operator global::System.Drawing.RectangleF(RECT value) => new global::System.Drawing.RectangleF(value.left, value.top, value.Width, value.Height);
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (1)
209value = new RectangleF(
PresentationCore (1)
System\Windows\Nrbf\SerializationRecordExtensions.cs (1)
77value = new RectangleF(
System.Drawing.Common (13)
misc\DpiHelper.cs (2)
111RectangleF sourceRect = new(0, 0, logicalImage.Size.Width, logicalImage.Size.Height); 112RectangleF destRect = new(0, 0, deviceImageSize.Width, deviceImageSize.Height);
System\Drawing\Drawing2D\GraphicsPath.cs (1)
778AddString(s, family, style, emSize, new RectangleF(origin.X, origin.Y, 0, 0), format);
System\Drawing\Graphics.cs (8)
1588DrawString(s, font, brush, new RectangleF(x, y, 0, 0), null); 1593DrawString(s, font, brush, new RectangleF(x, y, 0, 0), null); 1608DrawString(s, font, brush, new RectangleF(point.X, point.Y, 0, 0), null); 1613DrawString(s, font, brush, new RectangleF(point.X, point.Y, 0, 0), null); 1633DrawString(s, font, brush, new RectangleF(x, y, 0, 0), format); 1638DrawString(s, font, brush, new RectangleF(x, y, 0, 0), format); 1657DrawString(s, font, brush, new RectangleF(point.X, point.Y, 0, 0), format); 1662DrawString(s, font, brush, new RectangleF(point.X, point.Y, 0, 0), format);
System\Drawing\Region.cs (2)
299public bool IsVisible(float x, float y, float width, float height) => IsVisible(new RectangleF(x, y, width, height), null); 303public bool IsVisible(float x, float y, float width, float height, Graphics? g) => IsVisible(new RectangleF(x, y, width, height), g);
System.Drawing.Primitives (4)
System\Drawing\RectangleF.cs (4)
82new RectangleF(left, top, right - left, bottom - top); 280return new RectangleF(x1, y1, x2 - x1, y2 - y1); 302return new RectangleF(x1, y1, x2 - x1, y2 - y1); 323public static implicit operator RectangleF(Rectangle r) => new RectangleF(r.X, r.Y, r.Width, r.Height);
System.Private.Windows.Core (2)
_generated\209\Windows.Win32.RECT.g.cs (1)
76 public static implicit operator global::System.Drawing.RectangleF(RECT value) => new global::System.Drawing.RectangleF(value.left, value.top, value.Width, value.Height);
System\Private\Windows\Nrbf\SerializationRecordExtensions.cs (1)
209value = new RectangleF(
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
417new RectangleF(0.0f, 0.0f, ClientSize.Width, ClientSize.Height),
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Internals\ScaleHelper.cs (2)
184RectangleF sourceBounds = new(0, 0, bitmap.Size.Width, bitmap.Size.Height); 185RectangleF destinationBounds = new(0, 0, desiredSize.Width, desiredSize.Height);