Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp637 CFX_ByteString CPWL_Utils::GetTextAppStream(const CPDF_Rect & rcBBox,IFX_Edit_FontMap * pFontMap, in GetTextAppStream() argument
646 pEdit->SetPlateRect(rcBBox); in GetTextAppStream()
670 CFX_ByteString CPWL_Utils::GetPushButtonAppStream(const CPDF_Rect & rcBBox, in GetPushButtonAppStream() argument
712 rcLabel = rcBBox; in GetPushButtonAppStream()
716 rcIcon = rcBBox; in GetPushButtonAppStream()
725 fHeight = rcBBox.top - rcBBox.bottom; in GetPushButtonAppStream()
726 …rcLabel = CPDF_Rect(rcBBox.left,rcBBox.bottom,rcBBox.right,rcBBox.bottom + fHeight * fAutoFontScal… in GetPushButtonAppStream()
727 rcIcon = CPDF_Rect(rcBBox.left,rcLabel.top,rcBBox.right,rcBBox.top); in GetPushButtonAppStream()
733 if (rcBBox.bottom + fHeight > rcBBox.top) in GetPushButtonAppStream()
736 rcLabel = rcBBox; in GetPushButtonAppStream()
[all …]
DPWL_Edit.cpp828 FX_RECT rcBBox; in GetCharArrayAutoFontSize() local
829 pFont->GetFontBBox(rcBBox); in GetCharArrayAutoFontSize()
832 FX_FLOAT xdiv = rcCell.Width() / nCharArray * 1000.0f / rcBBox.Width(); in GetCharArrayAutoFontSize()
833 FX_FLOAT ydiv = - rcCell.Height() * 1000.0f / rcBBox.Height(); in GetCharArrayAutoFontSize()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h136 static CFX_ByteString GetPushButtonAppStream(const CPDF_Rect & rcBBox,
144 static CFX_ByteString GetCheckBoxAppStream(const CPDF_Rect & rcBBox,
147 static CFX_ByteString GetRadioButtonAppStream(const CPDF_Rect & rcBBox,
158 static CFX_ByteString GetTextAppStream(const CPDF_Rect & rcBBox,IFX_Edit_FontMap * pFontMap,
161 static CFX_ByteString GetDropButtonAppStream(const CPDF_Rect & rcBBox);
206 static CFX_ByteString GetAppStream_Check(const CPDF_Rect & rcBBox, const CPWL_Color & crText);
207 static CFX_ByteString GetAppStream_Circle(const CPDF_Rect & rcBBox, const CPWL_Color & crText);
208 static CFX_ByteString GetAppStream_Cross(const CPDF_Rect & rcBBox, const CPWL_Color & crText);
209 …static CFX_ByteString GetAppStream_Diamond(const CPDF_Rect & rcBBox, const CPWL_Color & crText…
210 static CFX_ByteString GetAppStream_Square(const CPDF_Rect & rcBBox, const CPWL_Color & crText);
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp317 CPDF_Rect rcBBox; in GenerateWidgetAP() local
321 rcBBox = CPDF_Rect(0, 0, rcAnnot.right - rcAnnot.left, rcAnnot.top - rcAnnot.bottom); in GenerateWidgetAP()
325 rcBBox = CPDF_Rect(0, 0, rcAnnot.top - rcAnnot.bottom, rcAnnot.right - rcAnnot.left); in GenerateWidgetAP()
329 rcBBox = CPDF_Rect(0, 0, rcAnnot.right - rcAnnot.left, rcAnnot.top - rcAnnot.bottom); in GenerateWidgetAP()
333 rcBBox = CPDF_Rect(0, 0, rcAnnot.top - rcAnnot.bottom, rcAnnot.right - rcAnnot.left); in GenerateWidgetAP()
383 sAppStream << "q\n" << sBG << rcBBox.left << " " << rcBBox.bottom << " " in GenerateWidgetAP()
384 << rcBBox.Width() << " " << rcBBox.Height() << " re f\n" << "Q\n"; in GenerateWidgetAP()
386 CFX_ByteString sBorderStream = CPVT_GenerateAP::GenerateBorderAP(rcBBox, fBorderWidth, in GenerateWidgetAP()
391 CPDF_Rect rcBody = CPDF_Rect(rcBBox.left + fBorderWidth, rcBBox.bottom + fBorderWidth, in GenerateWidgetAP()
392 rcBBox.right - fBorderWidth, rcBBox.top - fBorderWidth); in GenerateWidgetAP()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp1695 FX_RECT &rcBBox = pChar->m_BBox; in LoadChar() local
1696 CFX_FloatRect char_rect((FX_FLOAT)rcBBox.left / 1000.0f, (FX_FLOAT)rcBBox.bottom / 1000.0f, in LoadChar()
1697 (FX_FLOAT)rcBBox.right / 1000.0f, (FX_FLOAT)rcBBox.top / 1000.0f); in LoadChar()
1698 if (rcBBox.right <= rcBBox.left || rcBBox.bottom >= rcBBox.top) { in LoadChar()
1702 rcBBox.left = FXSYS_round(char_rect.left * 1000); in LoadChar()
1703 rcBBox.right = FXSYS_round(char_rect.right * 1000); in LoadChar()
1704 rcBBox.top = FXSYS_round(char_rect.top * 1000); in LoadChar()
1705 rcBBox.bottom = FXSYS_round(char_rect.bottom * 1000); in LoadChar()
/external/pdfium/fpdfsdk/include/
Dfsdk_baseannot.h174 void WriteAppearance(const CFX_ByteString& sAPType, const CPDF_Rect& rcBBox,
/external/pdfium/fpdfsdk/src/
Dfpdf_flatten.cpp436 CPDF_Rect rcBBox = pPageDict->GetRect("ArtBox"); in FPDFPage_Flatten() local
437 pNewOXbjectDic->SetAtRect("BBox", rcBBox); in FPDFPage_Flatten()
Dfsdk_baseform.cpp2086 FX_RECT rcBBox = pIFormFiller->GetViewBBox(pPageView, pWidget); in UpdateField() local
2088 pEnv->FFI_Invalidate(pPage,rcBBox.left, rcBBox.top, rcBBox.right, rcBBox.bottom); in UpdateField()
Dfsdk_baseannot.cpp1002 void CPDFSDK_Annot::WriteAppearance(const CFX_ByteString& sAPType, const CPDF_Rect& rcBBox, in WriteAppearance() argument
1059 pStreamDict->SetAtRect("BBox", rcBBox); in WriteAppearance()