Lines Matching refs:rcOriginalMB
256 CFX_FloatRect rcOriginalMB = pPageDict->GetRectFor("MediaBox"); in FPDFPage_Flatten() local
258 rcOriginalMB = pPageDict->GetRectFor("CropBox"); in FPDFPage_Flatten()
260 if (rcOriginalMB.IsEmpty()) in FPDFPage_Flatten()
261 rcOriginalMB = CFX_FloatRect(0.0f, 0.0f, 612.0f, 792.0f); in FPDFPage_Flatten()
263 rcMerger.left = std::max(rcMerger.left, rcOriginalMB.left); in FPDFPage_Flatten()
264 rcMerger.right = std::min(rcMerger.right, rcOriginalMB.right); in FPDFPage_Flatten()
265 rcMerger.bottom = std::max(rcMerger.bottom, rcOriginalMB.bottom); in FPDFPage_Flatten()
266 rcMerger.top = std::min(rcMerger.top, rcOriginalMB.top); in FPDFPage_Flatten()
270 rcOriginalCB = rcOriginalMB; in FPDFPage_Flatten()
272 if (!rcOriginalMB.IsEmpty()) { in FPDFPage_Flatten()
274 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.left); in FPDFPage_Flatten()
275 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.bottom); in FPDFPage_Flatten()
276 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.right); in FPDFPage_Flatten()
277 pMediaBox->AddNew<CPDF_Number>(rcOriginalMB.top); in FPDFPage_Flatten()