Lines Matching refs:rotated
331 void SetPageSizeAndContentRect(bool rotated, in SetPageSizeAndContentRect() argument
338 bool rotate_dst_page = rotated ^ page_orientation_mismatched; in SetPageSizeAndContentRect()
357 double src_width, double src_height, bool rotated) { in CalculateScaleFactor() argument
361 double actual_source_page_width = rotated ? src_height : src_width; in CalculateScaleFactor()
362 double actual_source_page_height = rotated ? src_width : src_height; in CalculateScaleFactor()
378 void CalculateClipBoxBoundary(FPDF_PAGE page, double scale_factor, bool rotated, in CalculateClipBoxBoundary() argument
391 clip_box->right = rotated ? paper_height : paper_width; in CalculateClipBoxBoundary()
392 clip_box->top = rotated ? paper_width : paper_height; in CalculateClipBoxBoundary()
2741 const bool rotated = (src_page_rotation % 2 == 1); in TransformPDFPageForPrinting() local
2742 SetPageSizeAndContentRect(rotated, in TransformPDFPageForPrinting()
2749 rotated ? page_size.height() : page_size.width(); in TransformPDFPageForPrinting()
2751 rotated ? page_size.width() : page_size.height(); in TransformPDFPageForPrinting()
2755 src_page_height, rotated); in TransformPDFPageForPrinting()
2759 CalculateClipBoxBoundary(page, scale_factor, rotated, &source_clip_box); in TransformPDFPageForPrinting()