Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_TextRenderOptions Struct Reference

#include <cfx_textrenderoptions.h>

+ Collaboration diagram for CFX_TextRenderOptions:

Public Types

enum  AliasingType { kAliasing , kAntiAliasing , kLcd }
 

Public Member Functions

constexpr CFX_TextRenderOptions ()=default
 
constexpr CFX_TextRenderOptions (AliasingType type)
 
constexpr CFX_TextRenderOptions (const CFX_TextRenderOptions &other)=default
 
CFX_TextRenderOptionsoperator= (const CFX_TextRenderOptions &other)=default
 
bool IsSmooth () const
 

Public Attributes

AliasingType aliasing_type = kAntiAliasing
 
bool font_is_cid = false
 
bool native_text = true
 

Detailed Description

Definition at line 8 of file cfx_textrenderoptions.h.

Member Enumeration Documentation

◆ AliasingType

Enumerator
kAliasing 
kAntiAliasing 
kLcd 

Definition at line 12 of file cfx_textrenderoptions.h.

Constructor & Destructor Documentation

◆ CFX_TextRenderOptions() [1/3]

CFX_TextRenderOptions::CFX_TextRenderOptions ( )
constexprdefault

◆ CFX_TextRenderOptions() [2/3]

CFX_TextRenderOptions::CFX_TextRenderOptions ( AliasingType type)
inlineexplicitconstexpr

Definition at line 24 of file cfx_textrenderoptions.h.

References aliasing_type.

Referenced by CFDE_TextOut::DrawString(), and CBC_OneDimWriter::GetTextRenderOptions().

+ Here is the caller graph for this function:

◆ CFX_TextRenderOptions() [3/3]

CFX_TextRenderOptions::CFX_TextRenderOptions ( const CFX_TextRenderOptions & other)
constexprdefault

Referenced by CFX_RenderDevice::DrawNormalText().

+ Here is the caller graph for this function:

Member Function Documentation

◆ IsSmooth()

bool CFX_TextRenderOptions::IsSmooth ( ) const
inline

Definition at line 31 of file cfx_textrenderoptions.h.

References aliasing_type, kAntiAliasing, and kLcd.

Referenced by CFX_RenderDevice::DrawNormalText().

+ Here is the caller graph for this function:

◆ operator=()

CFX_TextRenderOptions & CFX_TextRenderOptions::operator= ( const CFX_TextRenderOptions & other)
default

Member Data Documentation

◆ aliasing_type

AliasingType CFX_TextRenderOptions::aliasing_type = kAntiAliasing

◆ font_is_cid

bool CFX_TextRenderOptions::font_is_cid = false

Definition at line 39 of file cfx_textrenderoptions.h.

Referenced by operator==().

◆ native_text

bool CFX_TextRenderOptions::native_text = true

Definition at line 42 of file cfx_textrenderoptions.h.

Referenced by CFX_RenderDevice::DrawNormalText(), and operator==().


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