Searched refs:rtFit (Results 1 – 2 of 2) sorted by relevance
850 CFX_RectF rtFit( in XFA_DrawImage() local856 FX_FLOAT f1 = rtImage.height / rtFit.height; in XFA_DrawImage()857 FX_FLOAT f2 = rtImage.width / rtFit.width; in XFA_DrawImage()859 rtFit.height = rtFit.height * f1; in XFA_DrawImage()860 rtFit.width = rtFit.width * f1; in XFA_DrawImage()865 FX_FLOAT f1 = rtImage.height / rtFit.height; in XFA_DrawImage()866 rtFit.height = rtImage.height; in XFA_DrawImage()867 rtFit.width = f1 * rtFit.width; in XFA_DrawImage()870 rtFit.height = rtImage.height; in XFA_DrawImage()871 rtFit.width = rtImage.width; in XFA_DrawImage()[all …]
939 CFX_RectF rtFit; in CalculateImageAutoSize() local940 if (GetWidth(rtFit.width)) { in CalculateImageAutoSize()941 GetWidthWithoutMargin(rtFit.width); in CalculateImageAutoSize()943 rtFit.width = rtImage.width; in CalculateImageAutoSize()945 if (GetHeight(rtFit.height)) { in CalculateImageAutoSize()946 GetHeightWithoutMargin(rtFit.height); in CalculateImageAutoSize()948 rtFit.height = rtImage.height; in CalculateImageAutoSize()950 size = rtFit.Size(); in CalculateImageAutoSize()968 CFX_RectF rtFit; in CalculateImageEditAutoSize() local969 if (GetWidth(rtFit.width)) { in CalculateImageEditAutoSize()[all …]