Lines Matching refs:rtFit
87 CFX_RectF rtFit( in XFA_DrawImage() local
93 float f1 = rtImage.height / rtFit.height; in XFA_DrawImage()
94 float f2 = rtImage.width / rtFit.width; in XFA_DrawImage()
96 rtFit.height = rtFit.height * f1; in XFA_DrawImage()
97 rtFit.width = rtFit.width * f1; in XFA_DrawImage()
101 float f1 = rtImage.height / rtFit.height; in XFA_DrawImage()
102 rtFit.height = rtImage.height; in XFA_DrawImage()
103 rtFit.width = f1 * rtFit.width; in XFA_DrawImage()
107 rtFit.height = rtImage.height; in XFA_DrawImage()
108 rtFit.width = rtImage.width; in XFA_DrawImage()
111 float f1 = rtImage.width / rtFit.width; in XFA_DrawImage()
112 rtFit.width = rtImage.width; in XFA_DrawImage()
113 rtFit.height = rtFit.height * f1; in XFA_DrawImage()
122 rtFit.left += (rtImage.width - rtFit.width) / 2; in XFA_DrawImage()
124 rtFit.left = rtImage.right() - rtFit.width; in XFA_DrawImage()
127 rtFit.top += (rtImage.height - rtFit.height) / 2; in XFA_DrawImage()
129 rtFit.top = rtImage.bottom() - rtImage.height; in XFA_DrawImage()
139 CFX_Matrix(rtFit.width, 0, 0, rtFit.height, rtFit.left, rtFit.top)); in XFA_DrawImage()