7#include "core/fxge/dib/fx_dib.h"
13#include "build/build_config.h"
20static_assert(
sizeof(FX_COLORREF) ==
sizeof(COLORREF),
21 "FX_COLORREF vs. COLORREF mismatch");
25static_assert(
sizeof(FX_RGB_STRUCT<uint8_t>) == 3u);
26static_assert(
sizeof(FX_BGR_STRUCT<uint8_t>) == 3u);
27static_assert(
sizeof(FX_ARGB_STRUCT<uint8_t>) == 4u);
28static_assert(
sizeof(FX_ABGR_STRUCT<uint8_t>) == 4u);
29static_assert(
sizeof(FX_RGBA_STRUCT<uint8_t>) == 4u);
30static_assert(
sizeof(FX_BGRA_STRUCT<uint8_t>) == 4u);
31static_assert(
sizeof(FX_CMYK_STRUCT<uint8_t>) == 4u);
34static_assert(std::is_aggregate_v<FX_RGB_STRUCT<
float>>);
35static_assert(std::is_aggregate_v<FX_BGR_STRUCT<
float>>);
36static_assert(std::is_aggregate_v<FX_ARGB_STRUCT<
float>>);
37static_assert(std::is_aggregate_v<FX_ABGR_STRUCT<
float>>);
38static_assert(std::is_aggregate_v<FX_RGBA_STRUCT<
float>>);
39static_assert(std::is_aggregate_v<FX_BGRA_STRUCT<
float>>);
40static_assert(std::is_aggregate_v<FX_CMYK_STRUCT<
float>>);
FX_BGRA_STRUCT< uint8_t > ArgbToBGRAStruct(FX_ARGB argb)
constexpr uint32_t FXSYS_BGR(uint8_t b, uint8_t g, uint8_t r)
std::pair< uint8_t, FX_COLORREF > ArgbToAlphaAndColorRef(FX_ARGB argb)
FX_BGR_STRUCT< uint8_t > ArgbToBGRStruct(FX_ARGB argb)
FX_ARGB AlphaAndColorRefToArgb(int a, FX_COLORREF colorref)
constexpr FX_ARGB ArgbEncode(uint32_t a, uint32_t r, uint32_t g, uint32_t b)
constexpr uint8_t FXSYS_GetRValue(uint32_t bgr)
FX_COLORREF ArgbToColorRef(FX_ARGB argb)
constexpr uint8_t FXSYS_GetGValue(uint32_t bgr)
constexpr uint8_t FXSYS_GetBValue(uint32_t bgr)
bool HasAnyOptions() const
bool bInterpolateBilinear