11 references to GdiHelper
System.Windows.Forms.Primitives.Tests (7)
Interop\Ole32\IPictureTests.cs (6)
26
Assert.Equal(arrow.Size.Height,
GdiHelper
.HimetricToPixelY(height));
28
Assert.Equal(arrow.Size.Width,
GdiHelper
.HimetricToPixelX(width));
43
Assert.Equal(bitmap.Size.Height,
GdiHelper
.HimetricToPixelY(height));
45
Assert.Equal(bitmap.Size.Width,
GdiHelper
.HimetricToPixelX(width));
62
Assert.Equal(bitmap.Size.Height,
GdiHelper
.HimetricToPixelY((int)variant.data.uintVal));
65
Assert.Equal(bitmap.Size.Width,
GdiHelper
.HimetricToPixelX((int)variant.data.uintVal));
Windows\Win32\System\Com\IDispatchTests.cs (1)
74
Assert.Equal(16,
GdiHelper
.HimetricToPixelY(varResult.data.intVal));
System.Windows.Forms.Tests (4)
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (4)
148
Assert.Equal(exclamationIcon.Height,
GdiHelper
.HimetricToPixelY(height));
149
Assert.Equal(exclamationIcon.Width,
GdiHelper
.HimetricToPixelX(width));
169
Assert.Equal(bitmap.Height,
GdiHelper
.HimetricToPixelY(height));
170
Assert.Equal(bitmap.Width,
GdiHelper
.HimetricToPixelX(width));