7#ifndef CORE_FXGE_DIB_CFX_IMAGETRANSFORMER_H_
8#define CORE_FXGE_DIB_CFX_IMAGETRANSFORMER_H_
12#include "core/fxcrt/fx_coordinates.h"
13#include "core/fxcrt/retain_ptr.h"
14#include "core/fxcrt/unowned_ptr_exclusion.h"
15#include "core/fxge/dib/cfx_bitmapstorer.h"
54 enum class StretchType {
64 void CalcAlpha(
const CalcData& calc_data);
65 void CalcMono(
const CalcData& calc_data);
66 void CalcColor(
const CalcData& calc_data,
68 int src_bytes_per_pixel);
75 std::unique_ptr<CFX_ImageStretcher> m_Stretcher;
76 CFX_BitmapStorer m_Storer;
78 StretchType m_type = StretchType::kNone;
bool Continue(PauseIndicatorIface *pPause)
CFX_AggImageRenderer(const RetainPtr< CFX_DIBitmap > &pDevice, const CFX_AggClipRgn *pClipRgn, RetainPtr< const CFX_DIBBase > source, float alpha, uint32_t mask_color, const CFX_Matrix &matrix, const FXDIB_ResampleOptions &options, bool bRgbByteOrder)
FX_RECT GetOuterRect() const
CFX_FloatRect GetUnitRect() const
CFX_Matrix(const CFX_Matrix &other)=default
#define FXARGB_MUL_ALPHA(argb, alpha)
int FXSYS_roundf(float f)
void Offset(int dx, int dy)
FX_RECT & operator=(const FX_RECT &that)=default
FX_RECT SwappedClipBox(int width, int height, bool bFlipX, bool bFlipY) const
void Intersect(const FX_RECT &src)
#define UNOWNED_PTR_EXCLUSION