7#ifndef CORE_FPDFAPI_PAGE_CPDF_TRANSFERFUNC_H_
8#define CORE_FPDFAPI_PAGE_CPDF_TRANSFERFUNC_H_
12#include "core/fxcrt/fixed_size_data_vector.h"
13#include "core/fxcrt/observed_ptr.h"
14#include "core/fxcrt/retain_ptr.h"
15#include "core/fxge/dib/fx_dib.h"
16#include "third_party/base/containers/span.h"
37 CPDF_TransferFunc(
bool bIdentify,
43 const bool m_bIdentity;
CFX_Matrix(const CFX_Matrix &other)=default
void AppendGraphicsResourceName(ByteString name)
void SetRenderIntent(const ByteString &ri)
void SetHT(RetainPtr< const CPDF_Object > pObject)
void SetBlendType(BlendMode type)
void SetUCR(RetainPtr< const CPDF_Object > pObject)
float GetStrokeAlpha() const
CPDF_GeneralState(const CPDF_GeneralState &that)
void SetTransferFunc(RetainPtr< CPDF_TransferFunc > pFunc)
float GetFillAlpha() const
RetainPtr< CPDF_TransferFunc > GetTransferFunc() const
void SetFillAlpha(float alpha)
void SetStrokeAlpha(float alpha)
void SetSmoothness(float smoothness)
void SetTR(RetainPtr< const CPDF_Object > pObject)
BlendMode GetBlendType() const
void SetStrokeAdjust(bool adjust)
RetainPtr< const CPDF_Object > GetTR() const
void SetBlendMode(const ByteString &mode)
pdfium::span< const ByteString > GetGraphicsResourceNames() const
void SetSMaskMatrix(const CFX_Matrix &matrix)
void SetGraphicsResourceNames(std::vector< ByteString > names)
const CFX_Matrix * GetSMaskMatrix() const
void SetSoftMask(RetainPtr< CPDF_Dictionary > pDict)
void SetBG(RetainPtr< const CPDF_Object > pObject)
ByteString GetBlendMode() const
CFX_Matrix * GetMutableMatrix()
void SetAlphaSource(bool source)
bool GetStrokeAdjust() const
void SetStrokeOP(bool op)
void SetTextKnockout(bool knockout)
RetainPtr< CPDF_Dictionary > GetMutableSoftMask()
RetainPtr< const CPDF_Dictionary > GetSoftMask() const
void SetFlatness(float flatness)
void SetMatrix(const CFX_Matrix &matrix)
~CPDF_TransferFunc() override
pdfium::span< const uint8_t > GetSamplesR() const
static constexpr size_t kChannelSampleSize
RetainPtr< CFX_DIBBase > TranslateImage(RetainPtr< CFX_DIBBase > pSrc)
pdfium::span< const uint8_t > GetSamplesB() const
FX_COLORREF TranslateColor(FX_COLORREF colorref) const
pdfium::span< const uint8_t > GetSamplesG() const
ByteString(const char *ptr)
constexpr uint32_t FXBSTR_ID(uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4)
#define CONSTRUCT_VIA_MAKE_RETAIN