4 writes to Y
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (2)
182
pPtfContainer->
Y
= HM2Pix(pPtlHimetric->y, s_logPixelsY);
187
pPtfContainer->
Y
= HM2Pix(pPtlHimetric->y, s_logPixelsY);
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (2)
95
pPtfContainer->
Y
= WebBrowserHelper.HM2Pix(pPtlHimetric->y, WebBrowserHelper.LogPixelsY);
100
pPtfContainer->
Y
= WebBrowserHelper.HM2Pix(pPtlHimetric->y, WebBrowserHelper.LogPixelsY);
29 references to Y
Microsoft.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
207
value.
Y
).Write(writer);
System.Drawing.Primitives (17)
System\Drawing\Point.cs (3)
123
public static Point Ceiling(PointF value) => new Point(unchecked((int)Math.Ceiling(value.X)), unchecked((int)Math.Ceiling(value.
Y
)));
128
public static Point Truncate(PointF value) => new Point(unchecked((int)value.X), unchecked((int)value.
Y
));
133
public static Point Round(PointF value) => new Point(unchecked((int)Math.Round(value.X)), unchecked((int)Math.Round(value.
Y
)));
System\Drawing\PointF.cs (9)
105
/// <see cref='System.Drawing.PointF.X'/> and <see cref='System.Drawing.PointF.
Y
'/> properties of the two
108
public static bool operator ==(PointF left, PointF right) => left.X == right.X && left.
Y
== right.
Y
;
112
/// <see cref='System.Drawing.PointF.X'/> or <see cref='System.Drawing.PointF.
Y
'/> properties of the two
120
public static PointF Add(PointF pt, Size sz) => new PointF(pt.X + sz.Width, pt.
Y
+ sz.Height);
125
public static PointF Subtract(PointF pt, Size sz) => new PointF(pt.X - sz.Width, pt.
Y
- sz.Height);
130
public static PointF Add(PointF pt, SizeF sz) => new PointF(pt.X + sz.Width, pt.
Y
+ sz.Height);
135
public static PointF Subtract(PointF pt, SizeF sz) => new PointF(pt.X - sz.Width, pt.
Y
- sz.Height);
141
public override readonly int GetHashCode() => HashCode.Combine(X.GetHashCode(),
Y
.GetHashCode());
System\Drawing\RectangleF.cs (4)
46
y = location.
Y
;
95
Y = value.
Y
;
214
public readonly bool Contains(PointF pt) => Contains(pt.X, pt.
Y
);
308
public void Offset(PointF pos) => Offset(pos.X, pos.
Y
);
System\Drawing\SizeF.cs (1)
42
height = pt.
Y
;
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
207
value.
Y
).Write(writer);
System.Private.Windows.Core.TestUtilities (4)
FluentAssertions\FluentAssertExtensions.cs (4)
84
parent.Subject.
Y
.Should().BeApproximately(expectedValue.
Y
, precision, because, becauseArgs);
105
&& ComparisonHelpers.EqualsFloating(expected.
Y
, actual.
Y
, precision),
System.Windows.Forms (6)
System\Windows\Forms\ActiveX\AxHost.cs (1)
1081
sz.Height = (int)pcont.
Y
;
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (2)
199
pPtlHimetric->y = Pix2HM((int)pPtfContainer->
Y
, s_logPixelsY);
204
pPtlHimetric->y = Pix2HM((int)pPtfContainer->
Y
, s_logPixelsY);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1120
sz.Height = (int)pcont.
Y
;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (2)
112
pPtlHimetric->y = WebBrowserHelper.Pix2HM((int)pPtfContainer->
Y
, WebBrowserHelper.LogPixelsY);
117
pPtlHimetric->y = WebBrowserHelper.Pix2HM((int)pPtfContainer->
Y
, WebBrowserHelper.LogPixelsY);