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
CXFA_FWLTheme Class Referencefinal

#include <cxfa_fwltheme.h>

Inheritance diagram for CXFA_FWLTheme:
Collaboration diagram for CXFA_FWLTheme:

Public Member Functions

 ~CXFA_FWLTheme () override
void PreFinalize ()
void Trace (cppgc::Visitor *visitor) const override
void DrawBackground (const CFWL_ThemeBackground &pParams) override
void DrawText (const CFWL_ThemeText &pParams) override
void CalcTextRect (const CFWL_ThemeText &pParams, CFX_RectF *pRect) override
float GetCXBorderSize () const override
float GetCYBorderSize () const override
CFX_RectF GetUIMargin (const CFWL_ThemePart &pThemePart) const override
float GetFontSize (const CFWL_ThemePart &pThemePart) const override
RetainPtr< CFGAS_GEFontGetFont (const CFWL_ThemePart &pThemePart) override
RetainPtr< CFGAS_GEFontGetFWLFont () override
float GetLineHeight (const CFWL_ThemePart &pThemePart) const override
float GetScrollBarWidth () const override
FX_COLORREF GetTextColor (const CFWL_ThemePart &pThemePart) const override
CFX_SizeF GetSpaceAboveBelow (const CFWL_ThemePart &pThemePart) const override
bool LoadCalendarFont (CXFA_FFDoc *doc)
Public Member Functions inherited from pdfium::IFWL_ThemeProvider
virtual ~IFWL_ThemeProvider ()
void Trace (cppgc::Visitor *visitor) const override
virtual void DrawBackground (const CFWL_ThemeBackground &pParams)=0
virtual void DrawText (const CFWL_ThemeText &pParams)=0
virtual void CalcTextRect (const CFWL_ThemeText &pParams, CFX_RectF *pRect)=0
virtual CFX_RectF GetUIMargin (const CFWL_ThemePart &pThemePart) const =0
virtual float GetFontSize (const CFWL_ThemePart &pThemePart) const =0
virtual RetainPtr< CFGAS_GEFontGetFont (const CFWL_ThemePart &pThemePart)=0
virtual float GetLineHeight (const CFWL_ThemePart &pThemePart) const =0
virtual FX_COLORREF GetTextColor (const CFWL_ThemePart &pThemePart) const =0
virtual CFX_SizeF GetSpaceAboveBelow (const CFWL_ThemePart &pThemePart) const =0

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Additional Inherited Members

Protected Member Functions inherited from pdfium::IFWL_ThemeProvider
 IFWL_ThemeProvider (cppgc::Heap *pHeap)
CFWL_WidgetTPGetTheme (const CFWL_Widget *pWidget) const

Detailed Description

Definition at line 27 of file cxfa_fwltheme.h.

Constructor & Destructor Documentation

◆ ~CXFA_FWLTheme()

pdfium::CXFA_FWLTheme::~CXFA_FWLTheme ( )
overridedefault

Member Function Documentation

◆ CalcTextRect()

void pdfium::CXFA_FWLTheme::CalcTextRect ( const CFWL_ThemeText & pParams,
CFX_RectF * pRect )
override

Definition at line 232 of file cxfa_fwltheme.cpp.

◆ DrawBackground()

void pdfium::CXFA_FWLTheme::DrawBackground ( const CFWL_ThemeBackground & pParams)
override

Definition at line 85 of file cxfa_fwltheme.cpp.

◆ DrawText()

void pdfium::CXFA_FWLTheme::DrawText ( const CFWL_ThemeText & pParams)
override

Definition at line 89 of file cxfa_fwltheme.cpp.

◆ GetCXBorderSize()

float pdfium::CXFA_FWLTheme::GetCXBorderSize ( ) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 173 of file cxfa_fwltheme.cpp.

◆ GetCYBorderSize()

float pdfium::CXFA_FWLTheme::GetCYBorderSize ( ) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 177 of file cxfa_fwltheme.cpp.

◆ GetFont()

RetainPtr< CFGAS_GEFont > pdfium::CXFA_FWLTheme::GetFont ( const CFWL_ThemePart & pThemePart)
override

Definition at line 187 of file cxfa_fwltheme.cpp.

◆ GetFontSize()

float pdfium::CXFA_FWLTheme::GetFontSize ( const CFWL_ThemePart & pThemePart) const
override

Definition at line 181 of file cxfa_fwltheme.cpp.

◆ GetFWLFont()

RetainPtr< CFGAS_GEFont > pdfium::CXFA_FWLTheme::GetFWLFont ( )
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 195 of file cxfa_fwltheme.cpp.

◆ GetLineHeight()

float pdfium::CXFA_FWLTheme::GetLineHeight ( const CFWL_ThemePart & pThemePart) const
override

Definition at line 202 of file cxfa_fwltheme.cpp.

◆ GetScrollBarWidth()

float pdfium::CXFA_FWLTheme::GetScrollBarWidth ( ) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 208 of file cxfa_fwltheme.cpp.

◆ GetSpaceAboveBelow()

CFX_SizeF pdfium::CXFA_FWLTheme::GetSpaceAboveBelow ( const CFWL_ThemePart & pThemePart) const
override

Definition at line 219 of file cxfa_fwltheme.cpp.

◆ GetTextColor()

FX_COLORREF pdfium::CXFA_FWLTheme::GetTextColor ( const CFWL_ThemePart & pThemePart) const
override

Definition at line 212 of file cxfa_fwltheme.cpp.

◆ GetUIMargin()

CFX_RectF pdfium::CXFA_FWLTheme::GetUIMargin ( const CFWL_ThemePart & pThemePart) const
override

Definition at line 147 of file cxfa_fwltheme.cpp.

◆ LoadCalendarFont()

bool pdfium::CXFA_FWLTheme::LoadCalendarFont ( CXFA_FFDoc * doc)

Definition at line 70 of file cxfa_fwltheme.cpp.

◆ PreFinalize()

void pdfium::CXFA_FWLTheme::PreFinalize ( )

Definition at line 61 of file cxfa_fwltheme.cpp.

◆ Trace()

void pdfium::CXFA_FWLTheme::Trace ( cppgc::Visitor * visitor) const
override

Definition at line 65 of file cxfa_fwltheme.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

pdfium::CXFA_FWLTheme::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 32 of file cxfa_fwltheme.h.


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