Lines Matching refs:rcBBox
334 ByteString GetAppStream_Check(const CFX_FloatRect& rcBBox, in GetAppStream_Check() argument
339 sAP << GetColorAppStream(crText, true) << GetAP_Check(rcBBox) in GetAppStream_Check()
345 ByteString GetAppStream_Circle(const CFX_FloatRect& rcBBox, in GetAppStream_Circle() argument
350 sAP << GetColorAppStream(crText, true) << GetAP_Circle(rcBBox) in GetAppStream_Circle()
356 ByteString GetAppStream_Cross(const CFX_FloatRect& rcBBox, in GetAppStream_Cross() argument
361 sAP << GetColorAppStream(crText, false) << GetAP_Cross(rcBBox) in GetAppStream_Cross()
367 ByteString GetAppStream_Diamond(const CFX_FloatRect& rcBBox, in GetAppStream_Diamond() argument
373 << GetColorAppStream(crText, true) << GetAP_Diamond(rcBBox) in GetAppStream_Diamond()
379 ByteString GetAppStream_Square(const CFX_FloatRect& rcBBox, in GetAppStream_Square() argument
384 sAP << GetColorAppStream(crText, true) << GetAP_Square(rcBBox) in GetAppStream_Square()
390 ByteString GetAppStream_Star(const CFX_FloatRect& rcBBox, in GetAppStream_Star() argument
395 sAP << GetColorAppStream(crText, true) << GetAP_Star(rcBBox) in GetAppStream_Star()
508 ByteString GetCheckBoxAppStream(const CFX_FloatRect& rcBBox, in GetCheckBoxAppStream() argument
511 CFX_FloatRect rcCenter = rcBBox.GetCenterSquare(); in GetCheckBoxAppStream()
533 ByteString GetRadioButtonAppStream(const CFX_FloatRect& rcBBox, in GetRadioButtonAppStream() argument
536 CFX_FloatRect rcCenter = rcBBox.GetCenterSquare(); in GetRadioButtonAppStream()
739 ByteString GetPushButtonAppStream(const CFX_FloatRect& rcBBox, in GetPushButtonAppStream() argument
771 rcLabel = rcBBox; in GetPushButtonAppStream()
774 rcIcon = rcBBox; in GetPushButtonAppStream()
779 fHeight = rcBBox.top - rcBBox.bottom; in GetPushButtonAppStream()
780 rcLabel = CFX_FloatRect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
781 rcBBox.bottom + fHeight * fAutoFontScale); in GetPushButtonAppStream()
783 CFX_FloatRect(rcBBox.left, rcLabel.top, rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
787 if (rcBBox.bottom + fHeight > rcBBox.top) { in GetPushButtonAppStream()
788 rcLabel = rcBBox; in GetPushButtonAppStream()
790 rcLabel = CFX_FloatRect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
791 rcBBox.bottom + fHeight); in GetPushButtonAppStream()
792 rcIcon = CFX_FloatRect(rcBBox.left, rcLabel.top, rcBBox.right, in GetPushButtonAppStream()
793 rcBBox.top); in GetPushButtonAppStream()
797 rcLabel = rcBBox; in GetPushButtonAppStream()
803 fHeight = rcBBox.top - rcBBox.bottom; in GetPushButtonAppStream()
805 CFX_FloatRect(rcBBox.left, rcBBox.top - fHeight * fAutoFontScale, in GetPushButtonAppStream()
806 rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
807 rcIcon = CFX_FloatRect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
812 if (rcBBox.bottom + fHeight > rcBBox.top) { in GetPushButtonAppStream()
813 rcLabel = rcBBox; in GetPushButtonAppStream()
815 rcLabel = CFX_FloatRect(rcBBox.left, rcBBox.top - fHeight, in GetPushButtonAppStream()
816 rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
817 rcIcon = CFX_FloatRect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
822 rcLabel = rcBBox; in GetPushButtonAppStream()
828 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
830 rcLabel = CFX_FloatRect(rcBBox.right - fWidth * fAutoFontScale, in GetPushButtonAppStream()
831 rcBBox.bottom, rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
832 rcIcon = CFX_FloatRect(rcBBox.left, rcBBox.bottom, rcLabel.left, in GetPushButtonAppStream()
833 rcBBox.top); in GetPushButtonAppStream()
836 rcLabel = CFX_FloatRect(rcBBox.right - rcLabelContent.Width(), in GetPushButtonAppStream()
837 rcBBox.bottom, rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
838 rcIcon = CFX_FloatRect(rcBBox.left, rcBBox.bottom, rcLabel.left, in GetPushButtonAppStream()
839 rcBBox.top); in GetPushButtonAppStream()
841 rcLabel = rcBBox; in GetPushButtonAppStream()
846 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
847 rcLabel = rcBBox; in GetPushButtonAppStream()
849 rcLabel = CFX_FloatRect(rcBBox.right - fWidth, rcBBox.bottom, in GetPushButtonAppStream()
850 rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
851 rcIcon = CFX_FloatRect(rcBBox.left, rcBBox.bottom, rcLabel.left, in GetPushButtonAppStream()
852 rcBBox.top); in GetPushButtonAppStream()
856 rcLabel = rcBBox; in GetPushButtonAppStream()
862 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
864 rcLabel = CFX_FloatRect(rcBBox.left, rcBBox.bottom, in GetPushButtonAppStream()
865 rcBBox.left + fWidth * fAutoFontScale, in GetPushButtonAppStream()
866 rcBBox.top); in GetPushButtonAppStream()
867 rcIcon = CFX_FloatRect(rcLabel.right, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
868 rcBBox.top); in GetPushButtonAppStream()
871 rcLabel = CFX_FloatRect(rcBBox.left, rcBBox.bottom, in GetPushButtonAppStream()
872 rcBBox.left + rcLabelContent.Width(), in GetPushButtonAppStream()
873 rcBBox.top); in GetPushButtonAppStream()
874 rcIcon = CFX_FloatRect(rcLabel.right, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
875 rcBBox.top); in GetPushButtonAppStream()
877 rcLabel = rcBBox; in GetPushButtonAppStream()
882 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
883 rcLabel = rcBBox; in GetPushButtonAppStream()
885 rcLabel = CFX_FloatRect(rcBBox.left, rcBBox.bottom, in GetPushButtonAppStream()
886 rcBBox.left + fWidth, rcBBox.top); in GetPushButtonAppStream()
887 rcIcon = CFX_FloatRect(rcLabel.right, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
888 rcBBox.top); in GetPushButtonAppStream()
892 rcLabel = rcBBox; in GetPushButtonAppStream()
896 rcLabel = rcBBox; in GetPushButtonAppStream()
897 rcIcon = rcBBox; in GetPushButtonAppStream()
920 sAppStream << rcBBox.left << " " << rcBBox.bottom << " " in GetPushButtonAppStream()
921 << rcBBox.right - rcBBox.left << " " in GetPushButtonAppStream()
922 << rcBBox.top - rcBBox.bottom << " " << kAppendRectOperator in GetPushButtonAppStream()
1051 ByteString GetDropButtonAppStream(const CFX_FloatRect& rcBBox) { in GetDropButtonAppStream() argument
1052 if (rcBBox.IsEmpty()) in GetDropButtonAppStream()
1061 << rcBBox.left << " " << rcBBox.bottom << " " in GetDropButtonAppStream()
1062 << rcBBox.right - rcBBox.left << " " in GetDropButtonAppStream()
1063 << rcBBox.top - rcBBox.bottom << " " << kAppendRectOperator in GetDropButtonAppStream()
1070 rcBBox, 2, CFX_Color(CFX_Color::kGray, 0), in GetDropButtonAppStream()
1075 CFX_PointF ptCenter = CFX_PointF((rcBBox.left + rcBBox.right) / 2, in GetDropButtonAppStream()
1076 (rcBBox.top + rcBBox.bottom) / 2); in GetDropButtonAppStream()
1077 if (IsFloatBigger(rcBBox.right - rcBBox.left, 6) && in GetDropButtonAppStream()
1078 IsFloatBigger(rcBBox.top - rcBBox.bottom, 6)) { in GetDropButtonAppStream()