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

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

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

Go to the source code of this file.

Functions

FXDIB_Format MakeRGBFormat (int bpp)
 
std::tuple< int, int, int, int > ArgbDecode (FX_ARGB argb)
 
std::pair< int, 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 57 of file fx_dib.cpp.

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

Referenced by CXFA_Stipple::Draw().

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

◆ ArgbDecode()

std::tuple< int, int, int, int > ArgbDecode ( FX_ARGB argb)

Definition at line 44 of file fx_dib.cpp.

◆ ArgbToAlphaAndColorRef()

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

Definition at line 49 of file fx_dib.cpp.

References ArgbToColorRef().

+ Here is the call graph for this function:

◆ ArgbToColorRef()

FX_COLORREF ArgbToColorRef ( FX_ARGB argb)

Definition at line 53 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:

◆ MakeRGBFormat()

FXDIB_Format MakeRGBFormat ( int bpp)

Definition at line 23 of file fx_dib.cpp.

References k1bppRgb, k8bppRgb, kInvalid, kRgb, and kRgb32.