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
fx_dib.cpp File Reference

(0ccf980226462398d5097987466bcffd8236e1e9)

#include "core/fxge/dib/fx_dib.h"
#include <tuple>
#include <type_traits>
#include <utility>
#include "build/build_config.h"
Include dependency graph for fx_dib.cpp:

Go to the source code of this file.

Functions

FX_BGRA_STRUCT< uint8_t > ArgbToBGRAStruct (FX_ARGB argb)
FX_BGR_STRUCT< uint8_t > ArgbToBGRStruct (FX_ARGB argb)
std::pair< uint8_t, FX_COLORREFArgbToAlphaAndColorRef (FX_ARGB argb)
FX_COLORREF ArgbToColorRef (FX_ARGB argb)
FX_ARGB AlphaAndColorRefToArgb (int a, FX_COLORREF colorref)

Function Documentation

◆ AlphaAndColorRefToArgb()

FX_ARGB AlphaAndColorRefToArgb ( int a,
FX_COLORREF colorref )

Definition at line 64 of file fx_dib.cpp.

References ArgbEncode(), FXSYS_GetBValue(), FXSYS_GetGValue(), and FXSYS_GetRValue().

Here is the call graph for this function:

◆ ArgbToAlphaAndColorRef()

std::pair< uint8_t, FX_COLORREF > ArgbToAlphaAndColorRef ( FX_ARGB argb)

Definition at line 56 of file fx_dib.cpp.

References ArgbToColorRef().

Here is the call graph for this function:

◆ ArgbToBGRAStruct()

FX_BGRA_STRUCT< uint8_t > ArgbToBGRAStruct ( FX_ARGB argb)

Definition at line 48 of file fx_dib.cpp.

◆ ArgbToBGRStruct()

FX_BGR_STRUCT< uint8_t > ArgbToBGRStruct ( FX_ARGB argb)

Definition at line 52 of file fx_dib.cpp.

◆ ArgbToColorRef()

FX_COLORREF ArgbToColorRef ( FX_ARGB argb)

Definition at line 60 of file fx_dib.cpp.

References FXSYS_BGR().

Referenced by ArgbToAlphaAndColorRef(), CPDFSDK_Widget::GetBorderColor(), and CPDFSDK_Widget::GetFillColor().

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