Lines Matching refs:fWidth
132 const float fWidth = crBBox.right - crBBox.left; in GetAP_Check() local
154 pts[i][j].x = pts[i][j].x * fWidth + crBBox.left; in GetAP_Check()
183 float fWidth = crBBox.right - crBBox.left; in GetAP_Circle() local
187 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Circle()
189 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Circle()
239 float fWidth = crBBox.right - crBBox.left; in GetAP_Diamond() local
243 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Diamond()
245 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Diamond()
301 float fWidth = crBBox.right - crBBox.left; in GetAP_HalfCircle() local
304 CFX_PointF pt1(-fWidth / 2, 0); in GetAP_HalfCircle()
306 CFX_PointF pt3(fWidth / 2, 0); in GetAP_HalfCircle()
312 << cos(fRotate) << " " << crBBox.left + fWidth / 2 << " " in GetAP_HalfCircle()
413 float fWidth, in GetCircleBorderAppStream() argument
422 if (fWidth > 0.0f) { in GetCircleBorderAppStream()
425 float fHalfWidth = fWidth / 2.0f; in GetCircleBorderAppStream()
437 sAppStream << fWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream()
446 sAppStream << fWidth << " " << kSetLineWidthOperator << "\n" in GetCircleBorderAppStream()
766 float fWidth = 0.0f; in GetPushButtonAppStream() local
828 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
829 if (rcLabelContent.Width() < fWidth * fAutoFontScale) { in GetPushButtonAppStream()
830 rcLabel = CFX_FloatRect(rcBBox.right - fWidth * fAutoFontScale, in GetPushButtonAppStream()
835 if (rcLabelContent.Width() < fWidth) { in GetPushButtonAppStream()
845 fWidth = rcLabelContent.Width(); in GetPushButtonAppStream()
846 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
849 rcLabel = CFX_FloatRect(rcBBox.right - fWidth, rcBBox.bottom, in GetPushButtonAppStream()
862 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
863 if (rcLabelContent.Width() < fWidth * fAutoFontScale) { in GetPushButtonAppStream()
865 rcBBox.left + fWidth * fAutoFontScale, in GetPushButtonAppStream()
870 if (rcLabelContent.Width() < fWidth) { in GetPushButtonAppStream()
881 fWidth = rcLabelContent.Width(); in GetPushButtonAppStream()
882 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
886 rcBBox.left + fWidth, rcBBox.top); in GetPushButtonAppStream()
931 float fWidth, in GetBorderAppStreamInternal() argument
945 if (fWidth > 0.0f) { in GetBorderAppStreamInternal()
946 float fHalfWidth = fWidth / 2.0f; in GetBorderAppStreamInternal()
957 sAppStream << fLeft + fWidth << " " << fBottom + fWidth << " " in GetBorderAppStreamInternal()
958 << fRight - fLeft - fWidth * 2 << " " in GetBorderAppStreamInternal()
959 << fTop - fBottom - fWidth * 2 << " " in GetBorderAppStreamInternal()
968 sAppStream << fWidth << " " << kSetLineWidthOperator << " [" in GetBorderAppStreamInternal()
971 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 << " " in GetBorderAppStreamInternal()
973 sAppStream << fLeft + fWidth / 2 << " " << fTop - fWidth / 2 << " " in GetBorderAppStreamInternal()
975 sAppStream << fRight - fWidth / 2 << " " << fTop - fWidth / 2 << " " in GetBorderAppStreamInternal()
977 sAppStream << fRight - fWidth / 2 << " " << fBottom + fWidth / 2 in GetBorderAppStreamInternal()
979 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 << " " in GetBorderAppStreamInternal()
1038 sAppStream << fWidth << " " << kSetLineWidthOperator << "\n"; in GetBorderAppStreamInternal()
1039 sAppStream << fLeft << " " << fBottom + fWidth / 2 << " " in GetBorderAppStreamInternal()
1041 sAppStream << fRight << " " << fBottom + fWidth / 2 << " " in GetBorderAppStreamInternal()