Searched refs:rtFit (Results 1 – 2 of 2) sorted by relevance
84 CFX_RectF rtFit(rtImage.TopLeft(), in XFA_DrawImage() local89 float f1 = rtImage.height / rtFit.height; in XFA_DrawImage()90 float f2 = rtImage.width / rtFit.width; in XFA_DrawImage()92 rtFit.height = rtFit.height * f1; in XFA_DrawImage()93 rtFit.width = rtFit.width * f1; in XFA_DrawImage()97 float f1 = rtImage.height / rtFit.height; in XFA_DrawImage()98 rtFit.height = rtImage.height; in XFA_DrawImage()99 rtFit.width = f1 * rtFit.width; in XFA_DrawImage()103 rtFit.height = rtImage.height; in XFA_DrawImage()104 rtFit.width = rtImage.width; in XFA_DrawImage()[all …]
3389 CFX_RectF rtFit; in CalculateImageSize() local3392 rtFit.width = width.value(); in CalculateImageSize()3393 GetWidthWithoutMargin(rtFit.width); in CalculateImageSize()3395 rtFit.width = rtImage.width; in CalculateImageSize()3400 rtFit.height = height.value(); in CalculateImageSize()3401 GetHeightWithoutMargin(rtFit.height); in CalculateImageSize()3403 rtFit.height = rtImage.height; in CalculateImageSize()3406 return rtFit.Size(); in CalculateImageSize()