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