7#ifndef CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
8#define CORE_FPDFAPI_RENDER_CPDF_TYPE3CACHE_H_
16#include "core/fxcrt/bytestring.h"
17#include "core/fxcrt/observed_ptr.h"
18#include "core/fxcrt/retain_ptr.h"
33 using SizeKey =
std::tuple<
int,
int,
int,
int>;
35 explicit CPDF_Type3Cache(CPDF_Type3Font* pFont);
43 std::map<SizeKey, std::unique_ptr<CPDF_Type3GlyphMap>> m_SizeMap;
RetainPtr< CPDF_TransferFunc > GetTransferFunc(RetainPtr< const CPDF_Object > pObj)
RetainPtr< CPDF_TransferFunc > CreateTransferFunc(RetainPtr< const CPDF_Object > pObj) const
static CPDF_DocRenderData * FromDocument(const CPDF_Document *pDoc)
RetainPtr< CPDF_Type3Cache > GetCachedType3(CPDF_Type3Font *pFont)
~CPDF_DocRenderData() override
RenderDataIface * GetRenderData() const
~CPDF_Type3Cache() override
const CFX_GlyphBitmap * LoadGlyph(uint32_t charcode, const CFX_Matrix &mtMatrix)
#define CONSTRUCT_VIA_MAKE_RETAIN