4 references to ToLogFont
System.Drawing.Common.Tests (4)
System\Drawing\FontTests.cs (4)
741
font.
ToLogFont
(logFont, graphics);
767
Assert.Throws<ArgumentNullException>(() => font.
ToLogFont
(null, graphics));
775
AssertExtensions.Throws<ArgumentNullException>("graphics", () => font.
ToLogFont
(new LOGFONT(), null));
787
Assert.Throws<ArgumentException>(() => font.
ToLogFont
(new LOGFONT(), graphics));