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_CSSLength Class Reference

#include <cfx_css.h>

+ Collaboration diagram for CFX_CSSLength:

Public Member Functions

 CFX_CSSLength ()=default
 
 CFX_CSSLength (CFX_CSSLengthUnit eUnit, float fValue)
 
CFX_CSSLengthSet (CFX_CSSLengthUnit eUnit)
 
CFX_CSSLengthSet (CFX_CSSLengthUnit eUnit, float fValue)
 
CFX_CSSLengthUnit GetUnit () const
 
float GetValue () const
 
bool NonZero () const
 

Detailed Description

Definition at line 96 of file cfx_css.h.

Constructor & Destructor Documentation

◆ CFX_CSSLength() [1/2]

CFX_CSSLength::CFX_CSSLength ( )
default

◆ CFX_CSSLength() [2/2]

CFX_CSSLength::CFX_CSSLength ( CFX_CSSLengthUnit eUnit,
float fValue )
inline

Definition at line 100 of file cfx_css.h.

Referenced by CFX_CSSRect::CFX_CSSRect().

+ Here is the caller graph for this function:

Member Function Documentation

◆ GetUnit()

CFX_CSSLengthUnit CFX_CSSLength::GetUnit ( ) const
inline

Definition at line 114 of file cfx_css.h.

◆ GetValue()

float CFX_CSSLength::GetValue ( ) const
inline

Definition at line 116 of file cfx_css.h.

◆ NonZero()

bool CFX_CSSLength::NonZero ( ) const
inline

Definition at line 117 of file cfx_css.h.

◆ Set() [1/2]

CFX_CSSLength & CFX_CSSLength::Set ( CFX_CSSLengthUnit eUnit)
inline

Definition at line 103 of file cfx_css.h.

Referenced by CFX_CSSRect::Set().

+ Here is the caller graph for this function:

◆ Set() [2/2]

CFX_CSSLength & CFX_CSSLength::Set ( CFX_CSSLengthUnit eUnit,
float fValue )
inline

Definition at line 108 of file cfx_css.h.

Referenced by CXFA_TextParser::CreateRootStyle(), and CFX_CSSRect::Set().

+ Here is the caller graph for this function:

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