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

#include <cfgas_geshading.h>

+ Collaboration diagram for CFGAS_GEShading:

Public Types

enum class  Type { kAxial = 1 , kRadial }
 

Public Member Functions

 CFGAS_GEShading (const CFX_PointF &beginPoint, const CFX_PointF &endPoint, bool isExtendedBegin, bool isExtendedEnd, FX_ARGB beginArgb, FX_ARGB endArgb)
 
 CFGAS_GEShading (const CFX_PointF &beginPoint, const CFX_PointF &endPoint, float beginRadius, float endRadius, bool isExtendedBegin, bool isExtendedEnd, FX_ARGB beginArgb, FX_ARGB endArgb)
 
 ~CFGAS_GEShading ()
 
Type GetType () const
 
CFX_PointF GetBeginPoint () const
 
CFX_PointF GetEndPoint () const
 
float GetBeginRadius () const
 
float GetEndRadius () const
 
bool IsExtendedBegin () const
 
bool IsExtendedEnd () const
 
FX_ARGB GetArgb (size_t index) const
 

Static Public Attributes

static constexpr size_t kSteps = 256
 

Detailed Description

Definition at line 15 of file cfgas_geshading.h.

Member Enumeration Documentation

◆ Type

enum class CFGAS_GEShading::Type
strong
Enumerator
kAxial 
kRadial 

Definition at line 17 of file cfgas_geshading.h.

Constructor & Destructor Documentation

◆ CFGAS_GEShading() [1/2]

CFGAS_GEShading::CFGAS_GEShading ( const CFX_PointF & beginPoint,
const CFX_PointF & endPoint,
bool isExtendedBegin,
bool isExtendedEnd,
FX_ARGB beginArgb,
FX_ARGB endArgb )

Definition at line 9 of file cfgas_geshading.cpp.

References CFGAS_GEShading(), and kAxial.

Referenced by CFGAS_GEShading().

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

◆ CFGAS_GEShading() [2/2]

CFGAS_GEShading::CFGAS_GEShading ( const CFX_PointF & beginPoint,
const CFX_PointF & endPoint,
float beginRadius,
float endRadius,
bool isExtendedBegin,
bool isExtendedEnd,
FX_ARGB beginArgb,
FX_ARGB endArgb )

Definition at line 25 of file cfgas_geshading.cpp.

References CFGAS_GEShading(), and kRadial.

Referenced by CFGAS_GEShading().

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

◆ ~CFGAS_GEShading()

CFGAS_GEShading::~CFGAS_GEShading ( )
default

Member Function Documentation

◆ GetArgb()

FX_ARGB CFGAS_GEShading::GetArgb ( size_t index) const
inline

Definition at line 48 of file cfgas_geshading.h.

◆ GetBeginPoint()

CFX_PointF CFGAS_GEShading::GetBeginPoint ( ) const
inline

Definition at line 42 of file cfgas_geshading.h.

◆ GetBeginRadius()

float CFGAS_GEShading::GetBeginRadius ( ) const
inline

Definition at line 44 of file cfgas_geshading.h.

◆ GetEndPoint()

CFX_PointF CFGAS_GEShading::GetEndPoint ( ) const
inline

Definition at line 43 of file cfgas_geshading.h.

◆ GetEndRadius()

float CFGAS_GEShading::GetEndRadius ( ) const
inline

Definition at line 45 of file cfgas_geshading.h.

◆ GetType()

Type CFGAS_GEShading::GetType ( ) const
inline

Definition at line 41 of file cfgas_geshading.h.

◆ IsExtendedBegin()

bool CFGAS_GEShading::IsExtendedBegin ( ) const
inline

Definition at line 46 of file cfgas_geshading.h.

◆ IsExtendedEnd()

bool CFGAS_GEShading::IsExtendedEnd ( ) const
inline

Definition at line 47 of file cfgas_geshading.h.

Member Data Documentation

◆ kSteps

size_t CFGAS_GEShading::kSteps = 256
staticconstexpr

Definition at line 19 of file cfgas_geshading.h.


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