7#include "core/fpdfapi/page/cpdf_pattern.h"
11#include "core/fpdfapi/parser/cpdf_dictionary.h"
12#include "third_party/base/check.h"
19 m_ParentMatrix
(parentMatrix
) {
21 DCHECK(m_pPatternObj);
35 RetainPtr<
const CPDF_Dictionary> pDict = pattern_obj()->GetDict();
36 m_Pattern2Form = pDict->GetMatrixFor(
"Matrix") * m_ParentMatrix;
CFX_Matrix(const CFX_Matrix &other)=default
void SetPatternToFormMatrix()
virtual CPDF_ShadingPattern * AsShadingPattern()
virtual CPDF_TilingPattern * AsTilingPattern()
CPDF_Pattern(CPDF_Document *pDoc, RetainPtr< CPDF_Object > pObj, const CFX_Matrix &parentMatrix)