Home
last modified time | relevance | path

Searched refs:CPDF_Rect (Results 1 – 25 of 63) sorted by relevance

123

/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h110 static CPDF_Rect InflateRect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
111 static CPDF_Rect DeflateRect(const CPDF_Rect& rcRect, FX_FLOAT fSize);
112 static FX_BOOL IntersectRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2);
113 static FX_BOOL ContainsRect(const CPDF_Rect& rcParent,
114 const CPDF_Rect& rcChild);
115 static CPDF_Rect ScaleRect(const CPDF_Rect& rcRect, FX_FLOAT fScale);
118 static CPDF_Rect GetCenterSquare(const CPDF_Rect& rect);
123 static CPDF_Rect MaxRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2);
124 static CPDF_Rect OffsetRect(const CPDF_Rect& rect, FX_FLOAT x, FX_FLOAT y);
135 static CFX_ByteString GetBorderAppStream(const CPDF_Rect& rect,
[all …]
DPWL_ListCtrl.h19 CPDF_Rect GetScrollArea() const;
29 CPDF_Rect InToOut(const CPDF_Rect& rect) const;
30 CPDF_Rect OutToIn(const CPDF_Rect& rect) const;
41 CPDF_Rect m_rcContent;
DPWL_Wnd.h229 CPDF_Rect rcRectWnd; // required
294 void Move(const CPDF_Rect& rcNew, FX_BOOL bReset, FX_BOOL bRefresh);
295 virtual void InvalidateRect(CPDF_Rect* pRect = NULL);
328 virtual CPDF_Rect GetFocusRect() const;
341 void SetClipRect(const CPDF_Rect& rect);
344 virtual CPDF_Rect GetWindowRect() const;
345 virtual CPDF_Rect GetClientRect() const;
352 const CPDF_Rect& GetClipRect() const;
380 virtual CPDF_Rect ChildToParent(const CPDF_Rect& rect) const;
382 virtual CPDF_Rect ParentToChild(const CPDF_Rect& rect) const;
[all …]
DPWL_Caret.h31 void InvalidateRect(CPDF_Rect* pRect = NULL) override;
39 void SetInvalidRect(CPDF_Rect rc) { m_rcInvalid = rc; } in SetInvalidRect()
43 CPDF_Rect GetCaretRect() const;
50 CPDF_Rect m_rcInvalid;
DPWL_EditCtrl.h30 virtual void OnContentChange(const CPDF_Rect& rcContent) {} in OnContentChange()
62 CPDF_Rect GetContentRect() const;
68 void GetTextRange(const CPDF_Rect& rect,
143 void IOnContentChange(const CPDF_Rect& rcContent) override;
144 void IOnInvalidateRect(CPDF_Rect* pRect) override;
DPWL_ListBox.h38 void IOnInvalidateRect(CPDF_Rect* pRect) override;
77 CPDF_Rect GetFocusRect() const override;
101 CPDF_Rect GetContentRect() const;
103 CPDF_Rect GetListRect() const;
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_ListCtrl.cpp39 CPDF_Rect CPWL_ListCtrl::GetScrollArea() const { in GetScrollArea()
80 CPDF_Rect rcClient = GetClientRect(); in ResetAll()
101 pChild->Move(CPDF_Rect(fLeft, fy - fItemHeight, fWidth - fRight, fy), in ResetAll()
140 CPDF_Rect rcClient = GetClientRect(); in DrawChildAppearance()
141 CPDF_Rect rcTemp = rcClient; in DrawChildAppearance()
150 CPDF_Rect rcChild = pChild->ChildToParent(pChild->GetWindowRect()); in DrawChildAppearance()
176 CPDF_Rect rcClient = GetClientRect(); in InToOut()
183 CPDF_Rect rcClient = GetClientRect(); in OutToIn()
189 CPDF_Rect CPWL_ListCtrl::InToOut(const CPDF_Rect& rect) const { in InToOut()
190 CPDF_Rect rcClient = GetClientRect(); in InToOut()
[all …]
DPWL_ScrollBar.cpp135 CPDF_Rect rectWnd = GetWindowRect(); in GetThisAppearanceStream()
241 CPDF_Rect rectWnd = GetWindowRect(); in DrawThisAppearance()
306 CPDF_Rect rcDraw = rectWnd; in DrawThisAppearance()
353 CPDF_Rect rcDraw = rectWnd; in DrawThisAppearance()
399 CPDF_Rect rcDraw = rectWnd; in DrawThisAppearance()
588 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
589 CPDF_Rect rcMinButton, rcMaxButton; in RePosChildWnd()
598 CPDF_Rect(rcClient.left, rcClient.bottom, in RePosChildWnd()
600 rcMaxButton = CPDF_Rect(rcClient.right - PWL_SCROLLBAR_BUTTON_WIDTH, in RePosChildWnd()
608 rcMinButton = CPDF_Rect(rcClient.left, rcClient.bottom, in RePosChildWnd()
[all …]
DPWL_Wnd.cpp276 void CPWL_Wnd::Move(const CPDF_Rect& rcNew, FX_BOOL bReset, FX_BOOL bRefresh) { in Move()
278 CPDF_Rect rcOld = GetWindowRect(); in Move()
297 void CPWL_Wnd::InvalidateRectMove(const CPDF_Rect& rcOld, in InvalidateRectMove()
298 const CPDF_Rect& rcNew) { in InvalidateRectMove()
299 CPDF_Rect rcUnion = rcOld; in InvalidateRectMove()
314 CPDF_Rect rectWnd = GetWindowRect(); in GetThisAppearanceStream()
351 CPDF_Rect rectWnd = GetWindowRect(); in DrawThisAppearance()
354 CPDF_Rect rcClient = CPWL_Utils::DeflateRect( in DrawThisAppearance()
384 void CPWL_Wnd::InvalidateRect(CPDF_Rect* pRect) { in InvalidateRect()
386 CPDF_Rect rcRefresh = pRect ? *pRect : GetWindowRect(); in InvalidateRect()
[all …]
DPWL_Caret.cpp33 CPDF_Rect rcRect = GetCaretRect(); in DrawThisAppearance()
34 CPDF_Rect rcClip = GetClipRect(); in DrawThisAppearance()
72 CPDF_Rect rcRect = GetCaretRect(); in GetCaretApp()
73 CPDF_Rect rcClip = GetClipRect(); in GetCaretApp()
108 CPDF_Rect CPWL_Caret::GetCaretRect() const { in GetCaretRect()
109 return CPDF_Rect(m_ptFoot.x, m_ptFoot.y, m_ptHead.x + m_fWidth, m_ptHead.y); in GetCaretRect()
149 void CPWL_Caret::InvalidateRect(CPDF_Rect* pRect) { in InvalidateRect()
151 CPDF_Rect rcRefresh = CPWL_Utils::InflateRect(*pRect, 0.5f); in InvalidateRect()
DPWL_Utils.cpp72 CPDF_Rect CPWL_Utils::MaxRect(const CPDF_Rect& rect1, const CPDF_Rect& rect2) { in MaxRect()
73 CPDF_Rect rcRet; in MaxRect()
83 CPDF_Rect CPWL_Utils::OffsetRect(const CPDF_Rect& rect, in OffsetRect()
86 return CPDF_Rect(rect.left + x, rect.bottom + y, rect.right + x, in OffsetRect()
90 FX_BOOL CPWL_Utils::ContainsRect(const CPDF_Rect& rcParent, in ContainsRect()
91 const CPDF_Rect& rcChild) { in ContainsRect()
96 FX_BOOL CPWL_Utils::IntersectRect(const CPDF_Rect& rect1, in IntersectRect()
97 const CPDF_Rect& rect2) { in IntersectRect()
138 CFX_ByteString CPWL_Utils::GetAP_Check(const CPDF_Rect& crBBox) { in GetAP_Check()
187 CFX_ByteString CPWL_Utils::GetAP_Circle(const CPDF_Rect& crBBox) { in GetAP_Circle()
[all …]
DPWL_ListBox.cpp63 void CPWL_List_Notify::IOnInvalidateRect(CPDF_Rect* pRect) { in IOnInvalidateRect()
112 CPDF_Rect rcPlate = m_pList->GetPlateRect(); in GetThisAppearanceStream()
114 CPDF_Rect rcItem = m_pList->GetItemRect(i); in GetThisAppearanceStream()
143 CPDF_Rect rcClient = GetClientRect(); in GetThisAppearanceStream()
161 CPDF_Rect rcPlate = m_pList->GetPlateRect(); in DrawThisAppearance()
162 CPDF_Rect rcList = GetListRect(); in DrawThisAppearance()
163 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
166 CPDF_Rect rcItem = m_pList->GetItemRect(i); in DrawThisAppearance()
172 CPDF_Rect rcContent = pEdit->GetContentRect(); in DrawThisAppearance()
383 CPDF_Rect CPWL_ListBox::GetFocusRect() const { in GetFocusRect()
[all …]
DPWL_ComboBox.cpp113 CPDF_Rect rectWnd = CPWL_Wnd::GetWindowRect(); in GetThisAppearanceStream()
146 CPDF_Rect rectWnd = CPWL_Wnd::GetWindowRect(); in DrawThisAppearance()
300 ecp.rcRectWnd = CPDF_Rect(0, 0, 0, 0); in CreateEdit()
336 lcp.rcRectWnd = CPDF_Rect(0, 0, 0, 0); in CreateListBox()
354 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
357 CPDF_Rect rclient = GetClientRect(); in RePosChildWnd()
358 CPDF_Rect rcButton = rclient; in RePosChildWnd()
359 CPDF_Rect rcEdit = rcClient; in RePosChildWnd()
360 CPDF_Rect rcList = CPWL_Wnd::GetWindowRect(); in RePosChildWnd()
422 CPDF_Rect rcButton = rcClient; in RePosChildWnd()
[all …]
DPWL_Note.cpp45 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
52 m_pText->Move(CPDF_Rect(0, 0, 0, 0), TRUE, FALSE); in RePosChildWnd()
74 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
98 CPDF_Rect CPWL_Note_Options::GetContentRect() const { in GetContentRect()
99 CPDF_Rect rcText = m_pText->GetContentRect(); in GetContentRect()
208 Move(CPDF_Rect(0, 0, fLimitWidth, 0), TRUE, FALSE); in GetItemHeight()
235 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
262 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
306 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
634 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
[all …]
DPWL_IconList.cpp36 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
52 CPDF_Rect rcIcon = rcClient; in DrawThisAppearance()
102 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
153 CPDF_Rect rcScroll = GetScrollArea(); in CreateChildWnd()
225 CPDF_Rect rcWnd = pChild->ChildToParent(pChild->GetWindowRect()); in FindItemIndex()
237 CPDF_Rect rcClient = GetClientRect(); in ScrollToItem()
240 CPDF_Rect rcOrigin = pItem->GetWindowRect(); in ScrollToItem()
241 CPDF_Rect rcWnd = pItem->ChildToParent(rcOrigin); in ScrollToItem()
468 CPDF_Rect rcScroll = m_pListContent->GetScrollArea(); in OnMouseWheel()
469 CPDF_Rect rcContents = m_pListContent->GetClientRect(); in OnMouseWheel()
DPWL_Signature.cpp30 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance()
51 CPDF_Rect rcClient = GetClientRect(); in GetScale()
110 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd()
112 CPDF_Rect rcText = rcClient; in RePosChildWnd()
113 CPDF_Rect rcDescription = rcClient; in RePosChildWnd()
/external/pdfium/fpdfsdk/include/fxedit/
Dfxet_list.h36 class CLST_Rect : public CPDF_Rect {
50 CLST_Rect(const CPDF_Rect& rect) { in CLST_Rect()
61 const CLST_Rect operator=(const CPDF_Rect& rect) {
155 virtual void SetPlateRect(const CPDF_Rect& rect) { m_rcPlate = rect; } in SetPlateRect()
156 CPDF_Rect GetPlateRect() const { return m_rcPlate; } in GetPlateRect()
173 CPDF_Rect InnerToOuter(const CLST_Rect& rect) const { in InnerToOuter()
177 return CPDF_Rect(ptLeftTop.x, ptRightBottom.y, ptRightBottom.x, in InnerToOuter()
180 CLST_Rect OuterToInner(const CPDF_Rect& rect) const { in OuterToInner()
189 CPDF_Rect m_rcPlate;
216 CPDF_Rect GetPlateRect() const override;
[all …]
Dfx_edit.h103 virtual void IOnContentChange(const CPDF_Rect& rcContent) = 0;
105 virtual void IOnInvalidateRect(CPDF_Rect* pRect) = 0;
207 virtual void SetPlateRect(const CPDF_Rect& rect, FX_BOOL bPaint = TRUE) = 0;
301 virtual CPDF_Rect GetPlateRect() const = 0;
303 virtual CPDF_Rect GetContentRect() const = 0;
442 const CPDF_Rect& rcClip,
451 const CPDF_Rect& rcClip,
457 const CPDF_Rect& rcClip,
504 virtual void IOnInvalidateRect(CPDF_Rect* pRect) = 0;
518 virtual void SetPlateRect(const CPDF_Rect& rect) = 0;
[all …]
Dfxet_edit.h44 CFX_Edit_LineRect(const CPVT_WordRange& wrLine, const CPDF_Rect& rcLine) in CFX_Edit_LineRect()
70 CPDF_Rect m_rcLine;
96 void Add(const CPVT_WordRange& wrLine, const CPDF_Rect& rcLine) { in Add()
125 void Add(const CPDF_Rect& rect) { in Add()
128 CPDF_Rect* pRect = m_Rects.GetAt(i); in Add()
133 m_Rects.Add(new CPDF_Rect(rect)); in Add()
138 CPDF_Rect* GetAt(int32_t nIndex) const { in GetAt()
145 CFX_ArrayTemplate<CPDF_Rect*> m_Rects;
154 void Push(const CPVT_WordRange& linerange, const CPDF_Rect& rect);
157 void AddRefresh(const CPDF_Rect& rect);
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdf_flatten.cpp14 typedef CFX_ArrayTemplate<CPDF_Rect> CPDF_RectArray;
19 FX_BOOL IsValiableRect(CPDF_Rect rect, CPDF_Rect rcPage) { in IsValiableRect()
52 CPDF_Rect rc; in GetContentsRect()
73 CPDF_Rect rect; in ParserStream()
138 pArray[i] = CPDF_Rect(array.GetAt(i)).left; in GetMinMaxValue()
144 pArray[i] = CPDF_Rect(array.GetAt(i)).top; in GetMinMaxValue()
150 pArray[i] = CPDF_Rect(array.GetAt(i)).right; in GetMinMaxValue()
156 pArray[i] = CPDF_Rect(array.GetAt(i)).bottom; in GetMinMaxValue()
177 CPDF_Rect CalculateRect(CPDF_RectArray* pRectArray) { in CalculateRect()
178 CPDF_Rect rcRet; in CalculateRect()
[all …]
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_FormFiller.cpp39 const CPDF_Rect& rcWindow) { in SetWindowRect()
41 pWnd->Move(CPDF_Rect(rcWindow), TRUE, FALSE); in SetWindowRect()
45 CPDF_Rect CFFL_FormFiller::GetWindowRect(CPDFSDK_PageView* pPageView) { in GetWindowRect()
50 return CPDF_Rect(0, 0, 0, 0); in GetWindowRect()
58 CPDF_Rect rcAnnot = m_pWidget->GetRect(); in GetViewBBox()
61 CPDF_Rect rcWindow = pWnd->GetWindowRect(); in GetViewBBox()
65 CPDF_Rect rcWin = rcAnnot; in GetViewBBox()
67 CPDF_Rect rcFocus = GetFocusBox(pPageView); in GetViewBBox()
71 CPDF_Rect rect = CPWL_Utils::InflateRect(rcWin, 1); in GetViewBBox()
423 CPDF_Rect rcDA; in GetCurMatrix()
[all …]
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_list.cpp158 CPDF_Rect CFX_List::GetPlateRect() const { in GetPlateRect()
162 CPDF_Rect CFX_List::GetContentRect() const { in GetContentRect()
253 CPDF_Rect CFX_List::GetItemRect(int32_t nIndex) const { in GetItemRect()
255 CPDF_Rect rcItem = pListItem->GetRect(); in GetItemRect()
261 return CPDF_Rect(); in GetItemRect()
427 CPDF_Rect rcPlate = GetPlateRect(); in InToOut()
434 CPDF_Rect rcPlate = GetPlateRect(); in OutToIn()
440 CPDF_Rect CFX_ListCtrl::InToOut(const CPDF_Rect& rect) const { in InToOut()
444 return CPDF_Rect(ptLeftBottom.x, ptLeftBottom.y, ptRightTop.x, ptRightTop.y); in InToOut()
447 CPDF_Rect CFX_ListCtrl::OutToIn(const CPDF_Rect& rect) const { in OutToIn()
[all …]
Dfxet_pageobjs.cpp16 CPDF_Rect GetUnderLineRect(const CPVT_Word& word) { in GetUnderLineRect()
17 return CPDF_Rect(word.ptWord.x, word.ptWord.y + word.fDescent * 0.5f, in GetUnderLineRect()
22 CPDF_Rect GetCrossoutRect(const CPVT_Word& word) { in GetCrossoutRect()
23 return CPDF_Rect(word.ptWord.x, in GetCrossoutRect()
95 const CPDF_Rect& rcClip, in DrawUnderline()
101 CPDF_Rect rcTemp = rcClip; in DrawUnderline()
126 CPDF_Rect rcUnderline = GetUnderLineRect(word); in DrawUnderline()
149 const CPDF_Rect& rcClip, in DrawEdit()
177 CPDF_Rect rcTemp = rcClip; in DrawEdit()
221 CPDF_Rect rc(word.ptWord.x, line.ptLine.y + line.fLineDescent, in DrawEdit()
[all …]
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_FormFiller.h109 CPDF_Rect FFLtoPWL(const CPDF_Rect& rect);
110 CPDF_Rect PWLtoFFL(const CPDF_Rect& rect);
115 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect);
117 void SetWindowRect(CPDFSDK_PageView* pPageView, const CPDF_Rect& rcWindow);
118 CPDF_Rect GetWindowRect(CPDFSDK_PageView* pPageView);
135 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView);
138 CPDF_Rect GetPDFWindowRect() const;
/external/pdfium/fpdfsdk/include/
Dfsdk_baseannot.h92 virtual void SetRect(const CPDF_Rect& rect) {} in SetRect()
93 virtual CPDF_Rect GetRect() const { return CPDF_Rect(); } in GetRect()
133 void SetRect(const CPDF_Rect& rect) override;
134 CPDF_Rect GetRect() const override;
210 const CPDF_Rect& rcBBox,

123