/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_list_impl.h | 63 CFX_FloatRect GetItemRect(int32_t nIndex) const; 67 void SetContentRect(const CFX_FloatRect& rect) { m_rcContent = rect; } in SetContentRect() 68 CFX_FloatRect GetContentRect() const; 81 CFX_FloatRect GetPlateRect() const { return m_rcPlate; } in GetPlateRect() 82 void SetPlateRect(const CFX_FloatRect& rect); 103 void SetRect(const CFX_FloatRect& rect) { m_rcListItem = rect; } in SetRect() 109 CFX_FloatRect GetRect() const { return m_rcListItem; } in GetRect() 119 CFX_FloatRect m_rcListItem; 124 CFX_FloatRect InToOut(const CFX_FloatRect& rect) const; 125 CFX_FloatRect OutToIn(const CFX_FloatRect& rect) const; [all …]
|
D | cpwl_list_impl.cpp | 117 CFX_FloatRect rcPlate = m_rcPlate; in InToOut() 123 CFX_FloatRect rcPlate = m_rcPlate; in OutToIn() 128 CFX_FloatRect CPWL_ListCtrl::InToOut(const CFX_FloatRect& rect) const { in InToOut() 131 return CFX_FloatRect(ptLeftBottom.x, ptLeftBottom.y, ptRightTop.x, in InToOut() 135 CFX_FloatRect CPWL_ListCtrl::OutToIn(const CFX_FloatRect& rect) const { in OutToIn() 138 return CFX_FloatRect(ptLeftBottom.x, ptLeftBottom.y, ptRightTop.x, in OutToIn() 150 CFX_FloatRect CPWL_ListCtrl::InnerToOuter(const CFX_FloatRect& rect) const { in InnerToOuter() 153 return CFX_FloatRect(ptLeftTop.x, ptRightBottom.y, ptRightBottom.x, in InnerToOuter() 157 CFX_FloatRect CPWL_ListCtrl::OuterToInner(const CFX_FloatRect& rect) const { in OuterToInner() 160 return CFX_FloatRect(ptLeftTop.x, ptRightBottom.y, ptRightBottom.x, in OuterToInner() [all …]
|
D | cpwl_wnd.h | 128 CFX_FloatRect rcRectWnd; // required 156 virtual bool InvalidateRect(CFX_FloatRect* pRect); 186 virtual CFX_FloatRect GetFocusRect() const; 187 virtual CFX_FloatRect GetClientRect() const; 193 bool Move(const CFX_FloatRect& rcNew, bool bReset, bool bRefresh); 215 CFX_FloatRect GetWindowRect() const; 223 void SetClipRect(const CFX_FloatRect& rect); 224 const CFX_FloatRect& GetClipRect() const; 277 bool InvalidateRectMove(const CFX_FloatRect& rcOld, 278 const CFX_FloatRect& rcNew); [all …]
|
D | cpwl_scroll_bar.cpp | 143 CFX_FloatRect rectWnd = GetWindowRect(); in DrawThisAppearance() 352 CFX_FloatRect rcClient = GetClientRect(); in RePosChildWnd() 353 CFX_FloatRect rcMinButton, rcMaxButton; in RePosChildWnd() 360 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.bottom, in RePosChildWnd() 363 CFX_FloatRect(rcClient.right - kButtonWidth, rcClient.bottom, in RePosChildWnd() 369 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.bottom, in RePosChildWnd() 371 rcMaxButton = CFX_FloatRect(rcClient.right - fBWidth, rcClient.bottom, in RePosChildWnd() 382 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.top - kButtonWidth, in RePosChildWnd() 385 CFX_FloatRect(rcClient.left, rcClient.bottom, rcClient.right, in RePosChildWnd() 391 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.top - fBWidth, in RePosChildWnd() [all …]
|
D | cpwl_wnd.cpp | 204 bool CPWL_Wnd::Move(const CFX_FloatRect& rcNew, bool bReset, bool bRefresh) { in Move() 208 CFX_FloatRect rcOld = GetWindowRect(); in Move() 226 bool CPWL_Wnd::InvalidateRectMove(const CFX_FloatRect& rcOld, in InvalidateRectMove() 227 const CFX_FloatRect& rcNew) { in InvalidateRectMove() 228 CFX_FloatRect rcUnion = rcOld; in InvalidateRectMove() 244 CFX_FloatRect rectWnd = GetWindowRect(); in DrawThisAppearance() 279 bool CPWL_Wnd::InvalidateRect(CFX_FloatRect* pRect) { in InvalidateRect() 284 CFX_FloatRect rcRefresh = pRect ? *pRect : GetWindowRect(); in InvalidateRect() 287 CFX_FloatRect rcClip = GetClipRect(); in InvalidateRect() 293 CFX_FloatRect rcWin = PWLtoWnd(rcRefresh); in InvalidateRect() [all …]
|
D | cpwl_appstream.cpp | 131 ByteString GetAP_Check(const CFX_FloatRect& crBBox) { in GetAP_Check() 180 ByteString GetAP_Circle(const CFX_FloatRect& crBBox) { in GetAP_Circle() 224 ByteString GetAP_Cross(const CFX_FloatRect& crBBox) { in GetAP_Cross() 236 ByteString GetAP_Diamond(const CFX_FloatRect& crBBox) { in GetAP_Diamond() 256 ByteString GetAP_Square(const CFX_FloatRect& crBBox) { in GetAP_Square() 269 ByteString GetAP_Star(const CFX_FloatRect& crBBox) { in GetAP_Star() 298 ByteString GetAP_HalfCircle(const CFX_FloatRect& crBBox, float fRotate) { in GetAP_HalfCircle() 334 ByteString GetAppStream_Check(const CFX_FloatRect& rcBBox, in GetAppStream_Check() 345 ByteString GetAppStream_Circle(const CFX_FloatRect& rcBBox, in GetAppStream_Circle() 356 ByteString GetAppStream_Cross(const CFX_FloatRect& rcBBox, in GetAppStream_Cross() [all …]
|
D | cpwl_caret.cpp | 31 CFX_FloatRect rcRect = GetCaretRect(); in DrawThisAppearance() 32 CFX_FloatRect rcClip = GetClipRect(); in DrawThisAppearance() 68 CFX_FloatRect CPWL_Caret::GetCaretRect() const { in GetCaretRect() 69 return CFX_FloatRect(m_ptFoot.x, m_ptFoot.y, m_ptHead.x + m_fWidth, in GetCaretRect() 117 bool CPWL_Caret::InvalidateRect(CFX_FloatRect* pRect) { in InvalidateRect() 122 CFX_FloatRect rcRefresh = *pRect; in InvalidateRect()
|
D | cpwl_caret.h | 21 bool InvalidateRect(CFX_FloatRect* pRect) override; 28 void SetInvalidRect(CFX_FloatRect rc) { m_rcInvalid = rc; } in SetInvalidRect() 31 CFX_FloatRect GetCaretRect() const; 38 CFX_FloatRect m_rcInvalid;
|
D | cpwl_edit_impl.h | 35 const CFX_FloatRect& rcLine) in CPWL_EditImpl_LineRect() 39 CFX_FloatRect m_rcLine; 48 void Push(const CPVT_WordRange& linerange, const CFX_FloatRect& rect); 50 std::vector<CFX_FloatRect>* GetRefreshRects(); 54 void Add(const CFX_FloatRect& new_rect); 58 std::vector<CFX_FloatRect> m_RefreshRects; 237 const CFX_FloatRect& rcClip, 256 void SetPlateRect(const CFX_FloatRect& rect); 304 CFX_FloatRect GetContentRect() const; 367 CFX_FloatRect VTToEdit(const CFX_FloatRect& rect) const; [all …]
|
D | cpwl_list_box.cpp | 63 void CPWL_List_Notify::IOnInvalidateRect(CFX_FloatRect* pRect) { in IOnInvalidateRect() 102 CFX_FloatRect rcPlate = m_pList->GetPlateRect(); in DrawThisAppearance() 103 CFX_FloatRect rcList = GetListRect(); in DrawThisAppearance() 104 CFX_FloatRect rcClient = GetClientRect(); in DrawThisAppearance() 107 CFX_FloatRect rcItem = m_pList->GetItemRect(i); in DrawThisAppearance() 113 CFX_FloatRect rcContent = pEdit->GetContentRect(); in DrawThisAppearance() 283 CFX_FloatRect CPWL_ListBox::GetFocusRect() const { in GetFocusRect() 285 CFX_FloatRect rcCaret = m_pList->GetItemRect(m_pList->GetCaret()); in GetFocusRect() 362 CFX_FloatRect CPWL_ListBox::GetContentRect() const { in GetContentRect() 370 CFX_FloatRect CPWL_ListBox::GetListRect() const { in GetListRect()
|
D | cpwl_combo_box.cpp | 101 CFX_FloatRect rectWnd = CPWL_Wnd::GetWindowRect(); in DrawThisAppearance() 271 ecp.rcRectWnd = CFX_FloatRect(); in CreateEdit() 309 lcp.rcRectWnd = CFX_FloatRect(); in CreateListBox() 326 const CFX_FloatRect rcClient = GetClientRect(); in RePosChildWnd() 331 CFX_FloatRect rcList = CPWL_Wnd::GetWindowRect(); in RePosChildWnd() 332 CFX_FloatRect rcButton = rcClient; in RePosChildWnd() 335 CFX_FloatRect rcEdit = rcClient; in RePosChildWnd() 373 CFX_FloatRect rcButton = rcClient; in RePosChildWnd() 382 CFX_FloatRect rcEdit = rcClient; in RePosChildWnd() 405 CFX_FloatRect CPWL_ComboBox::GetFocusRect() const { in GetFocusRect() [all …]
|
D | cpwl_edit.cpp | 84 CFX_FloatRect rcWindow = m_rcOldWindow; in RePosChildWnd() 85 CFX_FloatRect rcVScroll = in RePosChildWnd() 86 CFX_FloatRect(rcWindow.right, rcWindow.bottom, in RePosChildWnd() 97 CFX_FloatRect rect = GetClientRect(); in RePosChildWnd() 109 CFX_FloatRect CPWL_Edit::GetClientRect() const { in GetClientRect() 111 CFX_FloatRect rcClient = GetWindowRect().GetDeflated(width, width); in GetClientRect() 186 SetClipRect(CFX_FloatRect()); in SetParamByFlag() 190 CFX_FloatRect rect = GetClientRect(); in SetParamByFlag() 205 CFX_FloatRect rcClient = GetClientRect(); in DrawThisAppearance() 275 CFX_FloatRect rcClip; in DrawThisAppearance() [all …]
|
/external/pdfium/core/fxcrt/ |
D | fx_coordinates.cpp | 49 CFX_FloatRect::CFX_FloatRect(const FX_RECT& rect) { in CFX_FloatRect() function in CFX_FloatRect 57 CFX_FloatRect CFX_FloatRect::GetBBox(const CFX_PointF* pPoints, int nPoints) { in GetBBox() 59 return CFX_FloatRect(); in GetBBox() 71 return CFX_FloatRect(min_x, min_y, max_x, max_y); in GetBBox() 74 void CFX_FloatRect::Normalize() { in Normalize() 81 void CFX_FloatRect::Reset() { in Reset() 88 void CFX_FloatRect::Intersect(const CFX_FloatRect& other_rect) { in Intersect() 90 CFX_FloatRect other = other_rect; in Intersect() 100 void CFX_FloatRect::Union(const CFX_FloatRect& other_rect) { in Union() 102 CFX_FloatRect other = other_rect; in Union() [all …]
|
D | fx_coordinates_unittest.cpp | 11 TEST(CFX_FloatRect, GetBBox) { in TEST() argument 12 CFX_FloatRect rect = CFX_FloatRect::GetBBox(nullptr, 0); in TEST() 20 rect = CFX_FloatRect::GetBBox(data.data(), 0); in TEST() 25 rect = CFX_FloatRect::GetBBox(data.data(), data.size()); in TEST() 33 rect = CFX_FloatRect::GetBBox(data.data(), 2); in TEST() 39 rect = CFX_FloatRect::GetBBox(data.data(), data.size()); in TEST() 46 rect = CFX_FloatRect::GetBBox(data.data(), data.size()); in TEST() 53 rect = CFX_FloatRect::GetBBox(data.data(), data.size()); in TEST() 60 rect = CFX_FloatRect::GetBBox(data.data(), data.size()); in TEST() 67 TEST(CFX_FloatRect, Normalize) { in TEST() argument [all …]
|
D | fx_coordinates.h | 225 class CFX_FloatRect { 227 CFX_FloatRect() : CFX_FloatRect(0.0f, 0.0f, 0.0f, 0.0f) {} in CFX_FloatRect() function 228 CFX_FloatRect(float l, float b, float r, float t) in CFX_FloatRect() function 231 explicit CFX_FloatRect(const float* pArray) in CFX_FloatRect() function 232 : CFX_FloatRect(pArray[0], pArray[1], pArray[2], pArray[3]) {} in CFX_FloatRect() 234 explicit CFX_FloatRect(const FX_RECT& rect); 236 static CFX_FloatRect GetBBox(const CFX_PointF* pPoints, int nPoints); 245 bool Contains(const CFX_FloatRect& other_rect) const; 247 void Intersect(const CFX_FloatRect& other_rect); 248 void Union(const CFX_FloatRect& other_rect); [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdf_flatten.cpp | 32 bool IsValidRect(const CFX_FloatRect& rect, const CFX_FloatRect& rcPage) { in IsValidRect() 49 std::vector<CFX_FloatRect>* pRectArray) { in GetContentsRect() 54 CFX_FloatRect rc; in GetContentsRect() 66 std::vector<CFX_FloatRect>* pRectArray, in ParserStream() 70 CFX_FloatRect rect; in ParserStream() 84 std::vector<CFX_FloatRect>* pRectArray, in ParserAnnots() 119 float GetMinMaxValue(const std::vector<CFX_FloatRect>& array, in GetMinMaxValue() 160 CFX_FloatRect CalculateRect(std::vector<CFX_FloatRect>* pRectArray) { in CalculateRect() 161 CFX_FloatRect rcRet; in CalculateRect() 218 CFX_Matrix GetMatrix(CFX_FloatRect rcAnnot, in GetMatrix() [all …]
|
D | cba_annotiterator.cpp | 17 CFX_FloatRect GetAnnotRect(const CPDFSDK_Annot* pAnnot) { in GetAnnotRect() 84 CFX_FloatRect CBA_AnnotIterator::AddToAnnotsList( in AddToAnnotsList() 88 CFX_FloatRect rcLeftTop = GetAnnotRect(pLeftTopAnnot); in AddToAnnotsList() 118 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults() 127 CFX_FloatRect rcLeftTop = AddToAnnotsList(&sa, nLeftTopIndex); in GenerateResults() 131 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults() 150 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults() 162 CFX_FloatRect rcLeftTop = AddToAnnotsList(&sa, nLeftTopIndex); in GenerateResults() 166 CFX_FloatRect rcAnnot = GetAnnotRect(sa[i]); in GenerateResults()
|
D | fsdk_baseform_embeddertest.cpp | 17 void CheckRect(const CFX_FloatRect& actual, const CFX_FloatRect& expected) { in CheckRect() 37 CFX_FloatRect LeftBottom(200, 200, 220, 220); in TEST_F() 38 CFX_FloatRect RightBottom(400, 201, 420, 221); in TEST_F() 39 CFX_FloatRect LeftTop(201, 400, 221, 420); in TEST_F() 40 CFX_FloatRect RightTop(401, 401, 421, 421); in TEST_F()
|
/external/pdfium/core/fpdftext/ |
D | cpdf_textpage.h | 56 CFX_FloatRect m_CharBox; 77 CFX_FloatRect m_CharBox; 103 std::vector<CFX_FloatRect> GetRectArray(int start, int nCount) const; 105 WideString GetTextByRect(const CFX_FloatRect& rect) const; 114 bool GetRect(int rectIndex, CFX_FloatRect* pRect) const; 116 static bool IsRectIntersect(const CFX_FloatRect& rect1, 117 const CFX_FloatRect& rect2); 179 std::vector<CFX_FloatRect> m_SelRects; 182 CFX_FloatRect m_CurlineRect;
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_clippath.cpp | 42 CFX_FloatRect CPDF_ClipPath::GetClipBox() const { in GetClipBox() 43 CFX_FloatRect rect; in GetClipBox() 48 CFX_FloatRect path_rect = GetPath(i).GetBoundingBox(); in GetClipBox() 54 CFX_FloatRect layer_rect; in GetClipBox() 68 layer_rect = CFX_FloatRect(pTextObj->GetBBox(nullptr)); in GetClipBox() 71 layer_rect.Union(CFX_FloatRect(pTextObj->GetBBox(nullptr))); in GetClipBox() 85 CFX_FloatRect old_rect(point0.x, point0.y, point2.x, point2.y); in AppendPath() 86 CFX_FloatRect new_rect = path.GetBoundingBox(); in AppendPath()
|
D | cpdf_pageobjectholder.h | 67 const std::vector<CFX_FloatRect>& GetMaskBoundingBoxes() const { in GetMaskBoundingBoxes() 70 void AddImageMaskBoundingBox(const CFX_FloatRect& box); 72 CFX_FloatRect CalcBoundingBox() const; 81 CFX_FloatRect m_BBox; 90 std::vector<CFX_FloatRect> m_MaskBoundingBoxes;
|
D | cpdf_pageobjectholder.cpp | 49 void CPDF_PageObjectHolder::AddImageMaskBoundingBox(const CFX_FloatRect& box) { in AddImageMaskBoundingBox() 58 CFX_FloatRect CPDF_PageObjectHolder::CalcBoundingBox() const { in CalcBoundingBox() 60 return CFX_FloatRect(); in CalcBoundingBox() 72 return CFX_FloatRect(left, bottom, right, top); in CalcBoundingBox()
|
/external/pdfium/fpdfsdk/formfiller/ |
D | cffl_formfiller.h | 109 CFX_FloatRect FFLtoPWL(const CFX_FloatRect& rect); 110 CFX_FloatRect PWLtoFFL(const CFX_FloatRect& rect); 115 CFX_FloatRect FFLtoWnd(CPDFSDK_PageView* pPageView, 116 const CFX_FloatRect& rect); 132 virtual CFX_FloatRect GetFocusBox(CPDFSDK_PageView* pPageView); 135 CFX_FloatRect GetPDFWindowRect() const;
|
D | cffl_formfiller.cpp | 54 CFX_FloatRect rcAnnot = m_pWidget->GetRect(); in GetViewBBox() 58 CFX_FloatRect rcWin = rcAnnot; in GetViewBBox() 59 CFX_FloatRect rcFocus = GetFocusBox(pPageView); in GetViewBBox() 394 CFX_FloatRect rcDA = m_pWidget->GetPDFAnnot()->GetRect(); in GetCurMatrix() 416 CFX_FloatRect CFFL_FormFiller::GetPDFWindowRect() const { in GetPDFWindowRect() 417 CFX_FloatRect rectAnnot = m_pWidget->GetPDFAnnot()->GetRect(); in GetPDFWindowRect() 423 return CFX_FloatRect(0, 0, fWidth, fHeight); in GetPDFWindowRect() 431 CFX_FloatRect CFFL_FormFiller::GetFocusBox(CPDFSDK_PageView* pPageView) { in GetFocusBox() 434 return CFX_FloatRect(); in GetFocusBox() 436 CFX_FloatRect rcFocus = FFLtoWnd(pPageView, PWLtoFFL(pWnd->GetFocusRect())); in GetFocusBox() [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_generateap.cpp | 195 ByteString GenerateBorderAP(const CFX_FloatRect& rect, in GenerateBorderAP() 415 ByteString GenerateTextSymbolAP(const CFX_FloatRect& rect) { in GenerateTextSymbolAP() 428 CFX_FloatRect outerRect1 = rect; in GenerateTextSymbolAP() 432 CFX_FloatRect outerRect2 = outerRect1; in GenerateTextSymbolAP() 449 CFX_FloatRect lineRect = outerRect1; in GenerateTextSymbolAP() 518 CFX_FloatRect rect = bIsTextMarkupAnnotation in GenerateAndSetAPDict() 546 CFX_FloatRect rect = pAnnotDict->GetRectFor("Rect"); in GenerateCircleAP() 606 CFX_FloatRect rect = CPDF_Annot::RectFromQuadPoints(pAnnotDict); in GenerateHighlightAP() 648 CFX_FloatRect rect = pAnnotDict->GetRectFor("Rect"); in GenerateInkAP() 682 CFX_FloatRect rect = pAnnotDict->GetRectFor("Rect"); in GenerateTextAP() [all …]
|