Rise
The Vieneo Province
Loading...
Searching...
No Matches
Rendering::RenderFont Class Referencefinal

#include <ClientRenderer11.h>

Inheritance diagram for Rendering::RenderFont:
[legend]
Collaboration diagram for Rendering::RenderFont:
[legend]

Public Member Functions

 RenderFont (RenderDevice &owner)
HRESULT Initialize (const LOGFONTW &description)
INT DrawTextW (RenderSprite *sprite, const wchar_t *text, INT count, RECT *rectangle, DWORD flags, PackedColor color)
INT DrawFixedTextW (RenderSprite *sprite, const wchar_t *text, INT count, RECT *rectangle, DWORD flags, PackedColor color)
INT DrawTextA (RenderSprite *sprite, const char *text, INT count, RECT *rectangle, DWORD flags, PackedColor color)
HDC GetDC () const
BOOL GetTextMetricsW (TEXTMETRICW *result) const
HRESULT OnLostDevice ()
HRESULT OnResetDevice ()
Public Member Functions inherited from Rendering::RenderResource
ULONG AddRef ()
ULONG Release ()
virtual ~RenderResource ()=default

Private Attributes

RenderDevice & owner
Font11 font
std::unique_ptr< RenderSprite > automatic

Detailed Description

Definition at line 221 of file ClientRenderer11.h.

Constructor & Destructor Documentation

◆ RenderFont()

Rendering::RenderFont::RenderFont ( RenderDevice & owner)
inlineexplicit

Definition at line 224 of file ClientRenderer11.h.

Member Function Documentation

◆ DrawFixedTextW()

INT Rendering::RenderFont::DrawFixedTextW ( RenderSprite * sprite,
const wchar_t * text,
INT count,
RECT * rectangle,
DWORD flags,
PackedColor color )

Definition at line 243 of file ClientResources11.cpp.

Here is the call graph for this function:

◆ DrawTextA()

INT Rendering::RenderFont::DrawTextA ( RenderSprite * sprite,
const char * text,
INT count,
RECT * rectangle,
DWORD flags,
PackedColor color )

Definition at line 248 of file ClientResources11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawTextW()

INT Rendering::RenderFont::DrawTextW ( RenderSprite * sprite,
const wchar_t * text,
INT count,
RECT * rectangle,
DWORD flags,
PackedColor color )

Definition at line 236 of file ClientResources11.cpp.

Here is the call graph for this function:

◆ GetDC()

HDC Rendering::RenderFont::GetDC ( ) const
inline

Definition at line 229 of file ClientRenderer11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTextMetricsW()

BOOL Rendering::RenderFont::GetTextMetricsW ( TEXTMETRICW * result) const
inline

Definition at line 230 of file ClientRenderer11.h.

Here is the call graph for this function:

◆ Initialize()

HRESULT Rendering::RenderFont::Initialize ( const LOGFONTW & description)
inline

Definition at line 225 of file ClientRenderer11.h.

Here is the call graph for this function:

◆ OnLostDevice()

HRESULT Rendering::RenderFont::OnLostDevice ( )
inline

Definition at line 231 of file ClientRenderer11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnResetDevice()

HRESULT Rendering::RenderFont::OnResetDevice ( )
inline

Definition at line 232 of file ClientRenderer11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ automatic

std::unique_ptr<RenderSprite> Rendering::RenderFont::automatic
private

Definition at line 236 of file ClientRenderer11.h.

◆ font

Font11 Rendering::RenderFont::font
private

Definition at line 235 of file ClientRenderer11.h.

◆ owner

RenderDevice& Rendering::RenderFont::owner
private

Definition at line 234 of file ClientRenderer11.h.


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