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
fxge Namespace Reference

Enumerations

enum class  FontEncoding : uint32_t {
  kAdobeCustom , kAdobeExpert , kAdobeStandard , kAppleRoman ,
  kBig5 , kGB2312 , kJohab , kLatin1 ,
  kNone , kOldLatin2 , kSjis , kSymbol ,
  kUnicode , kWansung
}
 

Functions

std::tuple< float, float, float > AdobeCMYK_to_sRGB (float c, float m, float y, float k)
 
std::tuple< uint8_t, uint8_t, uint8_t > AdobeCMYK_to_sRGB1 (uint8_t c, uint8_t m, uint8_t y, uint8_t k)
 
uint32_t CalculatePitch8OrDie (uint32_t bpc, uint32_t components, int width)
 
uint32_t CalculatePitch32OrDie (int bpp, int width)
 
absl::optional< uint32_t > CalculatePitch8 (uint32_t bpc, uint32_t components, int width)
 
absl::optional< uint32_t > CalculatePitch32 (int bpp, int width)
 
int Blend (BlendMode blend_mode, int back_color, int src_color)
 
 TEST (Blend, Normal)
 
 TEST (Blend, Multiply)
 
 TEST (Blend, Screen)
 
 TEST (Blend, Overlay)
 
 TEST (Blend, Darken)
 
 TEST (Blend, Lighten)
 
 TEST (Blend, ColorDodge)
 
 TEST (Blend, ColorBurn)
 
 TEST (Blend, HardLight)
 
 TEST (Blend, SoftLight)
 
 TEST (Blend, Difference)
 
 TEST (Blend, Exclusion)
 

Enumeration Type Documentation

◆ FontEncoding

enum class fxge::FontEncoding : uint32_t
strong
Enumerator
kAdobeCustom 
kAdobeExpert 
kAdobeStandard 
kAppleRoman 
kBig5 
kGB2312 
kJohab 
kLatin1 
kNone 
kOldLatin2 
kSjis 
kSymbol 
kUnicode 
kWansung 

Definition at line 12 of file fx_fontencoding.h.

Function Documentation

◆ AdobeCMYK_to_sRGB()

std::tuple< float, float, float > fxge::AdobeCMYK_to_sRGB ( float c,
float m,
float y,
float k )

Definition at line 1725 of file cfx_cmyk_to_srgb.cpp.

References FXSYS_roundf().

+ Here is the call graph for this function:

◆ AdobeCMYK_to_sRGB1()

std::tuple< uint8_t, uint8_t, uint8_t > fxge::AdobeCMYK_to_sRGB1 ( uint8_t c,
uint8_t m,
uint8_t y,
uint8_t k )

Definition at line 1665 of file cfx_cmyk_to_srgb.cpp.

◆ Blend()

int fxge::Blend ( BlendMode blend_mode,
int back_color,
int src_color )

Definition at line 45 of file blend.cpp.

References Blend(), kColorBurn, kColorDodge, kDarken, kDifference, kExclusion, kHardLight, kLighten, kMultiply, kNormal, kOverlay, kScreen, and kSoftLight.

Referenced by Blend().

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

◆ CalculatePitch32()

absl::optional< uint32_t > fxge::CalculatePitch32 ( int bpp,
int width )

Definition at line 52 of file calculate_pitch.cpp.

◆ CalculatePitch32OrDie()

uint32_t fxge::CalculatePitch32OrDie ( int bpp,
int width )

Definition at line 39 of file calculate_pitch.cpp.

Referenced by CStretchEngine::CStretchEngine(), and CFX_DIBitmap::ConvertFormat().

+ Here is the caller graph for this function:

◆ CalculatePitch8()

absl::optional< uint32_t > fxge::CalculatePitch8 ( uint32_t bpc,
uint32_t components,
int width )

Definition at line 43 of file calculate_pitch.cpp.

◆ CalculatePitch8OrDie()

uint32_t fxge::CalculatePitch8OrDie ( uint32_t bpc,
uint32_t components,
int width )

Definition at line 35 of file calculate_pitch.cpp.

◆ TEST() [1/12]

fxge::TEST ( Blend ,
ColorBurn  )

Definition at line 103 of file blend_unittest.cpp.

◆ TEST() [2/12]

fxge::TEST ( Blend ,
ColorDodge  )

Definition at line 91 of file blend_unittest.cpp.

◆ TEST() [3/12]

fxge::TEST ( Blend ,
Darken  )

Definition at line 67 of file blend_unittest.cpp.

◆ TEST() [4/12]

fxge::TEST ( Blend ,
Difference  )

Definition at line 147 of file blend_unittest.cpp.

◆ TEST() [5/12]

fxge::TEST ( Blend ,
Exclusion  )

Definition at line 159 of file blend_unittest.cpp.

◆ TEST() [6/12]

fxge::TEST ( Blend ,
HardLight  )

Definition at line 115 of file blend_unittest.cpp.

◆ TEST() [7/12]

fxge::TEST ( Blend ,
Lighten  )

Definition at line 79 of file blend_unittest.cpp.

◆ TEST() [8/12]

fxge::TEST ( Blend ,
Multiply  )

Definition at line 24 of file blend_unittest.cpp.

◆ TEST() [9/12]

fxge::TEST ( Blend ,
Normal  )

Definition at line 12 of file blend_unittest.cpp.

◆ TEST() [10/12]

fxge::TEST ( Blend ,
Overlay  )

Definition at line 48 of file blend_unittest.cpp.

◆ TEST() [11/12]

fxge::TEST ( Blend ,
Screen  )

Definition at line 36 of file blend_unittest.cpp.

◆ TEST() [12/12]

fxge::TEST ( Blend ,
SoftLight  )

Definition at line 130 of file blend_unittest.cpp.