Lines Matching refs:rcOriginalMB
263 CFX_FloatRect rcOriginalMB = pPageDict->GetRectFor("MediaBox"); in FPDFPage_Flatten() local
265 rcOriginalMB = pPageDict->GetRectFor("CropBox"); in FPDFPage_Flatten()
267 if (rcOriginalMB.IsEmpty()) in FPDFPage_Flatten()
268 rcOriginalMB = CFX_FloatRect(0.0f, 0.0f, 612.0f, 792.0f); in FPDFPage_Flatten()
270 rcMerger.left = std::max(rcMerger.left, rcOriginalMB.left); in FPDFPage_Flatten()
271 rcMerger.right = std::min(rcMerger.right, rcOriginalMB.right); in FPDFPage_Flatten()
272 rcMerger.bottom = std::max(rcMerger.bottom, rcOriginalMB.bottom); in FPDFPage_Flatten()
273 rcMerger.top = std::min(rcMerger.top, rcOriginalMB.top); in FPDFPage_Flatten()
277 rcOriginalCB = rcOriginalMB; in FPDFPage_Flatten()
279 if (!rcOriginalMB.IsEmpty()) { in FPDFPage_Flatten()
281 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.left); in FPDFPage_Flatten()
282 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.bottom); in FPDFPage_Flatten()
283 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.right); in FPDFPage_Flatten()
284 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.top); in FPDFPage_Flatten()