37 RetainPtr<
const CPDF_Dictionary> pDict = pattern_obj()->GetDict();
38 m_bColored = pDict->GetIntegerFor(
"PaintType") == 1;
39 m_XStep = fabsf(pDict->GetFloatFor(
"XStep"));
40 m_YStep = fabsf(pDict->GetFloatFor(
"YStep"));
42 RetainPtr<CPDF_Stream> pStream = ToStream(pattern_obj());
48 std::make_unique<CPDF_Form>(
document(),
nullptr,
std::move(pStream));
55 form->ParseContent(&all_states, &matrix,
nullptr);
56 m_BBox = pDict->GetRectFor(
"BBox");
const CPDF_GeneralState & general_state() const