Home
last modified time | relevance | path

Searched refs:CFX_PointF (Results 1 – 25 of 174) sorted by relevance

1234567

/external/pdfium/xfa/fwl/theme/
Dcfwl_scrollbartp.cpp132 path.MoveTo(CFX_PointF(fX, fY - 4)); in DrawPaw()
133 path.LineTo(CFX_PointF(fX + fPawLen, fY - 4)); in DrawPaw()
134 path.MoveTo(CFX_PointF(fX, fY - 2)); in DrawPaw()
135 path.LineTo(CFX_PointF(fX + fPawLen, fY - 2)); in DrawPaw()
136 path.MoveTo(CFX_PointF(fX, fY)); in DrawPaw()
137 path.LineTo(CFX_PointF(fX + fPawLen, fY)); in DrawPaw()
138 path.MoveTo(CFX_PointF(fX, fY + 2)); in DrawPaw()
139 path.LineTo(CFX_PointF(fX + fPawLen, fY + 2)); in DrawPaw()
148 path.MoveTo(CFX_PointF(fX, fY - 3)); in DrawPaw()
149 path.LineTo(CFX_PointF(fX + fPawLen, fY - 3)); in DrawPaw()
[all …]
Dcfwl_checkboxtp.cpp23 CFX_PointF ScaleBezierPoint(const CFX_PointF& point) { in ScaleBezierPoint()
24 CFX_PointF scaled_point(point); in ScaleBezierPoint()
101 path.AddLine(pRtSign->TopLeft(), CFX_PointF(fRight, fBottom)); in DrawSignCross()
102 path.AddLine(CFX_PointF(pRtSign->left, fBottom), in DrawSignCross()
103 CFX_PointF(fRight, pRtSign->top)); in DrawSignCross()
120 path.MoveTo(CFX_PointF(pRtSign->left + fWidth / 2, pRtSign->top)); in DrawSignDiamond()
121 path.LineTo(CFX_PointF(pRtSign->left, pRtSign->top + fHeight / 2)); in DrawSignDiamond()
122 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, fBottom)); in DrawSignDiamond()
123 path.LineTo(CFX_PointF(pRtSign->right(), pRtSign->top + fHeight / 2)); in DrawSignDiamond()
124 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, pRtSign->top)); in DrawSignDiamond()
[all …]
Dcfwl_widgettp.cpp153 CFX_PointF begPoint(fx1, fy1); in DrawAxialShading()
154 CFX_PointF endPoint(fx2, fy2); in DrawAxialShading()
193 path.MoveTo(CFX_PointF(fLeft, fTop + 1)); in DrawArrow()
194 path.LineTo(CFX_PointF(fLeft + 4, fTop + 5)); in DrawArrow()
195 path.LineTo(CFX_PointF(fLeft + 8, fTop + 1)); in DrawArrow()
196 path.LineTo(CFX_PointF(fLeft + 7, fTop)); in DrawArrow()
197 path.LineTo(CFX_PointF(fLeft + 4, fTop + 3)); in DrawArrow()
198 path.LineTo(CFX_PointF(fLeft + 1, fTop)); in DrawArrow()
202 path.MoveTo(CFX_PointF(fLeft, fTop + 4)); in DrawArrow()
203 path.LineTo(CFX_PointF(fLeft + 4, fTop)); in DrawArrow()
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_scroll_bar.cpp147 CFX_PointF ptCenter = GetCenterPoint(); in DrawThisAppearance()
153 CFX_PointF pt1; in DrawThisAppearance()
154 CFX_PointF pt2; in DrawThisAppearance()
155 CFX_PointF pt3; in DrawThisAppearance()
160 CFX_PointF(ptCenter.x - kScrollBarTriangleQuarterLength, ptCenter.y); in DrawThisAppearance()
161 pt2 = CFX_PointF(ptCenter.x + kScrollBarTriangleQuarterLength, in DrawThisAppearance()
163 pt3 = CFX_PointF(ptCenter.x + kScrollBarTriangleQuarterLength, in DrawThisAppearance()
167 CFX_PointF(ptCenter.x + kScrollBarTriangleQuarterLength, ptCenter.y); in DrawThisAppearance()
168 pt2 = CFX_PointF(ptCenter.x - kScrollBarTriangleQuarterLength, in DrawThisAppearance()
170 pt3 = CFX_PointF(ptCenter.x - kScrollBarTriangleQuarterLength, in DrawThisAppearance()
[all …]
Dcpwl_scroll_bar.h56 bool OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) override;
57 bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) override;
58 bool OnMouseMove(const CFX_PointF& point, uint32_t nFlag) override;
130 bool OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) override;
131 bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) override;
134 void NotifyLButtonDown(CPWL_Wnd* child, const CFX_PointF& pos) override;
135 void NotifyLButtonUp(CPWL_Wnd* child, const CFX_PointF& pos) override;
136 void NotifyMouseMove(CPWL_Wnd* child, const CFX_PointF& pos) override;
158 void OnMinButtonLBDown(const CFX_PointF& point);
159 void OnMinButtonLBUp(const CFX_PointF& point);
[all …]
Dcpwl_list_impl.h51 void OnMouseDown(const CFX_PointF& point, bool bShift, bool bCtrl);
52 void OnMouseMove(const CFX_PointF& point, bool bShift, bool bCtrl);
61 void SetScrollPos(const CFX_PointF& point);
70 int32_t GetItemIndex(const CFX_PointF& point) const;
122 CFX_PointF InToOut(const CFX_PointF& point) const;
123 CFX_PointF OutToIn(const CFX_PointF& point) const;
127 CFX_PointF InnerToOuter(const CFX_PointF& point) const;
128 CFX_PointF OuterToInner(const CFX_PointF& point) const;
149 CFX_PointF GetBTPoint() const { in GetBTPoint()
150 return CFX_PointF(m_rcPlate.left, m_rcPlate.top); in GetBTPoint()
[all …]
Dcpwl_list_impl.cpp116 CFX_PointF CPWL_ListCtrl::InToOut(const CFX_PointF& point) const { in InToOut()
118 return CFX_PointF(point.x - (m_ptScrollPos.x - rcPlate.left), in InToOut()
122 CFX_PointF CPWL_ListCtrl::OutToIn(const CFX_PointF& point) const { in OutToIn()
124 return CFX_PointF(point.x + (m_ptScrollPos.x - rcPlate.left), in OutToIn()
129 CFX_PointF ptLeftBottom = InToOut(CFX_PointF(rect.left, rect.bottom)); in InToOut()
130 CFX_PointF ptRightTop = InToOut(CFX_PointF(rect.right, rect.top)); in InToOut()
136 CFX_PointF ptLeftBottom = OutToIn(CFX_PointF(rect.left, rect.bottom)); in OutToIn()
137 CFX_PointF ptRightTop = OutToIn(CFX_PointF(rect.right, rect.top)); in OutToIn()
142 CFX_PointF CPWL_ListCtrl::InnerToOuter(const CFX_PointF& point) const { in InnerToOuter()
143 return CFX_PointF(point.x + GetBTPoint().x, GetBTPoint().y - point.y); in InnerToOuter()
[all …]
Dcpwl_edit_ctrl.h34 CFX_PointF GetScrollPos() const;
35 void SetScrollPos(const CFX_PointF& point);
52 bool OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) override;
53 bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) override;
54 bool OnMouseMove(const CFX_PointF& point, uint32_t nFlag) override;
67 const CFX_PointF& ptHead,
68 const CFX_PointF& ptFoot);
82 void GetCaretInfo(CFX_PointF* ptHead, CFX_PointF* ptFoot) const;
Dcpwl_wnd.h160 virtual bool OnLButtonDblClk(const CFX_PointF& point, uint32_t nFlag);
161 virtual bool OnLButtonDown(const CFX_PointF& point, uint32_t nFlag);
162 virtual bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag);
163 virtual bool OnRButtonDown(const CFX_PointF& point, uint32_t nFlag);
164 virtual bool OnRButtonUp(const CFX_PointF& point, uint32_t nFlag);
165 virtual bool OnMouseMove(const CFX_PointF& point, uint32_t nFlag);
167 const CFX_PointF& point,
172 virtual void NotifyLButtonDown(CPWL_Wnd* child, const CFX_PointF& pos);
173 virtual void NotifyLButtonUp(CPWL_Wnd* child, const CFX_PointF& pos);
174 virtual void NotifyMouseMove(CPWL_Wnd* child, const CFX_PointF& pos);
[all …]
Dcpwl_edit_ctrl.cpp40 return mt.Transform(CFX_PointF(1, 1)).y == mt.Transform(CFX_PointF(0, 1)).y; in IsWndHorV()
85 m_pEdit->SetScrollPos(CFX_PointF(m_pEdit->GetScrollPos().x, pos)); in ScrollWindowVertically()
263 bool CPWL_EditCtrl::OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) { in OnLButtonDown()
279 bool CPWL_EditCtrl::OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) { in OnLButtonUp()
294 bool CPWL_EditCtrl::OnMouseMove(const CFX_PointF& point, uint32_t nFlag) { in OnMouseMove()
304 CFX_PointF ptHead; in SetEditCaret()
305 CFX_PointF ptFoot; in SetEditCaret()
314 void CPWL_EditCtrl::GetCaretInfo(CFX_PointF* ptHead, CFX_PointF* ptFoot) const { in GetCaretInfo()
333 const CFX_PointF& ptHead, in SetCaret()
334 const CFX_PointF& ptFoot) { in SetCaret()
[all …]
/external/pdfium/xfa/fxgraphics/
Dcxfa_gepath.h26 void MoveTo(const CFX_PointF& point);
27 void LineTo(const CFX_PointF& point);
28 void BezierTo(const CFX_PointF& c1,
29 const CFX_PointF& c2,
30 const CFX_PointF& to);
31 void ArcTo(const CFX_PointF& pos,
36 void AddLine(const CFX_PointF& p1, const CFX_PointF& p2);
39 void AddArc(const CFX_PointF& pos,
47 void ArcToInternal(const CFX_PointF& pos,
Dcxfa_gepath.cpp24 void CXFA_GEPath::MoveTo(const CFX_PointF& point) { in MoveTo()
28 void CXFA_GEPath::LineTo(const CFX_PointF& point) { in LineTo()
32 void CXFA_GEPath::BezierTo(const CFX_PointF& c1, in BezierTo()
33 const CFX_PointF& c2, in BezierTo()
34 const CFX_PointF& to) { in BezierTo()
40 void CXFA_GEPath::ArcTo(const CFX_PointF& pos, in ArcTo()
45 ArcToInternal(CFX_PointF(pos.x + new_size.width, pos.y + new_size.height), in ArcTo()
49 void CXFA_GEPath::ArcToInternal(const CFX_PointF& pos, in ArcToInternal()
58 CFX_PointF points[] = {CFX_PointF(x0 + tx, -ty), CFX_PointF(x0 + tx, ty)}; in ArcToInternal()
62 CFX_PointF bezier; in ArcToInternal()
[all …]
Dcxfa_geshading.h21 CXFA_GEShading(const CFX_PointF& beginPoint,
22 const CFX_PointF& endPoint,
29 CXFA_GEShading(const CFX_PointF& beginPoint,
30 const CFX_PointF& endPoint,
45 const CFX_PointF m_beginPoint;
46 const CFX_PointF m_endPoint;
/external/pdfium/xfa/fxfa/
Dcxfa_fffield.h36 bool OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
37 bool OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point) override;
38 bool OnLButtonDblClk(uint32_t dwFlags, const CFX_PointF& point) override;
39 bool OnMouseMove(uint32_t dwFlags, const CFX_PointF& point) override;
42 const CFX_PointF& point) override;
43 bool OnRButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
44 bool OnRButtonUp(uint32_t dwFlags, const CFX_PointF& point) override;
45 bool OnRButtonDblClk(uint32_t dwFlags, const CFX_PointF& point) override;
52 FWL_WidgetHit OnHitTest(const CFX_PointF& point) override;
53 bool OnSetCursor(const CFX_PointF& point) override;
[all …]
Dcxfa_ffsignature.h24 bool OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
25 bool OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point) override;
26 bool OnLButtonDblClk(uint32_t dwFlags, const CFX_PointF& point) override;
27 bool OnMouseMove(uint32_t dwFlags, const CFX_PointF& point) override;
30 const CFX_PointF& pointy) override;
31 bool OnRButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
32 bool OnRButtonUp(uint32_t dwFlags, const CFX_PointF& point) override;
33 bool OnRButtonDblClk(uint32_t dwFlags, const CFX_PointF& point) override;
38 FWL_WidgetHit OnHitTest(const CFX_PointF& point) override;
39 bool OnSetCursor(const CFX_PointF& point) override;
Dcxfa_ffwidget.h81 virtual bool OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point);
82 virtual bool OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point);
83 virtual bool OnLButtonDblClk(uint32_t dwFlags, const CFX_PointF& point);
84 virtual bool OnMouseMove(uint32_t dwFlags, const CFX_PointF& point);
87 const CFX_PointF& point);
88 virtual bool OnRButtonDown(uint32_t dwFlags, const CFX_PointF& point);
89 virtual bool OnRButtonUp(uint32_t dwFlags, const CFX_PointF& point);
90 virtual bool OnRButtonDblClk(uint32_t dwFlags, const CFX_PointF& point);
97 virtual FWL_WidgetHit OnHitTest(const CFX_PointF& point);
98 virtual bool OnSetCursor(const CFX_PointF& point);
[all …]
Dcxfa_ffsignature.cpp48 const CFX_PointF& point) { in OnLButtonDown()
52 bool CXFA_FFSignature::OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point) { in OnLButtonUp()
57 const CFX_PointF& point) { in OnLButtonDblClk()
61 bool CXFA_FFSignature::OnMouseMove(uint32_t dwFlags, const CFX_PointF& point) { in OnMouseMove()
67 const CFX_PointF& point) { in OnMouseWheel()
72 const CFX_PointF& point) { in OnRButtonDown()
76 bool CXFA_FFSignature::OnRButtonUp(uint32_t dwFlags, const CFX_PointF& point) { in OnRButtonUp()
81 const CFX_PointF& point) { in OnRButtonDblClk()
97 FWL_WidgetHit CXFA_FFSignature::OnHitTest(const CFX_PointF& point) { in OnHitTest()
110 bool CXFA_FFSignature::OnSetCursor(const CFX_PointF& point) { in OnSetCursor()
/external/pdfium/core/fxge/
Dcfx_pathdata.cpp15 const CFX_PointF& start_pos, in UpdateLineEndPoints()
16 const CFX_PointF& end_pos, in UpdateLineEndPoints()
20 rect->UpdateRect(end_pos + CFX_PointF(hw, hw)); in UpdateLineEndPoints()
21 rect->UpdateRect(end_pos - CFX_PointF(hw, hw)); in UpdateLineEndPoints()
31 rect->UpdateRect(CFX_PointF(end_pos.x + hw, point_y)); in UpdateLineEndPoints()
32 rect->UpdateRect(CFX_PointF(end_pos.x - hw, point_y)); in UpdateLineEndPoints()
43 rect->UpdateRect(CFX_PointF(point_x, end_pos.y + hw)); in UpdateLineEndPoints()
44 rect->UpdateRect(CFX_PointF(point_x, end_pos.y - hw)); in UpdateLineEndPoints()
48 CFX_PointF diff = end_pos - start_pos; in UpdateLineEndPoints()
54 rect->UpdateRect(CFX_PointF(mx - dx1, my + dy1)); in UpdateLineEndPoints()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_linear.cpp62 CFX_PointF ptStart; in Draw()
63 CFX_PointF ptEnd; in Draw()
66 ptStart = CFX_PointF(rtFill.left, rtFill.top); in Draw()
67 ptEnd = CFX_PointF(rtFill.right(), rtFill.top); in Draw()
70 ptStart = CFX_PointF(rtFill.left, rtFill.top); in Draw()
71 ptEnd = CFX_PointF(rtFill.left, rtFill.bottom()); in Draw()
74 ptStart = CFX_PointF(rtFill.right(), rtFill.top); in Draw()
75 ptEnd = CFX_PointF(rtFill.left, rtFill.top); in Draw()
78 ptStart = CFX_PointF(rtFill.left, rtFill.bottom()); in Draw()
79 ptEnd = CFX_PointF(rtFill.left, rtFill.top); in Draw()
Dcxfa_rectangle.cpp112 CFX_PointF cp1, cp2; in GetFillPath()
170 fillPath->MoveTo(CFX_PointF(cp1.x, cp1.y + fRadius1)); in GetFillPath()
185 CFX_PointF cp; in GetFillPath()
194 CFX_PointF(cp1.x + fRadius1 * sx, cp1.y + fRadius1 * sy)); in GetFillPath()
196 fillPath->LineTo(CFX_PointF(cp2.x + fRadius2 * nx, cp2.y + fRadius2 * ny)); in GetFillPath()
362 pathLT.MoveTo(CFX_PointF(rt.left, fBottom)); in StrokeRect()
363 pathLT.LineTo(CFX_PointF(rt.left, rt.top)); in StrokeRect()
364 pathLT.LineTo(CFX_PointF(fRight, rt.top)); in StrokeRect()
365 pathLT.LineTo(CFX_PointF(fRight - fLineWidth, rt.top + fLineWidth)); in StrokeRect()
366 pathLT.LineTo(CFX_PointF(rt.left + fLineWidth, rt.top + fLineWidth)); in StrokeRect()
[all …]
/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.h46 const CFX_PointF& point);
50 const CFX_PointF& point);
54 const CFX_PointF& point);
58 const CFX_PointF& point);
63 const CFX_PointF& point);
67 const CFX_PointF& point);
71 const CFX_PointF& point);
111 CFX_PointF FFLtoPWL(const CFX_PointF& point);
112 CFX_PointF PWLtoFFL(const CFX_PointF& point);
114 CFX_PointF WndtoPWL(CPDFSDK_PageView* pPageView, const CFX_PointF& pt);
/external/pdfium/fpdfsdk/
Dcpdfsdk_pageview.h67 bool OnFocus(const CFX_PointF& point, uint32_t nFlag);
68 bool OnLButtonDown(const CFX_PointF& point, uint32_t nFlag);
69 bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag);
71 bool OnRButtonDown(const CFX_PointF& point, uint32_t nFlag);
72 bool OnRButtonUp(const CFX_PointF& point, uint32_t nFlag);
78 bool OnMouseMove(const CFX_PointF& point, int nFlag);
81 const CFX_PointF& point,
104 CPDFSDK_Annot* GetFXAnnotAtPoint(const CFX_PointF& point);
105 CPDFSDK_Annot* GetFXWidgetAtPoint(const CFX_PointF& point);
Dipdfsdk_annothandler.h43 const CFX_PointF& point) = 0;
60 const CFX_PointF& point) = 0;
64 const CFX_PointF& point) = 0;
68 const CFX_PointF& point) = 0;
72 const CFX_PointF& point) = 0;
77 const CFX_PointF& point) = 0;
81 const CFX_PointF& point) = 0;
85 const CFX_PointF& point) = 0;
89 const CFX_PointF& point) = 0;
Dcpdfsdk_baannothandler.h43 const CFX_PointF& point) override;
60 const CFX_PointF& point) override;
64 const CFX_PointF& point) override;
68 const CFX_PointF& point) override;
72 const CFX_PointF& point) override;
77 const CFX_PointF& point) override;
81 const CFX_PointF& point) override;
85 const CFX_PointF& point) override;
89 const CFX_PointF& point) override;
Dfpdfformfill_embeddertest.cpp56 int GetFormTypeAtPoint(const CFX_PointF& point) { in GetFormTypeAtPoint()
60 void ClickOnFormFieldAtPoint(const CFX_PointF& point) { in ClickOnFormFieldAtPoint()
67 void TypeTextIntoTextField(int num_chars, const CFX_PointF& point) { in TypeTextIntoTextField()
81 const CFX_PointF& point) { in SelectTextWithKeyboard()
97 void SelectTextWithMouse(const CFX_PointF& start, const CFX_PointF& end) { in SelectTextWithMouse()
162 const CFX_PointF& CharLimitFormBegin() const { in CharLimitFormBegin()
163 static const CFX_PointF point = CharLimitFormAtX(kFormBeginX); in CharLimitFormBegin()
167 const CFX_PointF& CharLimitFormEnd() const { in CharLimitFormEnd()
168 static const CFX_PointF point = CharLimitFormAtX(kFormEndX); in CharLimitFormEnd()
172 const CFX_PointF& RegularFormBegin() const { in RegularFormBegin()
[all …]

1234567