1 write to HPEN
System.Private.Windows.Core (1)
Windows\Win32\Graphics\Gdi\CreatePenScope.cs (1)
30HPEN = PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, width, color);
5 references to HPEN
System.Private.Windows.Core (5)
Windows\Win32\Graphics\Gdi\CreatePenScope.cs (5)
32public static implicit operator HPEN(in CreatePenScope scope) => scope.HPEN; 33public static implicit operator HGDIOBJ(in CreatePenScope scope) => (HGDIOBJ)scope.HPEN.Value; 35public bool IsNull => HPEN.IsNull; 39if (!HPEN.IsNull) 41PInvokeCore.DeleteObject(HPEN);