Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::Windows::FontHandle Class Reference

#include <HWHandles.h>

Inheritance diagram for Harlinn::Windows::FontHandle:
[legend]
Collaboration diagram for Harlinn::Windows::FontHandle:
[legend]

Public Types

using Base = Handle<FontHandle, HFONT>
 
- Public Types inherited from Harlinn::Common::Core::Handle< FontHandle, HFONT >
using DerivedType
 
using HandleType
 

Public Member Functions

constexpr FontHandle () noexcept
 
constexpr FontHandle (HFONT handle, bool ownsHandle=true) noexcept
 
void Close () noexcept
 
- Public Member Functions inherited from Harlinn::Common::Core::Handle< FontHandle, HFONT >
 Handle (const Handle &other)=delete
 
 Handle (Handle &&other) noexcept
 
virtual ~Handle () noexcept
 
constexpr bool IsValid () const noexcept
 
Handleoperator= (Handle &other)=delete
 
Handleoperator= (Handle &&other) noexcept
 
constexpr auto operator<=> (const Handle &other) const noexcept
 
constexpr auto operator<=> (HandleType handle) const noexcept
 
constexpr bool operator== (const Handle &other) const noexcept
 
constexpr bool operator== (HandleType handle) const noexcept
 
constexpr operator HandleType () const noexcept
 
constexpr HandleType Value () const noexcept
 
constexpr bool OwnsHandle () const noexcept
 

Friends

class DeviceContextHandle
 

Additional Inherited Members

- Static Public Member Functions inherited from Harlinn::Common::Core::Handle< FontHandle, HFONT >
static constexpr HandleType InvalidHandleValue () noexcept
 
- Protected Member Functions inherited from Harlinn::Common::Core::Handle< FontHandle, HFONT >
constexpr Handle () noexcept
 
constexpr Handle (HandleType handle, bool ownsHandle=true) noexcept
 
void SetValue (HandleType handle, bool ownsHandle=true)
 
- Protected Attributes inherited from Harlinn::Common::Core::Handle< FontHandle, HFONT >
HandleType value_
 

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ FontHandle() [1/2]

Harlinn::Windows::FontHandle::FontHandle ( )
inlineconstexprnoexcept

◆ FontHandle() [2/2]

Harlinn::Windows::FontHandle::FontHandle ( HFONT handle,
bool ownsHandle = true )
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ Close()

void Harlinn::Windows::FontHandle::Close ( )
inlinenoexcept

Friends And Related Symbol Documentation

◆ DeviceContextHandle

friend class DeviceContextHandle
friend

The documentation for this class was generated from the following file: