Lines Matching refs:rcBBox
572 CFX_ByteString CPWL_Utils::GetTextAppStream(const CPDF_Rect& rcBBox, in GetTextAppStream() argument
585 pEdit->SetPlateRect(rcBBox); in GetTextAppStream()
610 CFX_ByteString CPWL_Utils::GetPushButtonAppStream(const CPDF_Rect& rcBBox, in GetPushButtonAppStream() argument
649 rcLabel = rcBBox; in GetPushButtonAppStream()
653 rcIcon = rcBBox; in GetPushButtonAppStream()
660 fHeight = rcBBox.top - rcBBox.bottom; in GetPushButtonAppStream()
661 rcLabel = CPDF_Rect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
662 rcBBox.bottom + fHeight * fAutoFontScale); in GetPushButtonAppStream()
664 CPDF_Rect(rcBBox.left, rcLabel.top, rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
668 if (rcBBox.bottom + fHeight > rcBBox.top) { in GetPushButtonAppStream()
670 rcLabel = rcBBox; in GetPushButtonAppStream()
672 rcLabel = CPDF_Rect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
673 rcBBox.bottom + fHeight); in GetPushButtonAppStream()
675 CPDF_Rect(rcBBox.left, rcLabel.top, rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
679 rcLabel = rcBBox; in GetPushButtonAppStream()
688 fHeight = rcBBox.top - rcBBox.bottom; in GetPushButtonAppStream()
690 CPDF_Rect(rcBBox.left, rcBBox.top - fHeight * fAutoFontScale, in GetPushButtonAppStream()
691 rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
692 rcIcon = CPDF_Rect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
697 if (rcBBox.bottom + fHeight > rcBBox.top) { in GetPushButtonAppStream()
699 rcLabel = rcBBox; in GetPushButtonAppStream()
701 rcLabel = CPDF_Rect(rcBBox.left, rcBBox.top - fHeight, in GetPushButtonAppStream()
702 rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
703 rcIcon = CPDF_Rect(rcBBox.left, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
708 rcLabel = rcBBox; in GetPushButtonAppStream()
717 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
718 rcLabel = CPDF_Rect(rcBBox.right - fWidth * fAutoFontScale, in GetPushButtonAppStream()
719 rcBBox.bottom, rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
721 CPDF_Rect(rcBBox.left, rcBBox.bottom, rcLabel.left, rcBBox.top); in GetPushButtonAppStream()
726 rcLabel = CPDF_Rect(rcBBox.right - rcLabelContent.Width(), in GetPushButtonAppStream()
727 rcBBox.bottom, rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
728 rcIcon = CPDF_Rect(rcBBox.left, rcBBox.bottom, rcLabel.left, in GetPushButtonAppStream()
729 rcBBox.top); in GetPushButtonAppStream()
731 rcLabel = rcBBox; in GetPushButtonAppStream()
738 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
739 rcLabel = rcBBox; in GetPushButtonAppStream()
742 rcLabel = CPDF_Rect(rcBBox.right - fWidth, rcBBox.bottom, in GetPushButtonAppStream()
743 rcBBox.right, rcBBox.top); in GetPushButtonAppStream()
744 rcIcon = CPDF_Rect(rcBBox.left, rcBBox.bottom, rcLabel.left, in GetPushButtonAppStream()
745 rcBBox.top); in GetPushButtonAppStream()
749 rcLabel = rcBBox; in GetPushButtonAppStream()
758 fWidth = rcBBox.right - rcBBox.left; in GetPushButtonAppStream()
760 CPDF_Rect(rcBBox.left, rcBBox.bottom, in GetPushButtonAppStream()
761 rcBBox.left + fWidth * fAutoFontScale, rcBBox.top); in GetPushButtonAppStream()
762 rcIcon = CPDF_Rect(rcLabel.right, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
763 rcBBox.top); in GetPushButtonAppStream()
769 CPDF_Rect(rcBBox.left, rcBBox.bottom, in GetPushButtonAppStream()
770 rcBBox.left + rcLabelContent.Width(), rcBBox.top); in GetPushButtonAppStream()
771 rcIcon = CPDF_Rect(rcLabel.right, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
772 rcBBox.top); in GetPushButtonAppStream()
774 rcLabel = rcBBox; in GetPushButtonAppStream()
781 if (rcBBox.left + fWidth > rcBBox.right) { in GetPushButtonAppStream()
782 rcLabel = rcBBox; in GetPushButtonAppStream()
785 rcLabel = CPDF_Rect(rcBBox.left, rcBBox.bottom, in GetPushButtonAppStream()
786 rcBBox.left + fWidth, rcBBox.top); in GetPushButtonAppStream()
787 rcIcon = CPDF_Rect(rcLabel.right, rcBBox.bottom, rcBBox.right, in GetPushButtonAppStream()
788 rcBBox.top); in GetPushButtonAppStream()
792 rcLabel = rcBBox; in GetPushButtonAppStream()
798 rcLabel = rcBBox; in GetPushButtonAppStream()
799 rcIcon = rcBBox; in GetPushButtonAppStream()
825 sAppStream << "q\n" << rcBBox.left << " " << rcBBox.bottom << " " in GetPushButtonAppStream()
826 << rcBBox.right - rcBBox.left << " " in GetPushButtonAppStream()
827 << rcBBox.top - rcBBox.bottom << " re W n\n"; in GetPushButtonAppStream()
1127 CFX_ByteString CPWL_Utils::GetAppStream_Check(const CPDF_Rect& rcBBox, in GetAppStream_Check() argument
1131 << CPWL_Utils::GetAP_Check(rcBBox) << "f\nQ\n"; in GetAppStream_Check()
1135 CFX_ByteString CPWL_Utils::GetAppStream_Circle(const CPDF_Rect& rcBBox, in GetAppStream_Circle() argument
1139 << CPWL_Utils::GetAP_Circle(rcBBox) << "f\nQ\n"; in GetAppStream_Circle()
1143 CFX_ByteString CPWL_Utils::GetAppStream_Cross(const CPDF_Rect& rcBBox, in GetAppStream_Cross() argument
1147 << CPWL_Utils::GetAP_Cross(rcBBox) << "S\nQ\n"; in GetAppStream_Cross()
1151 CFX_ByteString CPWL_Utils::GetAppStream_Diamond(const CPDF_Rect& rcBBox, in GetAppStream_Diamond() argument
1155 << CPWL_Utils::GetAP_Diamond(rcBBox) << "f\nQ\n"; in GetAppStream_Diamond()
1159 CFX_ByteString CPWL_Utils::GetAppStream_Square(const CPDF_Rect& rcBBox, in GetAppStream_Square() argument
1163 << CPWL_Utils::GetAP_Square(rcBBox) << "f\nQ\n"; in GetAppStream_Square()
1167 CFX_ByteString CPWL_Utils::GetAppStream_Star(const CPDF_Rect& rcBBox, in GetAppStream_Star() argument
1171 << CPWL_Utils::GetAP_Star(rcBBox) << "f\nQ\n"; in GetAppStream_Star()
1175 CFX_ByteString CPWL_Utils::GetCheckBoxAppStream(const CPDF_Rect& rcBBox, in GetCheckBoxAppStream() argument
1178 CPDF_Rect rcCenter = GetCenterSquare(rcBBox); in GetCheckBoxAppStream()
1196 CFX_ByteString CPWL_Utils::GetRadioButtonAppStream(const CPDF_Rect& rcBBox, in GetRadioButtonAppStream() argument
1199 CPDF_Rect rcCenter = GetCenterSquare(rcBBox); in GetRadioButtonAppStream()
1217 CFX_ByteString CPWL_Utils::GetDropButtonAppStream(const CPDF_Rect& rcBBox) { in GetDropButtonAppStream() argument
1220 if (!rcBBox.IsEmpty()) { in GetDropButtonAppStream()
1225 sAppStream << rcBBox.left << " " << rcBBox.bottom << " " in GetDropButtonAppStream()
1226 << rcBBox.right - rcBBox.left << " " in GetDropButtonAppStream()
1227 << rcBBox.top - rcBBox.bottom << " re f\n"; in GetDropButtonAppStream()
1231 rcBBox, 2, CPWL_Color(COLORTYPE_GRAY, 0), in GetDropButtonAppStream()
1237 CPDF_Point ptCenter = CPDF_Point((rcBBox.left + rcBBox.right) / 2, in GetDropButtonAppStream()
1238 (rcBBox.top + rcBBox.bottom) / 2); in GetDropButtonAppStream()
1239 if (IsFloatBigger(rcBBox.right - rcBBox.left, 6) && in GetDropButtonAppStream()
1240 IsFloatBigger(rcBBox.top - rcBBox.bottom, 6)) { in GetDropButtonAppStream()