#include "core/fxge/agg/cfx_agg_bitmapcomposer.h"
#include <stddef.h>
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/fx_2d_size.h"
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/stl_util.h"
#include "core/fxge/agg/cfx_agg_cliprgn.h"
#include "core/fxge/dib/cfx_dibitmap.h"
CFX_AggBitmapComposer::CFX_AggBitmapComposer() = default;
CFX_AggBitmapComposer::~CFX_AggBitmapComposer() = default;
void CFX_AggBitmapComposer::Compose(const RetainPtr<CFX_DIBitmap>& pDest,
const CFX_AggClipRgn* pClipRgn,
float alpha,
uint32_t mask_color,
const FX_RECT& dest_rect,
bool bVertical,
bool bFlipX,
bool bFlipY,
bool bRgbByteOrder,
BlendMode blend_mode) { … }
bool CFX_AggBitmapComposer::SetInfo(int width,
int height,
FXDIB_Format src_format,
DataVector<uint32_t> src_palette) { … }
void CFX_AggBitmapComposer::DoCompose(pdfium::span<uint8_t> dest_scan,
pdfium::span<const uint8_t> src_scan,
int dest_width,
pdfium::span<const uint8_t> clip_scan) { … }
void CFX_AggBitmapComposer::ComposeScanline(
int line,
pdfium::span<const uint8_t> scanline) { … }
void CFX_AggBitmapComposer::ComposeScanlineV(
int line,
pdfium::span<const uint8_t> scanline) { … }