Home
last modified time | relevance | path

Searched refs:rcAnnot (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfpdf_flatten.cpp271 CFX_AffineMatrix GetMatrix(CPDF_Rect rcAnnot, CPDF_Rect rcStream, CFX_AffineMatrix matrix) in GetMatrix() argument
279 FX_FLOAT a = rcAnnot.Width()/rcStream.Width(); in GetMatrix()
280 FX_FLOAT d = rcAnnot.Height()/rcStream.Height(); in GetMatrix()
282 FX_FLOAT e = rcAnnot.left - rcStream.left * a; in GetMatrix()
283 FX_FLOAT f = rcAnnot.bottom - rcStream.bottom * d; in GetMatrix()
287 void GetOffset(FX_FLOAT& fa, FX_FLOAT& fd, FX_FLOAT& fe, FX_FLOAT& ff, CPDF_Rect rcAnnot, CPDF_Rect… in GetOffset() argument
317 fa = (rcAnnot.right - rcAnnot.left)/fStreamWidth; in GetOffset()
318 fd = (rcAnnot.top - rcAnnot.bottom)/fStreamHeight; in GetOffset()
319 fe = rcAnnot.left - left * fa; in GetOffset()
320 ff = rcAnnot.bottom - bottom * fd; in GetOffset()
[all …]
Dfsdk_baseform.cpp425 CPDF_Rect rcAnnot = this->GetRect(); in DrawAppearance() local
427 pathData.AppendRect(rcAnnot.left, rcAnnot.bottom, in DrawAppearance()
428 rcAnnot.right, rcAnnot.top); in DrawAppearance()
1460 CPDF_Rect rcAnnot = GetRect(); in GetMatrix() local
1461 FX_FLOAT fWidth = rcAnnot.right - rcAnnot.left; in GetMatrix()
1462 FX_FLOAT fHeight = rcAnnot.top - rcAnnot.bottom; in GetMatrix()
2835 CPDF_Rect rcAnnot = GetAnnotRect(pAnnot); in GenerateResults() local
2837 if (rcAnnot.top > fTop) in GenerateResults()
2840 fTop = rcAnnot.top; in GenerateResults()
2863 CPDF_Rect rcAnnot = GetAnnotRect(pAnnot); in GenerateResults() local
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp312 CPDF_Rect rcAnnot = pAnnotDict->GetRect("Rect"); in GenerateWidgetAP() local
321 rcBBox = CPDF_Rect(0, 0, rcAnnot.right - rcAnnot.left, rcAnnot.top - rcAnnot.bottom); in GenerateWidgetAP()
324 matrix = CPDF_Matrix(0, 1, -1, 0, rcAnnot.right - rcAnnot.left, 0); in GenerateWidgetAP()
325 rcBBox = CPDF_Rect(0, 0, rcAnnot.top - rcAnnot.bottom, rcAnnot.right - rcAnnot.left); in GenerateWidgetAP()
328 … matrix = CPDF_Matrix(-1, 0, 0, -1, rcAnnot.right - rcAnnot.left, rcAnnot.top - rcAnnot.bottom); in GenerateWidgetAP()
329 rcBBox = CPDF_Rect(0, 0, rcAnnot.right - rcAnnot.left, rcAnnot.top - rcAnnot.bottom); in GenerateWidgetAP()
332 matrix = CPDF_Matrix(0, -1, 1, 0, 0, rcAnnot.top - rcAnnot.bottom); in GenerateWidgetAP()
333 rcBBox = CPDF_Rect(0, 0, rcAnnot.top - rcAnnot.bottom, rcAnnot.right - rcAnnot.left); in GenerateWidgetAP()
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_TextField.cpp148 CPDF_Rect rcAnnot = pAnnot->GetRect(); in OnChar() local
149 …m_pApp->FFI_Invalidate(pAnnot->GetPDFPage(), rcAnnot.left, rcAnnot.top, rcAnnot.right, rcAnnot.bot… in OnChar()
DFFL_IFormFiller.cpp64 CPDF_Rect rcAnnot; in GetViewBBox() local
65 pPDFAnnot->GetRect(rcAnnot); in GetViewBBox()
69 CPDF_Rect rcWin = CPWL_Utils::InflateRect(rcAnnot,1); in GetViewBBox()
738 CPDF_Rect rcAnnot = pData->pWidget->GetRect(); in QueryWherePopup() local
748 fTop = rcPageView.top - rcAnnot.top; in QueryWherePopup()
749 fBottom = rcAnnot.bottom - rcPageView.bottom; in QueryWherePopup()
752 fTop = rcAnnot.left - rcPageView.left; in QueryWherePopup()
753 fBottom = rcPageView.right - rcAnnot.right; in QueryWherePopup()
756 fTop = rcAnnot.bottom - rcPageView.bottom; in QueryWherePopup()
757 fBottom = rcPageView.top - rcAnnot.top; in QueryWherePopup()
[all …]
DFFL_FormFiller.cpp73 CPDF_Rect rcAnnot = m_pWidget->GetRect(); in GetViewBBox() local
78 rcAnnot = PWLtoFFL(rcWindow); in GetViewBBox()
81 CPDF_Rect rcWin = rcAnnot; in GetViewBBox()
845 CPDF_Rect rcAnnot = pAnnot->GetRect(); in OnLButtonDown() local
846 if(!rcAnnot.Contains(point.x, point.y)) in OnLButtonDown()
859 CPDF_Rect rcAnnot = pAnnot->GetRect(); in OnLButtonUp() local
860 if(!rcAnnot.Contains(point.x, point.y)) in OnLButtonUp()
/external/pdfium/fpdfsdk/src/javascript/
DDocument.cpp541 CPDF_Rect rcAnnot = pWidget->GetRect(); in removeField() local
542 rcAnnot.left -= 1; in removeField()
543 rcAnnot.bottom -= 1; in removeField()
544 rcAnnot.right += 1; in removeField()
545 rcAnnot.top += 1; in removeField()
548 aRefresh.Add(rcAnnot); in removeField()