5 references to HimetricToPixelX
System.Windows.Forms.Primitives.Tests (3)
Interop\Ole32\IPictureTests.cs (3)
28
Assert.Equal(arrow.Size.Width, GdiHelper.
HimetricToPixelX
(width));
45
Assert.Equal(bitmap.Size.Width, GdiHelper.
HimetricToPixelX
(width));
65
Assert.Equal(bitmap.Size.Width, GdiHelper.
HimetricToPixelX
((int)variant.data.uintVal));
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (2)
149
Assert.Equal(exclamationIcon.Width, GdiHelper.
HimetricToPixelX
(width));
170
Assert.Equal(bitmap.Width, GdiHelper.
HimetricToPixelX
(width));