Home
last modified time | relevance | path

Searched refs:rcBBox (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp572 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()
[all …]
DPWL_Edit.cpp783 FX_RECT rcBBox; in GetCharArrayAutoFontSize() local
784 pFont->GetFontBBox(rcBBox); in GetCharArrayAutoFontSize()
787 FX_FLOAT xdiv = rcCell.Width() / nCharArray * 1000.0f / rcBBox.Width(); in GetCharArrayAutoFontSize()
788 FX_FLOAT ydiv = -rcCell.Height() * 1000.0f / rcBBox.Height(); in GetCharArrayAutoFontSize()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h155 static CFX_ByteString GetPushButtonAppStream(const CPDF_Rect& rcBBox,
163 static CFX_ByteString GetCheckBoxAppStream(const CPDF_Rect& rcBBox,
166 static CFX_ByteString GetRadioButtonAppStream(const CPDF_Rect& rcBBox,
184 static CFX_ByteString GetTextAppStream(const CPDF_Rect& rcBBox,
193 static CFX_ByteString GetDropButtonAppStream(const CPDF_Rect& rcBBox);
308 static CFX_ByteString GetAppStream_Check(const CPDF_Rect& rcBBox,
310 static CFX_ByteString GetAppStream_Circle(const CPDF_Rect& rcBBox,
312 static CFX_ByteString GetAppStream_Cross(const CPDF_Rect& rcBBox,
314 static CFX_ByteString GetAppStream_Diamond(const CPDF_Rect& rcBBox,
316 static CFX_ByteString GetAppStream_Square(const CPDF_Rect& rcBBox,
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp331 CPDF_Rect rcBBox; in GenerateWidgetAP() local
335 rcBBox = CPDF_Rect(0, 0, rcAnnot.right - rcAnnot.left, in GenerateWidgetAP()
340 rcBBox = CPDF_Rect(0, 0, rcAnnot.top - rcAnnot.bottom, in GenerateWidgetAP()
346 rcBBox = CPDF_Rect(0, 0, rcAnnot.right - rcAnnot.left, in GenerateWidgetAP()
351 rcBBox = CPDF_Rect(0, 0, rcAnnot.top - rcAnnot.bottom, in GenerateWidgetAP()
403 sAppStream << "q\n" << sBG << rcBBox.left << " " << rcBBox.bottom << " " in GenerateWidgetAP()
404 << rcBBox.Width() << " " << rcBBox.Height() << " re f\n" in GenerateWidgetAP()
408 rcBBox, fBorderWidth, crBorder, crLeftTop, crRightBottom, nBorderStyle, in GenerateWidgetAP()
414 CPDF_Rect(rcBBox.left + fBorderWidth, rcBBox.bottom + fBorderWidth, in GenerateWidgetAP()
415 rcBBox.right - fBorderWidth, rcBBox.top - fBorderWidth); in GenerateWidgetAP()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfformfill.cpp87 CFX_RectF rcBBox; in FPDFPage_HasFormFieldAtPoint() local
88 pWidgetHandler->GetBBox(pXFAAnnot, rcBBox, 0); in FPDFPage_HasFormFieldAtPoint()
89 CFX_FloatRect rcWidget(rcBBox.left, rcBBox.top, in FPDFPage_HasFormFieldAtPoint()
90 rcBBox.left + rcBBox.width, in FPDFPage_HasFormFieldAtPoint()
91 rcBBox.top + rcBBox.height); in FPDFPage_HasFormFieldAtPoint()
Dfsdk_annothandler.cpp798 CFX_RectF rcBBox; in GetViewBBox() local
802 pWidgetHandler->GetBBox(pAnnot->GetXFAWidget(), rcBBox, in GetViewBBox()
805 pWidgetHandler->GetBBox(pAnnot->GetXFAWidget(), rcBBox, 0); in GetViewBBox()
807 CFX_FloatRect rcWidget(rcBBox.left, rcBBox.top, rcBBox.left + rcBBox.width, in GetViewBBox()
808 rcBBox.top + rcBBox.height); in GetViewBBox()
Dfsdk_baseform.cpp2016 CFX_RectF rcBBox; local
2017 pWidgetHandler->GetRect(GetXFAWidget(), rcBBox);
2019 return CFX_FloatRect(rcBBox.left, rcBBox.top, rcBBox.left + rcBBox.width,
2020 rcBBox.top + rcBBox.height);
2316 FX_RECT rcBBox = pIFormFiller->GetViewBBox(pPageView, pWidget); local
2318 pEnv->FFI_Invalidate(pPage, rcBBox.left, rcBBox.top, rcBBox.right,
2319 rcBBox.bottom);
Dfpdf_flatten.cpp419 CPDF_Rect rcBBox = pPageDict->GetRect("ArtBox"); in FPDFPage_Flatten() local
420 pNewOXbjectDic->SetAtRect("BBox", rcBBox); in FPDFPage_Flatten()
Dfsdk_baseannot.cpp838 const CPDF_Rect& rcBBox, in WriteAppearance() argument
885 pStreamDict->SetAtRect("BBox", rcBBox); in WriteAppearance()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp1691 FX_RECT& rcBBox = pNewChar->m_BBox; in LoadChar() local
1693 (FX_FLOAT)rcBBox.left / 1000.0f, (FX_FLOAT)rcBBox.bottom / 1000.0f, in LoadChar()
1694 (FX_FLOAT)rcBBox.right / 1000.0f, (FX_FLOAT)rcBBox.top / 1000.0f); in LoadChar()
1695 if (rcBBox.right <= rcBBox.left || rcBBox.bottom >= rcBBox.top) in LoadChar()
1699 rcBBox.left = FXSYS_round(char_rect.left * 1000); in LoadChar()
1700 rcBBox.right = FXSYS_round(char_rect.right * 1000); in LoadChar()
1701 rcBBox.top = FXSYS_round(char_rect.top * 1000); in LoadChar()
1702 rcBBox.bottom = FXSYS_round(char_rect.bottom * 1000); in LoadChar()
/external/pdfium/fpdfsdk/include/
Dfsdk_baseannot.h210 const CPDF_Rect& rcBBox,