Searched refs:rtFit (Results 1 – 2 of 2) sorted by relevance
92 CFX_RectF rtFit(rtImage.TopLeft(), in XFA_DrawImage() local97 float f1 = rtImage.height / rtFit.height; in XFA_DrawImage()98 float f2 = rtImage.width / rtFit.width; in XFA_DrawImage()100 rtFit.height = rtFit.height * f1; in XFA_DrawImage()101 rtFit.width = rtFit.width * f1; in XFA_DrawImage()105 float f1 = rtImage.height / rtFit.height; in XFA_DrawImage()106 rtFit.height = rtImage.height; in XFA_DrawImage()107 rtFit.width = f1 * rtFit.width; in XFA_DrawImage()111 rtFit.height = rtImage.height; in XFA_DrawImage()112 rtFit.width = rtImage.width; in XFA_DrawImage()[all …]
3352 CFX_RectF rtFit; in CalculateImageSize() local3355 rtFit.width = *width; in CalculateImageSize()3356 GetWidthWithoutMargin(rtFit.width); in CalculateImageSize()3358 rtFit.width = rtImage.width; in CalculateImageSize()3363 rtFit.height = *height; in CalculateImageSize()3364 GetHeightWithoutMargin(rtFit.height); in CalculateImageSize()3366 rtFit.height = rtImage.height; in CalculateImageSize()3369 return rtFit.Size(); in CalculateImageSize()