Home
last modified time | relevance | path

Searched refs:CPDF_Point (Results 1 – 25 of 58) sorted by relevance

123

/external/pdfium/fpdfsdk/include/fxedit/
Dfxet_list.h86 CPDF_Point LeftTop() const { return CPDF_Point(left, top); } in LeftTop()
88 CPDF_Point RightBottom() const { return CPDF_Point(right, bottom); } in RightBottom()
90 const CLST_Rect operator+=(const CPDF_Point& point) {
99 const CLST_Rect operator-=(const CPDF_Point& point) {
108 CLST_Rect operator+(const CPDF_Point& point) const {
113 CLST_Rect operator-(const CPDF_Point& point) const {
159 CPDF_Point GetBTPoint() const { in GetBTPoint()
160 return CPDF_Point(m_rcPlate.left, m_rcPlate.top); in GetBTPoint()
162 CPDF_Point GetETPoint() const { in GetETPoint()
163 return CPDF_Point(m_rcPlate.right, m_rcPlate.bottom); in GetETPoint()
[all …]
Dfx_edit.h18 class CPDF_Point; variable
95 const CPDF_Point& ptHead,
96 const CPDF_Point& ptFoot,
209 virtual void SetScrollPos(const CPDF_Point& point) = 0;
299 virtual CPDF_Point GetScrollPos() const = 0;
313 virtual void OnMouseDown(const CPDF_Point& point,
317 virtual void OnMouseMove(const CPDF_Point& point,
402 virtual CPVT_WordPlace SearchWordPlace(const CPDF_Point& point) const = 0;
429 const CPDF_Point& ptOffset,
435 const CPDF_Point& ptOffset,
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_ScrollBar.cpp142 CPDF_Point ptCenter = GetCenterPoint(); in GetThisAppearanceStream()
148 CPDF_Point pt1(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, ptCenter.y); in GetThisAppearanceStream()
149 CPDF_Point pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
151 CPDF_Point pt3(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
166 CPDF_Point pt1(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, ptCenter.y); in GetThisAppearanceStream()
167 CPDF_Point pt2(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
169 CPDF_Point pt3(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
190 CPDF_Point pt1(ptCenter.x - PWL_TRIANGLE_HALFLEN, in GetThisAppearanceStream()
192 CPDF_Point pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN, in GetThisAppearanceStream()
194 CPDF_Point pt3(ptCenter.x, ptCenter.y + PWL_TRIANGLE_HALFLEN * 0.5f); in GetThisAppearanceStream()
[all …]
DPWL_EditCtrl.cpp50 CPDF_Point point1(0, 1); in IsWndHorV()
51 CPDF_Point point2(1, 1); in IsWndHorV()
103 m_pEdit->SetScrollPos(CPDF_Point(m_pEdit->GetScrollPos().x, fPos)); in OnNotify()
293 FX_BOOL CPWL_EditCtrl::OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) { in OnLButtonDown()
309 FX_BOOL CPWL_EditCtrl::OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) { in OnLButtonUp()
324 FX_BOOL CPWL_EditCtrl::OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) { in OnMouseMove()
338 CPDF_Point ptHead(0, 0), ptFoot(0, 0); in SetEditCaret()
348 void CPWL_EditCtrl::GetCaretInfo(CPDF_Point& ptHead, CPDF_Point& ptFoot) const { in GetCaretInfo()
368 CPDF_Point ptHead(0, 0), ptFoot(0, 0); in GetCaretPos()
376 const CPDF_Point& ptHead, in SetCaret()
[all …]
DPWL_Caret.cpp27 GetCaretApp(sAppStream, CPDF_Point(0.0f, 0.0f)); in GetThisAppearanceStream()
68 const CPDF_Point& ptOffset) { in GetCaretApp()
93 const CPDF_Point& ptOffset) { in GetCaretAppearanceStream()
113 const CPDF_Point& ptHead, in SetCaret()
114 const CPDF_Point& ptFoot) { in SetCaret()
138 m_ptHead = CPDF_Point(0, 0); in SetCaret()
139 m_ptFoot = CPDF_Point(0, 0); in SetCaret()
DPWL_ListCtrl.cpp19 void CPWL_ListCtrl::SetScrollPos(const CPDF_Point& point) { in SetScrollPos()
35 CPDF_Point CPWL_ListCtrl::GetScrollPos() const { in GetScrollPos()
175 CPDF_Point CPWL_ListCtrl::InToOut(const CPDF_Point& point) const { in InToOut()
178 return CPDF_Point(point.x + rcClient.left - m_ptScroll.x, in InToOut()
182 CPDF_Point CPWL_ListCtrl::OutToIn(const CPDF_Point& point) const { in OutToIn()
185 return CPDF_Point(point.x - rcClient.left + m_ptScroll.x, in OutToIn()
/external/pdfium/fpdfsdk/include/
Dfsdk_annothandler.h26 class CPDF_Point; variable
55 const CPDF_Point& point) = 0;
88 const CPDF_Point& point) = 0;
92 const CPDF_Point& point) = 0;
96 const CPDF_Point& point) = 0;
100 const CPDF_Point& point) = 0;
105 const CPDF_Point& point) = 0;
109 const CPDF_Point& point) = 0;
113 const CPDF_Point& point) = 0;
117 const CPDF_Point& point) = 0;
[all …]
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_ScrollBar.h46 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
47 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
48 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override;
104 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
105 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
129 void OnMinButtonLBDown(const CPDF_Point& point);
130 void OnMinButtonLBUp(const CPDF_Point& point);
131 void OnMinButtonMouseMove(const CPDF_Point& point);
133 void OnMaxButtonLBDown(const CPDF_Point& point);
134 void OnMaxButtonLBUp(const CPDF_Point& point);
[all …]
DPWL_Caret.h17 CPDF_Point ptHead;
18 CPDF_Point ptFoot;
36 const CPDF_Point& ptHead,
37 const CPDF_Point& ptFoot);
38 CFX_ByteString GetCaretAppearanceStream(const CPDF_Point& ptOffset);
42 void GetCaretApp(CFX_ByteTextBuf& sAppStream, const CPDF_Point& ptOffset);
46 CPDF_Point m_ptHead;
47 CPDF_Point m_ptFoot;
DPWL_ListCtrl.h17 void SetScrollPos(const CPDF_Point& point);
18 CPDF_Point GetScrollPos() const;
27 CPDF_Point InToOut(const CPDF_Point& point) const;
28 CPDF_Point OutToIn(const CPDF_Point& point) const;
42 CPDF_Point m_ptScroll;
DPWL_Edit.h59 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
60 FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag) override;
61 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
63 const CPDF_Point& point,
99 CFX_ByteString GetTextAppearanceStream(const CPDF_Point& ptOffset) const;
100 CFX_ByteString GetCaretAppearanceStream(const CPDF_Point& ptOffset) const;
101 CFX_ByteString GetSelectAppearanceStream(const CPDF_Point& ptOffset) const;
114 const CPDF_Point& ptOffset,
117 const CPDF_Point& ptOffset);
144 CPDF_Point GetWordRightBottomPoint(const CPVT_WordPlace& wpWord);
[all …]
DPWL_EditCtrl.h82 CPDF_Point GetScrollPos() const;
83 void SetScrollPos(const CPDF_Point& point);
108 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
109 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
110 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override;
138 const CPDF_Point& ptHead,
139 const CPDF_Point& ptFoot,
160 void GetCaretInfo(CPDF_Point& ptHead, CPDF_Point& ptFoot) const;
162 const CPDF_Point& ptHead,
163 const CPDF_Point& ptFoot);
DPWL_Wnd.h302 virtual FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag);
303 virtual FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag);
304 virtual FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag);
305 virtual FX_BOOL OnMButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag);
306 virtual FX_BOOL OnMButtonDown(const CPDF_Point& point, FX_DWORD nFlag);
307 virtual FX_BOOL OnMButtonUp(const CPDF_Point& point, FX_DWORD nFlag);
308 virtual FX_BOOL OnRButtonDown(const CPDF_Point& point, FX_DWORD nFlag);
309 virtual FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag);
310 virtual FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag);
312 const CPDF_Point& point,
[all …]
DPWL_Utils.h80 class CPWL_Point : public CPDF_Point {
82 CPWL_Point() : CPDF_Point(0.0f, 0.0f) {} in CPWL_Point()
83 CPWL_Point(FX_FLOAT fx, FX_FLOAT fy) : CPDF_Point(fx, fy) {} in CPWL_Point()
84 CPWL_Point(const CPWL_Point& point) : CPDF_Point(point.x, point.y) {} in CPWL_Point()
125 static CPDF_Point OffsetPoint(const CPDF_Point& point,
171 const CPDF_Point& ptOffset,
177 const CPDF_Point& ptOffset,
182 const CPDF_Point& ptOffset,
211 const CPDF_Point& ptMoveTo,
212 const CPDF_Point& ptLineTo,
[all …]
DPWL_Note.h107 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
108 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
199 virtual IPWL_NoteItem* GetHitNoteItem(const CPDF_Point& point);
209 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
221 virtual IPWL_NoteItem* GetHitNoteItem(const CPDF_Point& point);
256 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
257 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
273 void PopupNoteItemMenu(const CPDF_Point& point);
319 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
320 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
[all …]
DPWL_ListBox.h41 const CPDF_Point& ptHead,
42 const CPDF_Point& ptFoot,
65 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
66 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
67 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override;
69 const CPDF_Point& point,
DPWL_IconList.h78 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override;
79 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override;
80 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override;
86 int32_t FindItemIndex(const CPDF_Point& point);
114 const CPDF_Point& point,
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_FormFiller.h48 const CPDF_Point& point);
52 const CPDF_Point& point);
56 const CPDF_Point& point);
60 const CPDF_Point& point);
65 const CPDF_Point& point);
69 const CPDF_Point& point);
73 const CPDF_Point& point);
111 CPDF_Point FFLtoPWL(const CPDF_Point& point);
112 CPDF_Point PWLtoFFL(const CPDF_Point& point);
114 CPDF_Point WndtoPWL(CPDFSDK_PageView* pPageView, const CPDF_Point& pt);
[all …]
DFFL_IFormFiller.h29 CPDF_Point point);
52 const CPDF_Point& point);
56 const CPDF_Point& point);
60 const CPDF_Point& point);
64 const CPDF_Point& point);
69 const CPDF_Point& point);
73 const CPDF_Point& point);
77 const CPDF_Point& point);
/external/pdfium/core/src/fpdfdoc/
Dpdf_vt.h260 CPVT_WordPlace SearchWordPlace(const CPDF_Point& point) const;
310 CPDF_Point GetBTPoint() const { in GetBTPoint()
311 return CPDF_Point(m_rcPlate.left, m_rcPlate.top); in GetBTPoint()
313 CPDF_Point GetETPoint() const { in GetETPoint()
314 return CPDF_Point(m_rcPlate.right, m_rcPlate.bottom); in GetETPoint()
316 inline CPDF_Point InToOut(const CPDF_Point& point) const { in InToOut()
317 return CPDF_Point(point.x + GetBTPoint().x, GetBTPoint().y - point.y); in InToOut()
319 inline CPDF_Point OutToIn(const CPDF_Point& point) const { in OutToIn()
320 return CPDF_Point(point.x - GetBTPoint().x, GetBTPoint().y - point.y); in OutToIn()
323 CPDF_Point ptLeftTop = InToOut(CPDF_Point(rect.left, rect.top)); in InToOut()
[all …]
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_pageobjs.cpp31 const CPDF_Point& pt, in DrawTextString()
52 CPDF_Point pt1(0, 0), pt2(1, 0); in DrawTextString()
72 CPDF_Point pt1(0, 0), pt2(1, 0); in DrawTextString()
96 const CPDF_Point& ptOffset, in DrawUnderline()
150 const CPDF_Point& ptOffset, in DrawEdit()
172 CPDF_Point ptBT(0.0f, 0.0f); in DrawEdit()
242 DrawTextString(pDevice, CPDF_Point(ptBT.x + ptOffset.x, in DrawEdit()
259 pDevice, CPDF_Point(word.ptWord.x + ptOffset.x, in DrawEdit()
271 pDevice, CPDF_Point(ptBT.x + ptOffset.x, ptBT.y + ptOffset.y), in DrawEdit()
285 const CPDF_Point& ptOffset, in DrawRichEdit()
[all …]
Dfxet_list.cpp170 int32_t CFX_List::GetItemIndex(const CPDF_Point& point) const { in GetItemIndex()
171 CPDF_Point pt = OuterToInner(point); in GetItemIndex()
426 CPDF_Point CFX_ListCtrl::InToOut(const CPDF_Point& point) const { in InToOut()
429 return CPDF_Point(point.x - (m_ptScrollPos.x - rcPlate.left), in InToOut()
433 CPDF_Point CFX_ListCtrl::OutToIn(const CPDF_Point& point) const { in OutToIn()
436 return CPDF_Point(point.x + (m_ptScrollPos.x - rcPlate.left), in OutToIn()
441 CPDF_Point ptLeftBottom = InToOut(CPDF_Point(rect.left, rect.bottom)); in InToOut()
442 CPDF_Point ptRightTop = InToOut(CPDF_Point(rect.right, rect.top)); in InToOut()
448 CPDF_Point ptLeftBottom = OutToIn(CPDF_Point(rect.left, rect.bottom)); in OutToIn()
449 CPDF_Point ptRightTop = OutToIn(CPDF_Point(rect.right, rect.top)); in OutToIn()
[all …]
Dfxet_ap.cpp63 const CPDF_Point& ptOffset, in GetEditAppearanceStream()
69 CPDF_Point ptOld(0.0f, 0.0f), ptNew(0.0f, 0.0f); in GetEditAppearanceStream()
95 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, in GetEditAppearanceStream()
100 ptNew = CPDF_Point(line.ptLine.x + ptOffset.x, in GetEditAppearanceStream()
132 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, in GetEditAppearanceStream()
179 const CPDF_Point& ptOffset, in GetSelectAppearanceStream()
/external/pdfium/fpdfsdk/src/
Dfsdk_annothandler.cpp159 const CPDF_Point& point) { in Annot_OnLButtonDown()
170 const CPDF_Point& point) { in Annot_OnLButtonUp()
182 const CPDF_Point& point) { in Annot_OnLButtonDblClk()
193 const CPDF_Point& point) { in Annot_OnMouseMove()
205 const CPDF_Point& point) { in Annot_OnMouseWheel()
218 const CPDF_Point& point) { in Annot_OnRButtonDown()
229 const CPDF_Point& point) { in Annot_OnRButtonUp()
350 const CPDF_Point& point) { in Annot_OnHitTest()
500 const CPDF_Point& point) { in OnLButtonDown()
515 const CPDF_Point& point) { in OnLButtonUp()
[all …]
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_FormFiller.cpp121 const CPDF_Point& point) { in OnLButtonDown()
139 const CPDF_Point& point) { in OnLButtonUp()
153 const CPDF_Point& point) { in OnLButtonDblClk()
165 const CPDF_Point& point) { in OnMouseMove()
182 const CPDF_Point& point) { in OnMouseWheel()
196 const CPDF_Point& point) { in OnRButtonDown()
208 const CPDF_Point& point) { in OnRButtonUp()
501 CPDF_Point CFFL_FormFiller::FFLtoPWL(const CPDF_Point& point) { in FFLtoPWL()
505 CPDF_Point pt = point; in FFLtoPWL()
511 CPDF_Point CFFL_FormFiller::PWLtoFFL(const CPDF_Point& point) { in PWLtoFFL()
[all …]

123