Lines Matching refs:fWidth

54   const FX_FLOAT fWidth = crBBox.right - crBBox.left;  in GetAP_Check()  local
76 pts[i][j].x = pts[i][j].x * fWidth + crBBox.left; in GetAP_Check()
105 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Circle() local
109 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Circle()
111 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Circle()
158 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_Diamond() local
162 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Diamond()
164 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Diamond()
223 FX_FLOAT fWidth = crBBox.right - crBBox.left; in GetAP_HalfCircle() local
226 CFX_PointF pt1(-fWidth / 2, 0); in GetAP_HalfCircle()
228 CFX_PointF pt3(fWidth / 2, 0); in GetAP_HalfCircle()
233 << cos(fRotate) << " " << crBBox.left + fWidth / 2 << " " in GetAP_HalfCircle()
314 FX_FLOAT fWidth = rect.right - rect.left; in GetCenterSquare() local
320 FX_FLOAT fRadius = (fWidth > fHeight) ? fHeight / 2 : fWidth / 2; in GetCenterSquare()
375 FX_FLOAT fWidth = 0.0f; in GetPushButtonAppStream() local
448 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
449 rcLabel = CFX_FloatRect(rcBBox.right - fWidth * fAutoFontScale, in GetPushButtonAppStream()
454 if (rcLabelContent.Width() < fWidth * fAutoFontScale) { in GetPushButtonAppStream()
456 if (rcLabelContent.Width() < fWidth) { in GetPushButtonAppStream()
467 fWidth = rcLabelContent.Width(); in GetPushButtonAppStream()
469 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
473 rcLabel = CFX_FloatRect(rcBBox.right - fWidth, rcBBox.bottom, in GetPushButtonAppStream()
489 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
492 rcBBox.left + fWidth * fAutoFontScale, rcBBox.top); in GetPushButtonAppStream()
496 if (rcLabelContent.Width() < fWidth * fAutoFontScale) { in GetPushButtonAppStream()
498 if (rcLabelContent.Width() < fWidth) { in GetPushButtonAppStream()
510 fWidth = rcLabelContent.Width(); in GetPushButtonAppStream()
512 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
517 rcBBox.left + fWidth, rcBBox.top); in GetPushButtonAppStream()
588 FX_FLOAT fWidth, in GetBorderAppStream() argument
602 if (fWidth > 0.0f) { in GetBorderAppStream()
603 FX_FLOAT fHalfWidth = fWidth / 2.0f; in GetBorderAppStream()
615 sAppStream << fLeft + fWidth << " " << fBottom + fWidth << " " in GetBorderAppStream()
616 << fRight - fLeft - fWidth * 2 << " " in GetBorderAppStream()
617 << fTop - fBottom - fWidth * 2 << " re\n"; in GetBorderAppStream()
625 sAppStream << fWidth << " w" in GetBorderAppStream()
628 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 in GetBorderAppStream()
630 sAppStream << fLeft + fWidth / 2 << " " << fTop - fWidth / 2 in GetBorderAppStream()
632 sAppStream << fRight - fWidth / 2 << " " << fTop - fWidth / 2 in GetBorderAppStream()
634 sAppStream << fRight - fWidth / 2 << " " << fBottom + fWidth / 2 in GetBorderAppStream()
636 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 in GetBorderAppStream()
690 sAppStream << fWidth << " w\n"; in GetBorderAppStream()
691 sAppStream << fLeft << " " << fBottom + fWidth / 2 << " m\n"; in GetBorderAppStream()
692 sAppStream << fRight << " " << fBottom + fWidth / 2 << " l S\n"; in GetBorderAppStream()
705 FX_FLOAT fWidth, in GetCircleBorderAppStream() argument
714 if (fWidth > 0.0f) { in GetCircleBorderAppStream()
723 sAppStream << "q\n" << fWidth << " w\n" << sColor in GetCircleBorderAppStream()
725 CPWL_Utils::DeflateRect(rect, fWidth / 2.0f)) in GetCircleBorderAppStream()
732 sAppStream << "q\n" << fWidth << " w\n" in GetCircleBorderAppStream()
736 CPWL_Utils::DeflateRect(rect, fWidth / 2.0f)) in GetCircleBorderAppStream()
741 FX_FLOAT fHalfWidth = fWidth / 2.0f; in GetCircleBorderAppStream()
768 FX_FLOAT fHalfWidth = fWidth / 2.0f; in GetCircleBorderAppStream()
964 FX_FLOAT fWidth) { in DrawStrokeRect() argument
970 gsd.m_LineWidth = fWidth; in DrawStrokeRect()
980 FX_FLOAT fWidth) { in DrawStrokeLine() argument
986 gsd.m_LineWidth = fWidth; in DrawStrokeLine()
1038 FX_FLOAT fWidth, in DrawBorder() argument
1049 if (fWidth > 0.0f) { in DrawBorder()
1050 FX_FLOAT fHalfWidth = fWidth / 2.0f; in DrawBorder()
1057 path.AppendRect(fLeft + fWidth, fBottom + fWidth, fRight - fWidth, in DrawBorder()
1058 fTop - fWidth); in DrawBorder()
1066 CFX_PointF(fLeft + fWidth / 2.0f, fBottom + fWidth / 2.0f), in DrawBorder()
1069 CFX_PointF(fLeft + fWidth / 2.0f, fTop - fWidth / 2.0f), in DrawBorder()
1072 CFX_PointF(fRight - fWidth / 2.0f, fTop - fWidth / 2.0f), in DrawBorder()
1075 CFX_PointF(fRight - fWidth / 2.0f, fBottom + fWidth / 2.0f), in DrawBorder()
1078 CFX_PointF(fLeft + fWidth / 2.0f, fBottom + fWidth / 2.0f), in DrawBorder()
1087 gsd.m_LineWidth = fWidth; in DrawBorder()
1157 path.AppendPoint(CFX_PointF(fLeft, fBottom + fWidth / 2), in DrawBorder()
1159 path.AppendPoint(CFX_PointF(fRight, fBottom + fWidth / 2), in DrawBorder()
1163 gsd.m_LineWidth = fWidth; in DrawBorder()