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

FX_RGB_STRUCT< float > AdobeCMYK_to_sRGB (float c, float m, float y, float k)
FX_RGB_STRUCT< uint8_t > AdobeCMYK_to_sRGB1 (uint8_t c, uint8_t m, uint8_t y, uint8_t k)
std::optional< uint32_t > CalculatePitch8 (uint32_t bits_per_component, uint32_t components_per_pixel, int width_in_pixels)
std::optional< uint32_t > CalculatePitch32 (int bits_per_pixel, int width_in_pixels)
uint32_t CalculatePitch8OrDie (uint32_t bits_per_component, uint32_t components_per_pixel, int width_in_pixels)
uint32_t CalculatePitch32OrDie (int bits_per_pixel, int width_in_pixels)
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()

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

Definition at line 1736 of file cfx_cmyk_to_srgb.cpp.

References FXSYS_roundf().

Here is the call graph for this function:

◆ AdobeCMYK_to_sRGB1()

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

Definition at line 1670 of file cfx_cmyk_to_srgb.cpp.

◆ Blend()

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

Definition at line 47 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()

std::optional< uint32_t > fxge::CalculatePitch32 ( int bits_per_pixel,
int width_in_pixels )

Definition at line 57 of file calculate_pitch.cpp.

◆ CalculatePitch32OrDie()

uint32_t fxge::CalculatePitch32OrDie ( int bits_per_pixel,
int width_in_pixels )

Definition at line 43 of file calculate_pitch.cpp.

Referenced by CStretchEngine::CStretchEngine().

Here is the caller graph for this function:

◆ CalculatePitch8()

std::optional< uint32_t > fxge::CalculatePitch8 ( uint32_t bits_per_component,
uint32_t components_per_pixel,
int width_in_pixels )

Definition at line 47 of file calculate_pitch.cpp.

◆ CalculatePitch8OrDie()

uint32_t fxge::CalculatePitch8OrDie ( uint32_t bits_per_component,
uint32_t components_per_pixel,
int width_in_pixels )

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.