/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_SpecialButton.cpp | 58 FX_BOOL CPWL_CheckBox::OnLButtonUp(const CPDF_Point & point)
87 FX_BOOL CPWL_RadioButton::OnLButtonUp(const CPDF_Point & point)
|
PWL_EditCtrl.cpp | 56 CPDF_Point point1(0,1);
57 CPDF_Point point2(1,1);
118 m_pEdit->SetScrollPos(CPDF_Point(m_pEdit->GetScrollPos().x,fPos));
325 FX_BOOL CPWL_EditCtrl::OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag)
343 FX_BOOL CPWL_EditCtrl::OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag)
360 FX_BOOL CPWL_EditCtrl::OnMouseMove(const CPDF_Point & point, FX_DWORD nFlag)
377 CPDF_Point ptHead(0,0),ptFoot(0,0);
388 void CPWL_EditCtrl::GetCaretInfo(CPDF_Point & ptHead, CPDF_Point & ptFoot) const
414 CPDF_Point ptHead(0,0), ptFoot(0,0); [all...] |
PWL_IconList.cpp | 195 FX_BOOL CPWL_IconList_Content::OnLButtonDown(const CPDF_Point & point)
209 FX_BOOL CPWL_IconList_Content::OnLButtonUp(const CPDF_Point & point)
217 FX_BOOL CPWL_IconList_Content::OnMouseMove(const CPDF_Point & point)
254 FX_INT32 CPWL_IconList_Content::FindItemIndex(const CPDF_Point& point)
284 CPDF_Point ptScroll = GetScrollPos();
482 m_pListContent->SetScrollPos(CPDF_Point(0.0f,0.0f));
492 m_pListContent->SetScrollPos(CPDF_Point(0.0f, *(FX_FLOAT*)lParam));
555 FX_BOOL CPWL_IconList::OnMouseWheel(short zDelta, const CPDF_Point & point)
557 CPDF_Point ptScroll = m_pListContent->GetScrollPos();
563 CPDF_Point ptNew = ptScroll; [all...] |
PWL_Label.cpp | 132 rcClip, CPDF_Point(0.0f,0.0f), pRange,pSysHandler, NULL);
154 sAppStream << GetTextAppearanceStream(CPDF_Point(0.0f, 0.0f));
157 CFX_ByteString CPWL_Label::GetTextAppearanceStream(const CPDF_Point & ptOffset) const
|
PWL_ComboBox.cpp | 25 FX_BOOL CPWL_CBListBox::OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag)
124 CPDF_Point ptCenter = this->GetCenterPoint();
126 CPDF_Point pt1(ptCenter.x - PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
127 CPDF_Point pt2(ptCenter.x + PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
128 CPDF_Point pt3(ptCenter.x,ptCenter.y - PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
154 CPDF_Point ptCenter = this->GetCenterPoint();
156 CPDF_Point pt1(ptCenter.x - PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
157 CPDF_Point pt2(ptCenter.x + PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
158 CPDF_Point pt3(ptCenter.x,ptCenter.y - PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
180 FX_BOOL CPWL_CBButton::OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag) [all...] |
PWL_Note.cpp | 95 CPDF_Point ptCenter = CPDF_Point((rcClient.left + rcClient.right) * 0.5f, (rcClient.top + rcClient.bottom) * 0.5f);
97 CPDF_Point pt1(ptCenter.x - 2.0f, ptCenter.y + 2.0f * 0.5f);
98 CPDF_Point pt2(ptCenter.x + 2.0f, ptCenter.y + 2.0f * 0.5f);
99 CPDF_Point pt3(ptCenter.x, ptCenter.y - 3.0f * 0.5f);
394 FX_BOOL CPWL_Note_CloseBox::OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag)
404 FX_BOOL CPWL_Note_CloseBox::OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag)
530 IPWL_NoteItem* CPWL_Note_Contents::GetHitNoteItem(const CPDF_Point& point)
532 CPDF_Point pt = this->ParentToChild(point);
575 this->SetScrollPos(CPDF_Point(0.0f, *(FX_FLOAT*)lParam)); [all...] |
PWL_Edit.cpp | 348 CPDF_Point ptOffset = CPDF_Point(0.0f,0.0f);
480 rcClip,CPDF_Point(0.0f,0.0f),pRange, pSysHandler, m_pFormFiller);
485 CPDF_Point(0.0f,0.0f),pRange, this->GetCreationParam().pSpellCheck);
489 FX_BOOL CPWL_Edit::OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag)
507 FX_BOOL CPWL_Edit::OnLButtonDblClk(const CPDF_Point & point, FX_DWORD nFlag)
528 FX_BOOL CPWL_Edit::OnRButtonUp(const CPDF_Point & point, FX_DWORD nFlag)
548 CPDF_Point ptPopup = point;
722 SetCaret(FALSE, CPDF_Point(0.0f,0.0f), CPDF_Point(0.0f,0.0f)); [all...] |
PWL_Wnd.cpp | 538 FX_BOOL CPWL_Wnd::mouse_method_name(const CPDF_Point & point, FX_DWORD nFlag)\
590 FX_BOOL CPWL_Wnd::OnMouseWheel(short zDelta, const CPDF_Point & point, FX_DWORD nFlag)
688 CPDF_Point CPWL_Wnd::GetCenterPoint() const
692 return CPDF_Point((rcClient.left + rcClient.right) * 0.5f,
894 FX_BOOL CPWL_Wnd::WndHitTest(const CPDF_Point & point) const
899 FX_BOOL CPWL_Wnd::ClientHitTest(const CPDF_Point & point) const
1153 void CPWL_Wnd::PWLtoWnd(const CPDF_Point& point, FX_INT32& x, FX_INT32& y) const
1156 CPDF_Point pt = point;
1175 CPDF_Point CPWL_Wnd::ChildToParent(const CPDF_Point& point) const [all...] |
PWL_ListBox.cpp | 148 CPDF_Point ptOffset(rcItem.left, (rcItem.top + rcItem.bottom) * 0.5f);
199 CPDF_Point ptOffset(rcItem.left, (rcItem.top + rcItem.bottom) * 0.5f);
302 FX_BOOL CPWL_ListBox::OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag)
319 FX_BOOL CPWL_ListBox::OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag)
340 FX_BOOL CPWL_ListBox::OnMouseMove(const CPDF_Point & point, FX_DWORD nFlag)
395 m_pList->SetScrollPos(CPDF_Point(0,fPos));
615 FX_BOOL CPWL_ListBox::OnMouseWheel(short zDelta, const CPDF_Point & point, FX_DWORD nFlag)
|
PWL_Utils.cpp | 106 CPDF_Point CPWL_Utils::OffsetPoint(const CPDF_Point& point,FX_FLOAT x,FX_FLOAT y)
108 return CPDF_Point(point.x + x,point.y + y);
229 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2);
230 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top);
231 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2);
232 CPDF_Point pt4(crBBox.left + fWidth / 2,crBBox.bottom);
286 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2);
287 CPDF_Point pt2(crBBox.left + fWidth / 2,crBBox.top);
288 CPDF_Point pt3(crBBox.right,crBBox.bottom + fHeight / 2); [all...] |
/external/pdfium/fpdfsdk/include/pdfwindow/ |
PWL_Utils.h | 65 class CPWL_Point : public CPDF_Point
68 CPWL_Point() : CPDF_Point(0.0f,0.0f){}
69 CPWL_Point(FX_FLOAT fx, FX_FLOAT fy) : CPDF_Point(fx,fy) {}
70 CPWL_Point(const CPWL_Point& point) : CPDF_Point(point.x, point.y) {}
113 static CPDF_Point OffsetPoint(const CPDF_Point & point,FX_FLOAT x,FX_FLOAT y);
143 static CFX_ByteString GetEditAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, const CPVT_WordRange * pRange = NULL,
145 static CFX_ByteString GetEditSelAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
148 const CPDF_Point & ptOffset,
162 const CPDF_Point & ptMoveTo, const CPDF_Point & ptLineTo, const FX_COLORREF & color, FX_FLOAT fWidth); [all...] |
/external/pdfium/fpdfsdk/src/fxedit/ |
fxet_pageobjs.cpp | 28 static void DrawTextString(CFX_RenderDevice* pDevice, const CPDF_Point& pt, CPDF_Font* pFont, FX_FLOAT fFontSize, CPDF_Matrix* pUser2Device,
47 CPDF_Point pt1(0,0), pt2(1,0);
66 CPDF_Point pt1(0,0), pt2(1,0);
81 const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange)
132 const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange, IFX_SystemHandler* pSystemHandler, void* pFFLData)
153 CPDF_Point ptBT(0.0f,0.0f);
238 DrawTextString(pDevice, CPDF_Point(ptBT.x+ptOffset.x, ptBT.y+ptOffset.y), pFontMap->GetPDFFont(nFontIndex),
252 DrawTextString(pDevice,CPDF_Point(word.ptWord.x+ptOffset.x, word.ptWord.y+ptOffset.y), pFontMap->GetPDFFont(word.nFontIndex),
264 DrawTextString(pDevice, CPDF_Point(ptBT.x+ptOffset.x, ptBT.y+ptOffset.y), pFontMap->GetPDFFont(nFontIndex),
274 const CPDF_Rect& rcClip, const CPDF_Point& ptOffset, const CPVT_WordRange* pRange) [all...] |
fxet_ap.cpp | 68 CFX_ByteString IFX_Edit::GetEditAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
73 CPDF_Point ptOld(0.0f,0.0f),ptNew(0.0f,0.0f);
104 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, word.ptWord.y + ptOffset.y);
110 ptNew = CPDF_Point(line.ptLine.x + ptOffset.x, line.ptLine.y + ptOffset.y);
145 ptNew = CPDF_Point(word.ptWord.x + ptOffset.x, word.ptWord.y + ptOffset.y);
192 CFX_ByteString IFX_Edit::GetSelectAppearanceStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
|
fxet_list.cpp | 210 FX_INT32 CFX_List::GetItemIndex(const CPDF_Point & point) const
212 CPDF_Point pt = OuterToInner(point);
528 CPDF_Point CFX_ListCtrl::InToOut(const CPDF_Point & point) const
532 return CPDF_Point(point.x - (m_ptScrollPos.x - rcPlate.left),
536 CPDF_Point CFX_ListCtrl::OutToIn(const CPDF_Point & point) const
540 return CPDF_Point(point.x + (m_ptScrollPos.x - rcPlate.left),
546 CPDF_Point ptLeftBottom = InToOut(CPDF_Point(rect.left,rect.bottom)); [all...] |
/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_FormFiller.cpp | 147 FX_BOOL CFFL_FormFiller::OnLButtonDown(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
164 FX_BOOL CFFL_FormFiller::OnLButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
177 FX_BOOL CFFL_FormFiller::OnLButtonDblClk(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
188 FX_BOOL CFFL_FormFiller::OnMouseMove(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
204 FX_BOOL CFFL_FormFiller::OnMouseWheel(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, short zDelta, const CPDF_Point& point)
216 FX_BOOL CFFL_FormFiller::OnRButtonDown(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
227 FX_BOOL CFFL_FormFiller::OnRButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
238 FX_BOOL CFFL_FormFiller::OnRButtonDblClk(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
615 CPDF_Point CFFL_FormFiller::FFLtoPWL(const CPDF_Point& point) [all...] |
FFL_CheckBox.cpp | 79 FX_BOOL CFFL_CheckBox::OnLButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
|
FFL_RadioButton.cpp | 79 FX_BOOL CFFL_RadioButton::OnLButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
|
FFL_IFormFiller.cpp | 42 FX_BOOL CFFL_IFormFiller::Annot_HitTest(CPDFSDK_PageView* pPageView,CPDFSDK_Annot* pAnnot, CPDF_Point point)
254 FX_BOOL CFFL_IFormFiller::OnLButtonDown(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
299 FX_BOOL CFFL_IFormFiller::OnLButtonUp(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
386 FX_BOOL CFFL_IFormFiller::OnLButtonDblClk(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
399 FX_BOOL CFFL_IFormFiller::OnMouseMove(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
413 FX_BOOL CFFL_IFormFiller::OnMouseWheel(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, short zDelta, const CPDF_Point& point)
426 FX_BOOL CFFL_IFormFiller::OnRButtonDown(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
439 FX_BOOL CFFL_IFormFiller::OnRButtonUp(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
452 FX_BOOL CFFL_IFormFiller::OnRButtonDblClk(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point)
|
/external/pdfium/core/src/reflow/ |
reflowedtextpage.h | 40 int GetIndexAtPos(CPDF_Point point, FX_FLOAT xTorelance, FX_FLOAT yTorelance) const;
|
/external/pdfium/fpdfsdk/src/ |
fsdk_annothandler.cpp | 149 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnLButtonDown(CPDFSDK_PageView * pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point)
159 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnLButtonUp(CPDFSDK_PageView * pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point)
169 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnLButtonDblClk(CPDFSDK_PageView * pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point)
179 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnMouseMove(CPDFSDK_PageView * pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point)
189 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnMouseWheel(CPDFSDK_PageView * pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, short zDelta, const CPDF_Point& point)
199 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnRButtonDown(CPDFSDK_PageView * pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point)
209 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnRButtonUp(CPDFSDK_PageView * pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point)
336 FX_BOOL CPDFSDK_AnnotHandlerMgr::Annot_OnHitTest(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, const CPDF_Point& point)
485 FX_BOOL CPDFSDK_BFAnnotHandler::OnLButtonDown(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point)
502 FX_BOOL CPDFSDK_BFAnnotHandler::OnLButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_DWORD nFlags, const CPDF_Point& point) [all...] |
fsdk_mgr.cpp | 109 CPDF_Point leftbottom = CPDF_Point(rect.left, rect.bottom);
110 CPDF_Point righttop = CPDF_Point(rect.right, rect.top);
111 CPDF_Point ptA = pFFL->PWLtoFFL(leftbottom);
112 CPDF_Point ptB = pFFL->PWLtoFFL(righttop);
720 CPDF_Point point(pageX, pageY);
819 FX_BOOL CPDFSDK_PageView::OnLButtonDown(const CPDF_Point & point, FX_UINT nFlag)
844 FX_BOOL CPDFSDK_PageView::OnLButtonUp(const CPDF_Point & point, FX_UINT nFlag)
866 FX_BOOL CPDFSDK_PageView::OnMouseMove(const CPDF_Point & point, int nFlag) [all...] |
/external/pdfium/core/include/fpdfdoc/ |
fpdf_vt.h | 233 CPDF_Point ptWord;
257 CPDF_Point ptLine;
422 virtual CPVT_WordPlace SearchWordPlace(const CPDF_Point & point) const = 0;
424 virtual CPVT_WordPlace GetUpWordPlace(const CPVT_WordPlace & place, const CPDF_Point & point) const = 0;
426 virtual CPVT_WordPlace GetDownWordPlace(const CPVT_WordPlace & place, const CPDF_Point & point) const = 0;
|
fpdf_ap.h | 85 const CPDF_Point & ptOffset, FX_BOOL bContinuous, FX_WORD SubWord = 0, const CPVT_WordRange * pVisible = NULL);
|
/external/pdfium/core/src/fpdfdoc/ |
doc_ap.cpp | 468 CPDF_Point ptOffset(0.0f, 0.0f);
470 ptOffset = CPDF_Point(0.0f, (rcContent.Height() - rcBody.Height()) / 2.0f);
506 CPDF_Point ptOffset = CPDF_Point(0.0f, (rcContent.Height() - rcEdit.Height()) / 2.0f);
524 CPDF_Point ptCenter = CPDF_Point((rcButton.left + rcButton.right) / 2, (rcButton.top + rcButton.bottom) / 2);
581 sBody << "BT\n" << CPVT_GenerateAP::GenerateColorAP(CPVT_Color(CT_GRAY, 1), TRUE) << CPVT_GenerateAP::GenerateEditAP(&map, vt.GetIterator(), CPDF_Point(0.0f, fy), TRUE, 0) << "ET\n";
583 sBody << "BT\n" << CPVT_GenerateAP::GenerateColorAP(crText, TRUE) << CPVT_GenerateAP::GenerateEditAP(&map, vt.GetIterator(), CPDF_Point(0.0f, fy), TRUE, 0) << "ET\n";
637 CFX_ByteString CPVT_GenerateAP::GenerateEditAP(IPVT_FontMap * pFontMap, IPDF_VariableText_Iterator* pIterator, const CPDF_Point & ptOffset, FX_BOOL bContinuous, FX_WORD SubWord, const CPVT_WordRange * pVisible)
640 CPDF_Point ptOld(0.0f, 0.0f), ptNew(0.0f, 0.0f); [all...] |
/external/pdfium/fpdfsdk/include/fxedit/ |
fxet_edit.h | 583 void SetScrollPos(const CPDF_Point & point);
616 void OnMouseDown(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl);
617 void OnMouseMove(const CPDF_Point & point,FX_BOOL bShift,FX_BOOL bCtrl);
648 CPVT_WordPlace SearchWordPlace(const CPDF_Point& point) const;
656 CPDF_Point GetScrollPos() const;
704 inline CPDF_Point VTToEdit(const CPDF_Point & point) const;
705 inline CPDF_Point EditToVT(const CPDF_Point & point) const;
742 CPVT_WordPlace SearchPageEndPlace(const CPVT_WordPlace& wpPageBegin, const CPDF_Point& point) const; [all...] |