21 references to SizeInPoints
System.Drawing.Common.Tests (1)
System\Drawing\FontTests.cs (1)
687float sizeInPoints = font.SizeInPoints;
System.Windows.Forms (11)
System\Windows\Forms\ActiveX\AxHost.cs (2)
3647cySize = (CY)font.SizeInPoints, 3745: new(f.Name, f.SizeInPoints, f.Style, GraphicsUnit.Point, f.GdiCharSet, f.GdiVerticalFont);
System\Windows\Forms\ActiveX\Control.ActiveXFontMarshaler.cs (1)
41cySize = (CY)font.SizeInPoints,
System\Windows\Forms\ComponentModel\COM2Interop\COM2FontConverter.cs (2)
119if (source.SizeInPoints != (float)target->Size) 121target->Size = (CY)source.SizeInPoints;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2763yHeight = (int)(value.SizeInPoints * 20),
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
141float actualSize = result.SizeInPoints;
System\Windows\Forms\Help\Help.cs (1)
89string captionFont = $"{font.Name}, {font.SizeInPoints}, , {(font.Bold ? "BOLD" : "")}{(font.Italic ? "ITALIC" : "")}{(font.Underline ? "UNDERLINE" : "")}";
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2064font.SizeInPoints,
System\Windows\Forms\Rendering\FontCache.Data.cs (2)
78Debug.Assert(font.SizeInPoints > 0.0f, "size has a negative value."); 83int pixelsY = (int)Math.Ceiling(ScaleHelper.InitialSystemDpi * font.SizeInPoints / 72);
System.Windows.Forms.Primitives.Tests (2)
Interop\User32\SystemParametersInfoWTests.cs (2)
36Assert.Equal(expected.SizeInPoints, actual.SizeInPoints);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ApplicationTests.cs (2)
642Assert.Equal(expected.SizeInPoints, actual.SizeInPoints);
System\Windows\Forms\Control.ActiveXFontMarshallerTests.cs (1)
32Assert.Equal(11.25f, outFont.SizeInPoints);
System\Windows\Forms\FontDialogTests.cs (2)
251Assert.Equal(100, result.SizeInPoints); 269Assert.Equal(1, result.SizeInPoints);
System\Windows\Forms\RichTextBoxTests.cs (1)
1627Assert.Equal((int)(Control.DefaultFont.SizeInPoints * 20), format1.yHeight);
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
213return font.SizeInPoints * Convert.systemWindowsPixelsPerInch / Convert.systemDrawingPixelsPerInch;