11 references to GdiHelper
System.Windows.Forms.Primitives.Tests (7)
Interop\Ole32\IPictureTests.cs (6)
27
Assert.Equal(arrow.Size.Height,
GdiHelper
.HimetricToPixelY(height));
29
Assert.Equal(arrow.Size.Width,
GdiHelper
.HimetricToPixelX(width));
44
Assert.Equal(bitmap.Size.Height,
GdiHelper
.HimetricToPixelY(height));
46
Assert.Equal(bitmap.Size.Width,
GdiHelper
.HimetricToPixelX(width));
63
Assert.Equal(bitmap.Size.Height,
GdiHelper
.HimetricToPixelY((int)variant.data.uintVal));
66
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));