3 instantiations of HPEN
Microsoft.Private.Windows.Core (3)
Windows.Win32.HPEN.g.cs (3)
41
public static explicit operator HPEN(void* value) => new
HPEN
(value);
57
public static explicit operator HPEN(IntPtr value) => new
HPEN
((void*)value.ToPointer());
59
public static explicit operator HPEN(UIntPtr value) => new
HPEN
((void*)value.ToPointer());
18 references to HPEN
Microsoft.Private.Windows.Core (18)
Windows.Win32.HPEN.g.cs (14)
25
: IEquatable<
HPEN
>
35
internal static
HPEN
Null => default;
39
public static implicit operator void*(
HPEN
value) => value.Value;
41
public static explicit operator
HPEN
(void* value) => new HPEN(value);
43
public static bool operator ==(
HPEN
left,
HPEN
right) => left.Value == right.Value;
45
public static bool operator !=(
HPEN
left,
HPEN
right) => !(left == right);
47
public bool Equals(
HPEN
other) => this.Value == other.Value;
49
public override bool Equals(object obj) => obj is
HPEN
other && this.Equals(other);
55
public static implicit operator IntPtr(
HPEN
value) => new IntPtr(value.Value);
57
public static explicit operator
HPEN
(IntPtr value) => new HPEN((void*)value.ToPointer());
59
public static explicit operator
HPEN
(UIntPtr value) => new HPEN((void*)value.ToPointer());
61
public static implicit operator HGDIOBJ(
HPEN
value) => new HGDIOBJ(value.Value);
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (1)
337
internal static extern winmdroot.Graphics.Gdi.
HPEN
CreatePen(winmdroot.Graphics.Gdi.PEN_STYLE iStyle, int cWidth, winmdroot.Foundation.COLORREF color);
Windows\Win32\Graphics\Gdi\CreatePenScope.cs (3)
9
/// Helper to scope the lifetime of a <see cref="Gdi.
HPEN
"/>.
23
public
HPEN
HPEN { get; }
32
public static implicit operator
HPEN
(in CreatePenScope scope) => scope.HPEN;