Home
last modified time | relevance | path

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

12345678

/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp27 CFX_PointF ScaleBezierPoint(const CFX_PointF& point) { in ScaleBezierPoint()
28 CFX_PointF scaled_point(point); in ScaleBezierPoint()
84 path.AddLine(rtSign.TopLeft(), CFX_PointF(fRight, fBottom)); in DrawSignCross()
85 path.AddLine(CFX_PointF(rtSign.left, fBottom), in DrawSignCross()
86 CFX_PointF(fRight, rtSign.top)); in DrawSignCross()
102 path.MoveTo(CFX_PointF(rtSign.left + fWidth / 2, rtSign.top)); in DrawSignDiamond()
103 path.LineTo(CFX_PointF(rtSign.left, rtSign.top + fHeight / 2)); in DrawSignDiamond()
104 path.LineTo(CFX_PointF(rtSign.left + fWidth / 2, fBottom)); in DrawSignDiamond()
105 path.LineTo(CFX_PointF(rtSign.right(), rtSign.top + fHeight / 2)); in DrawSignDiamond()
106 path.LineTo(CFX_PointF(rtSign.left + fWidth / 2, rtSign.top)); in DrawSignDiamond()
[all …]
Dcfwl_widgettp.cpp146 path.MoveTo(CFX_PointF(fLeft, fTop + 1)); in DrawArrow()
147 path.LineTo(CFX_PointF(fLeft + 4, fTop + 5)); in DrawArrow()
148 path.LineTo(CFX_PointF(fLeft + 8, fTop + 1)); in DrawArrow()
149 path.LineTo(CFX_PointF(fLeft + 7, fTop)); in DrawArrow()
150 path.LineTo(CFX_PointF(fLeft + 4, fTop + 3)); in DrawArrow()
151 path.LineTo(CFX_PointF(fLeft + 1, fTop)); in DrawArrow()
154 path.MoveTo(CFX_PointF(fLeft, fTop + 4)); in DrawArrow()
155 path.LineTo(CFX_PointF(fLeft + 4, fTop)); in DrawArrow()
156 path.LineTo(CFX_PointF(fLeft + 8, fTop + 4)); in DrawArrow()
157 path.LineTo(CFX_PointF(fLeft + 7, fTop + 5)); in DrawArrow()
[all …]
/external/pdfium/xfa/fgas/graphics/
Dcfgas_gepath.h25 void MoveTo(const CFX_PointF& point);
26 void LineTo(const CFX_PointF& point);
27 void BezierTo(const CFX_PointF& c1,
28 const CFX_PointF& c2,
29 const CFX_PointF& to);
30 void ArcTo(const CFX_PointF& pos,
35 void AddLine(const CFX_PointF& p1, const CFX_PointF& p2);
38 void AddArc(const CFX_PointF& pos,
46 void ArcToInternal(const CFX_PointF& pos,
Dcfgas_gepath.cpp26 void CFGAS_GEPath::MoveTo(const CFX_PointF& point) { in MoveTo()
30 void CFGAS_GEPath::LineTo(const CFX_PointF& point) { in LineTo()
34 void CFGAS_GEPath::BezierTo(const CFX_PointF& c1, in BezierTo()
35 const CFX_PointF& c2, in BezierTo()
36 const CFX_PointF& to) { in BezierTo()
42 void CFGAS_GEPath::ArcTo(const CFX_PointF& pos, in ArcTo()
47 ArcToInternal(CFX_PointF(pos.x + new_size.width, pos.y + new_size.height), in ArcTo()
51 void CFGAS_GEPath::ArcToInternal(const CFX_PointF& pos, in ArcToInternal()
60 CFX_PointF points[] = {CFX_PointF(x0 + tx, -ty), CFX_PointF(x0 + tx, ty)}; in ArcToInternal()
64 CFX_PointF bezier; in ArcToInternal()
[all …]
Dcfgas_geshading.h22 CFGAS_GEShading(const CFX_PointF& beginPoint,
23 const CFX_PointF& endPoint,
30 CFGAS_GEShading(const CFX_PointF& beginPoint,
31 const CFX_PointF& endPoint,
42 CFX_PointF GetBeginPoint() const { return m_beginPoint; } in GetBeginPoint()
43 CFX_PointF GetEndPoint() const { return m_endPoint; } in GetEndPoint()
54 const CFX_PointF m_beginPoint;
55 const CFX_PointF m_endPoint;
/external/pdfium/core/fxge/
Dcfx_path.cpp39 bool XYBothNotEqual(const CFX_PointF& p1, const CFX_PointF& p2) { in XYBothNotEqual()
58 CFX_FloatRect CreateRectFromPoints(const CFX_PointF& p1, const CFX_PointF& p2) { in CreateRectFromPoints()
105 const CFX_PointF& start_pos, in UpdateLineEndPoints()
106 const CFX_PointF& end_pos, in UpdateLineEndPoints()
110 rect->UpdateRect(end_pos + CFX_PointF(hw, hw)); in UpdateLineEndPoints()
111 rect->UpdateRect(end_pos - CFX_PointF(hw, hw)); in UpdateLineEndPoints()
121 rect->UpdateRect(CFX_PointF(end_pos.x + hw, point_y)); in UpdateLineEndPoints()
122 rect->UpdateRect(CFX_PointF(end_pos.x - hw, point_y)); in UpdateLineEndPoints()
133 rect->UpdateRect(CFX_PointF(point_x, end_pos.y + hw)); in UpdateLineEndPoints()
134 rect->UpdateRect(CFX_PointF(point_x, end_pos.y - hw)); in UpdateLineEndPoints()
[all …]
Dcfx_path.h25 Point(const CFX_PointF& point, Type type, bool close);
33 CFX_PointF m_Point;
49 CFX_PointF GetPoint(size_t index) const { return m_Points[index].m_Point; } in GetPoint()
64 void AppendLine(const CFX_PointF& pt1, const CFX_PointF& pt2);
65 void AppendPoint(const CFX_PointF& point, Point::Type type);
66 void AppendPointAndClose(const CFX_PointF& point, Point::Type type);
/external/pdfium/fpdfsdk/pwl/
Dcpwl_scroll_bar.h108 const CFX_PointF& point) override;
109 bool OnLButtonUp(Mask<FWL_EVENTFLAG> nFlag, const CFX_PointF& point) override;
112 void NotifyLButtonDown(CPWL_Wnd* child, const CFX_PointF& pos) override;
113 void NotifyLButtonUp(CPWL_Wnd* child, const CFX_PointF& pos) override;
114 void NotifyMouseMove(CPWL_Wnd* child, const CFX_PointF& pos) override;
134 void OnMinButtonLBDown(const CFX_PointF& point);
135 void OnMinButtonLBUp(const CFX_PointF& point);
136 void OnMinButtonMouseMove(const CFX_PointF& point);
138 void OnMaxButtonLBDown(const CFX_PointF& point);
139 void OnMaxButtonLBUp(const CFX_PointF& point);
[all …]
Dcpwl_sbbutton.cpp33 CFX_PointF ptCenter = GetCenterPoint(); in DrawThisAppearance()
50 std::vector<CFX_PointF> pts; in DrawThisAppearance()
64 pts.push_back(CFX_PointF(fX + kOffsetsX[i], fY + pOffsetsY[i])); in DrawThisAppearance()
72 CFX_PointF ptTop = CFX_PointF(rectWnd.left, rectWnd.top - 1.0f); in DrawThisAppearance()
73 CFX_PointF ptBottom = CFX_PointF(rectWnd.left, rectWnd.bottom + 1.0f); in DrawThisAppearance()
102 CFX_PointF ptLeft = CFX_PointF(ptCenter.x - nFrictionWidth / 2.0f, in DrawThisAppearance()
104 CFX_PointF ptRight = CFX_PointF(ptCenter.x + nFrictionWidth / 2.0f, in DrawThisAppearance()
115 const CFX_PointF& point) { in OnLButtonDown()
128 const CFX_PointF& point) { in OnLButtonUp()
141 const CFX_PointF& point) { in OnMouseMove()
Dcpwl_list_ctrl.cpp110 CFX_PointF CPWL_ListCtrl::InToOut(const CFX_PointF& point) const { in InToOut()
112 return CFX_PointF(point.x - (m_ptScrollPos.x - rcPlate.left), in InToOut()
116 CFX_PointF CPWL_ListCtrl::OutToIn(const CFX_PointF& point) const { in OutToIn()
118 return CFX_PointF(point.x + (m_ptScrollPos.x - rcPlate.left), in OutToIn()
123 CFX_PointF ptLeftBottom = InToOut(CFX_PointF(rect.left, rect.bottom)); in InToOut()
124 CFX_PointF ptRightTop = InToOut(CFX_PointF(rect.right, rect.top)); in InToOut()
130 CFX_PointF ptLeftBottom = OutToIn(CFX_PointF(rect.left, rect.bottom)); in OutToIn()
131 CFX_PointF ptRightTop = OutToIn(CFX_PointF(rect.right, rect.top)); in OutToIn()
136 CFX_PointF CPWL_ListCtrl::InnerToOuter(const CFX_PointF& point) const { in InnerToOuter()
137 return CFX_PointF(point.x + GetBTPoint().x, GetBTPoint().y - point.y); in InnerToOuter()
[all …]
Dcpwl_list_ctrl.h41 void OnMouseDown(const CFX_PointF& point, bool bShift, bool bCtrl);
42 void OnMouseMove(const CFX_PointF& point, bool bShift, bool bCtrl);
51 void SetScrollPos(const CFX_PointF& point);
59 int32_t GetItemIndex(const CFX_PointF& point) const;
132 CFX_PointF InToOut(const CFX_PointF& point) const;
133 CFX_PointF OutToIn(const CFX_PointF& point) const;
137 CFX_PointF InnerToOuter(const CFX_PointF& point) const;
138 CFX_PointF OuterToInner(const CFX_PointF& point) const;
159 CFX_PointF GetBTPoint() const { in GetBTPoint()
160 return CFX_PointF(m_rcPlate.left, m_rcPlate.top); in GetBTPoint()
[all …]
Dcpwl_edit.h41 const CFX_PointF& point,
51 const CFX_PointF& point) override;
52 bool OnLButtonUp(Mask<FWL_EVENTFLAG> nFlag, const CFX_PointF& point) override;
54 const CFX_PointF& point) override;
55 bool OnRButtonUp(Mask<FWL_EVENTFLAG> nFlag, const CFX_PointF& point) override;
56 bool OnMouseMove(Mask<FWL_EVENTFLAG> nFlag, const CFX_PointF& point) override;
78 CFX_PointF GetScrollPos() const;
79 void SetScrollPos(const CFX_PointF& point);
100 const CFX_PointF& ptHead,
101 const CFX_PointF& ptFoot);
[all …]
Dcpwl_edit_impl.h52 const CFX_PointF& ptOffset,
67 void SetScrollPos(const CFX_PointF& point);
87 void OnMouseDown(const CFX_PointF& point, bool bShift, bool bCtrl);
88 void OnMouseMove(const CFX_PointF& point, bool bShift, bool bCtrl);
107 CPVT_WordPlace SearchWordPlace(const CFX_PointF& point) const;
114 CFX_PointF GetScrollPos() const;
243 CFX_PointF VTToEdit(const CFX_PointF& point) const;
257 CFX_PointF EditToVT(const CFX_PointF& point) const;
280 CFX_PointF m_ptScrollPos;
281 CFX_PointF m_ptRefreshScrollPos;
[all …]
/external/pdfium/xfa/fxfa/
Dcxfa_ffsignature.h24 const CFX_PointF& point,
29 const CFX_PointF& point) override;
31 const CFX_PointF& point) override;
33 const CFX_PointF& point) override;
35 const CFX_PointF& point) override;
37 const CFX_PointF& point,
40 const CFX_PointF& point) override;
42 const CFX_PointF& point) override;
44 const CFX_PointF& point) override;
48 FWL_WidgetHit HitTest(const CFX_PointF& point) override;
Dcxfa_fffield.h39 const CFX_PointF& point,
44 const CFX_PointF& point) override;
46 const CFX_PointF& point) override;
48 const CFX_PointF& point) override;
50 const CFX_PointF& point) override;
52 const CFX_PointF& point,
55 const CFX_PointF& point) override;
57 const CFX_PointF& point) override;
59 const CFX_PointF& point) override;
65 FWL_WidgetHit HitTest(const CFX_PointF& point) override;
[all …]
Dcxfa_ffsignature.cpp51 const CFX_PointF& point, in AcceptsFocusOnButtonDown()
57 const CFX_PointF& point) { in OnLButtonDown()
62 const CFX_PointF& point) { in OnLButtonUp()
67 const CFX_PointF& point) { in OnLButtonDblClk()
72 const CFX_PointF& point) { in OnMouseMove()
77 const CFX_PointF& point, in OnMouseWheel()
83 const CFX_PointF& point) { in OnRButtonDown()
88 const CFX_PointF& point) { in OnRButtonUp()
93 const CFX_PointF& point) { in OnRButtonDblClk()
106 FWL_WidgetHit CXFA_FFSignature::HitTest(const CFX_PointF& point) { in HitTest()
Dcxfa_ffwidgethandler.h38 const CFX_PointF& point);
41 const CFX_PointF& point);
44 const CFX_PointF& point);
47 const CFX_PointF& point);
50 const CFX_PointF& point,
54 const CFX_PointF& point);
57 const CFX_PointF& point);
60 const CFX_PointF& point);
78 FWL_WidgetHit HitTest(CXFA_FFWidget* pWidget, const CFX_PointF& point);
Dcxfa_ffwidget.h108 const CFX_PointF& point,
115 const CFX_PointF& point);
117 const CFX_PointF& point);
119 const CFX_PointF& point);
121 const CFX_PointF& point);
123 const CFX_PointF& point,
126 const CFX_PointF& point);
128 const CFX_PointF& point);
130 const CFX_PointF& point);
138 virtual FWL_WidgetHit HitTest(const CFX_PointF& point);
[all …]
Dcxfa_fftext.h20 const CFX_PointF& point,
23 const CFX_PointF& point) override;
25 const CFX_PointF& point) override;
27 const CFX_PointF& point) override;
28 FWL_WidgetHit HitTest(const CFX_PointF& point) override;
39 WideString GetLinkURLAtPoint(const CFX_PointF& point);
/external/pdfium/fpdfsdk/
Dcpdfsdk_annot.h33 const CFX_PointF& point) = 0;
35 const CFX_PointF& point) = 0;
37 const CFX_PointF& point) = 0;
39 const CFX_PointF& point) = 0;
41 const CFX_PointF& point,
44 const CFX_PointF& point) = 0;
46 const CFX_PointF& point) = 0;
70 virtual bool DoHitTest(const CFX_PointF& point) = 0;
92 const CFX_PointF& point);
95 const CFX_PointF& point);
[all …]
Dcpdfsdk_pageview.h78 bool OnFocus(Mask<FWL_EVENTFLAG> nFlags, const CFX_PointF& point);
79 bool OnLButtonDown(Mask<FWL_EVENTFLAG> nFlags, const CFX_PointF& point);
80 bool OnLButtonUp(Mask<FWL_EVENTFLAG> nFlags, const CFX_PointF& point);
81 bool OnLButtonDblClk(Mask<FWL_EVENTFLAG> nFlags, const CFX_PointF& point);
82 bool OnRButtonDown(Mask<FWL_EVENTFLAG> nFlags, const CFX_PointF& point);
83 bool OnRButtonUp(Mask<FWL_EVENTFLAG> nFlags, const CFX_PointF& point);
86 bool OnMouseMove(Mask<FWL_EVENTFLAG> nFlags, const CFX_PointF& point);
88 const CFX_PointF& point,
114 CPDFSDK_Annot* GetFXAnnotAtPoint(const CFX_PointF& point);
115 CPDFSDK_Annot* GetFXWidgetAtPoint(const CFX_PointF& point);
/external/pdfium/xfa/fxfa/parser/
Dcxfa_linear.cpp64 CFX_PointF ptStart; in Draw()
65 CFX_PointF ptEnd; in Draw()
68 ptStart = CFX_PointF(rtFill.left, rtFill.top); in Draw()
69 ptEnd = CFX_PointF(rtFill.right(), rtFill.top); in Draw()
72 ptStart = CFX_PointF(rtFill.left, rtFill.top); in Draw()
73 ptEnd = CFX_PointF(rtFill.left, rtFill.bottom()); in Draw()
76 ptStart = CFX_PointF(rtFill.right(), rtFill.top); in Draw()
77 ptEnd = CFX_PointF(rtFill.left, rtFill.top); in Draw()
80 ptStart = CFX_PointF(rtFill.left, rtFill.bottom()); in Draw()
81 ptEnd = CFX_PointF(rtFill.left, rtFill.top); in Draw()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp69 pPathObj->path().AppendPoint(CFX_PointF(0, 0), CFX_Path::Point::Type::kMove); in TEST_F()
70 pPathObj->path().AppendPoint(CFX_PointF(5.2f, 0), in TEST_F()
72 pPathObj->path().AppendPoint(CFX_PointF(5.2f, 3.78f), in TEST_F()
74 pPathObj->path().AppendPointAndClose(CFX_PointF(0, 3.78f), in TEST_F()
120 pPathObj->path().AppendPoint(CFX_PointF(0.000000000000000000001f, 4.67f), in TEST_F()
123 CFX_PointF(0.000000000000000000001, 100000000000000.000002), in TEST_F()
125 pPathObj->path().AppendPoint(CFX_PointF(0.0000000000001f, 3.15f), in TEST_F()
127 pPathObj->path().AppendPoint(CFX_PointF(3.57f, 2.98f), in TEST_F()
130 CFX_PointF(53.4f, 5000000000000000000.00000000000000004), in TEST_F()
150 pPathObj->path().AppendPoint(CFX_PointF(3.102f, 4.67f), in TEST_F()
[all …]
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_widget.h33 bool DoHitTest(const CFX_PointF& point) override;
56 const CFX_PointF& point) override;
58 const CFX_PointF& point) override;
60 const CFX_PointF& point) override;
62 const CFX_PointF& point) override;
64 const CFX_PointF& point,
67 const CFX_PointF& point) override;
69 const CFX_PointF& point) override;
/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfield.h48 const CFX_PointF& point);
52 const CFX_PointF& point);
55 const CFX_PointF& point);
58 const CFX_PointF& point);
61 const CFX_PointF& point,
65 const CFX_PointF& point);
68 const CFX_PointF& point);
124 CFX_PointF FFLtoPWL(const CFX_PointF& point);
125 CFX_PointF PWLtoFFL(const CFX_PointF& point);

12345678