Home
last modified time | relevance | path

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

1234567

/external/pdfium/fpdfsdk/fxedit/
Dfxet_list.h67 CFX_PointF LeftTop() const { return CFX_PointF(left, top); } in LeftTop()
69 CFX_PointF RightBottom() const { return CFX_PointF(right, bottom); } in RightBottom()
71 const CLST_Rect operator+=(const CFX_PointF& point) {
80 const CLST_Rect operator-=(const CFX_PointF& point) {
89 CLST_Rect operator+(const CFX_PointF& point) const {
94 CLST_Rect operator-(const CFX_PointF& point) const {
137 CFX_PointF GetBTPoint() const { in GetBTPoint()
138 return CFX_PointF(m_rcPlate.left, m_rcPlate.top); in GetBTPoint()
140 CFX_PointF GetETPoint() const { in GetETPoint()
141 return CFX_PointF(m_rcPlate.right, m_rcPlate.bottom); in GetETPoint()
[all …]
/external/pdfium/xfa/fde/
Dcfde_path.h19 void AddBezier(const std::vector<CFX_PointF>& points);
20 void AddBeziers(const std::vector<CFX_PointF>& points);
21 void AddCurve(const std::vector<CFX_PointF>& points,
25 void AddLines(const std::vector<CFX_PointF>& points);
26 void AddLine(const CFX_PointF& pt1, const CFX_PointF& pt2);
28 void AddPolygon(const std::vector<CFX_PointF>& points);
35 void BezierTo(const CFX_PointF& p1,
36 const CFX_PointF& p2,
37 const CFX_PointF& p3);
42 void MoveTo(const CFX_PointF& p);
[all …]
Dcfde_path.cpp21 void CFDE_Path::MoveTo(const CFX_PointF& point) { in MoveTo()
25 void CFDE_Path::LineTo(const CFX_PointF& point) { in LineTo()
29 void CFDE_Path::BezierTo(const CFX_PointF& p1, in BezierTo()
30 const CFX_PointF& p2, in BezierTo()
31 const CFX_PointF& p3) { in BezierTo()
63 MoveTo(CFX_PointF(cx + rx * cos_alpha, cy + ry * sin_alpha)); in ArcTo()
65 BezierTo(CFX_PointF(cx + rx * (cos_alpha - bcp * sin_alpha), in ArcTo()
67 CFX_PointF(cx + rx * (cos_beta + bcp * sin_beta), in ArcTo()
69 CFX_PointF(cx + rx * cos_beta, cy + ry * sin_beta)); in ArcTo()
72 void CFDE_Path::AddBezier(const std::vector<CFX_PointF>& points) { in AddBezier()
[all …]
Dfde_gedevice.h50 const CFX_PointF& pt1,
51 const CFX_PointF& pt2,
52 const CFX_PointF& pt3,
53 const CFX_PointF& pt4,
57 const std::vector<CFX_PointF>& points,
67 const std::vector<CFX_PointF>& points,
71 const CFX_PointF& pt1,
72 const CFX_PointF& pt2,
80 const std::vector<CFX_PointF>& points,
87 const std::vector<CFX_PointF>& points,
[all …]
/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp97 path.AddLine(pRtSign->TopLeft(), CFX_PointF(fRight, fBottom)); in DrawSignCross()
98 path.AddLine(CFX_PointF(pRtSign->left, fBottom), in DrawSignCross()
99 CFX_PointF(fRight, pRtSign->top)); in DrawSignCross()
117 path.MoveTo(CFX_PointF(pRtSign->left + fWidth / 2, pRtSign->top)); in DrawSignDiamond()
118 path.LineTo(CFX_PointF(pRtSign->left, pRtSign->top + fHeight / 2)); in DrawSignDiamond()
119 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, fBottom)); in DrawSignDiamond()
120 path.LineTo(CFX_PointF(pRtSign->right(), pRtSign->top + fHeight / 2)); in DrawSignDiamond()
121 path.LineTo(CFX_PointF(pRtSign->left + fWidth / 2, pRtSign->top)); in DrawSignDiamond()
152 CFX_PointF ptCenter((pRtSign->left + pRtSign->right()) / 2.0f, in DrawSignStar()
155 CFX_PointF points[5]; in DrawSignStar()
[all …]
Dcfwl_scrollbartp.cpp134 path.MoveTo(CFX_PointF(fX, fY - 4)); in DrawPaw()
135 path.LineTo(CFX_PointF(fX + fPawLen, fY - 4)); in DrawPaw()
136 path.MoveTo(CFX_PointF(fX, fY - 2)); in DrawPaw()
137 path.LineTo(CFX_PointF(fX + fPawLen, fY - 2)); in DrawPaw()
138 path.MoveTo(CFX_PointF(fX, fY)); in DrawPaw()
139 path.LineTo(CFX_PointF(fX + fPawLen, fY)); in DrawPaw()
140 path.MoveTo(CFX_PointF(fX, fY + 2)); in DrawPaw()
141 path.LineTo(CFX_PointF(fX + fPawLen, fY + 2)); in DrawPaw()
150 path.MoveTo(CFX_PointF(fX, fY - 3)); in DrawPaw()
151 path.LineTo(CFX_PointF(fX + fPawLen, fY - 3)); in DrawPaw()
[all …]
Dcfwl_widgettp.cpp153 CFX_PointF begPoint(fx1, fy1); in DrawAxialShading()
154 CFX_PointF endPoint(fx2, fy2); in DrawAxialShading()
195 path.MoveTo(CFX_PointF(fLeft, fTop + 1)); in DrawArrow()
196 path.LineTo(CFX_PointF(fLeft + 4, fTop + 5)); in DrawArrow()
197 path.LineTo(CFX_PointF(fLeft + 8, fTop + 1)); in DrawArrow()
198 path.LineTo(CFX_PointF(fLeft + 7, fTop)); in DrawArrow()
199 path.LineTo(CFX_PointF(fLeft + 4, fTop + 3)); in DrawArrow()
200 path.LineTo(CFX_PointF(fLeft + 1, fTop)); in DrawArrow()
204 path.MoveTo(CFX_PointF(fLeft, fTop + 4)); in DrawArrow()
205 path.LineTo(CFX_PointF(fLeft + 4, fTop)); in DrawArrow()
[all …]
/external/pdfium/fpdfsdk/pdfwindow/
DPWL_ScrollBar.cpp140 CFX_PointF ptCenter = GetCenterPoint(); in GetThisAppearanceStream()
146 CFX_PointF pt1(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, ptCenter.y); in GetThisAppearanceStream()
147 CFX_PointF pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
149 CFX_PointF pt3(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
164 CFX_PointF pt1(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, ptCenter.y); in GetThisAppearanceStream()
165 CFX_PointF pt2(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
167 CFX_PointF pt3(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream()
188 CFX_PointF pt1(ptCenter.x - PWL_TRIANGLE_HALFLEN, in GetThisAppearanceStream()
190 CFX_PointF pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN, in GetThisAppearanceStream()
192 CFX_PointF pt3(ptCenter.x, ptCenter.y + PWL_TRIANGLE_HALFLEN * 0.5f); in GetThisAppearanceStream()
[all …]
DPWL_Utils.cpp57 CFX_PointF pts[8][3] = {{CFX_PointF(0.28f, 0.52f), CFX_PointF(0.27f, 0.48f), in GetAP_Check()
58 CFX_PointF(0.29f, 0.40f)}, in GetAP_Check()
59 {CFX_PointF(0.30f, 0.33f), CFX_PointF(0.31f, 0.29f), in GetAP_Check()
60 CFX_PointF(0.31f, 0.28f)}, in GetAP_Check()
61 {CFX_PointF(0.39f, 0.28f), CFX_PointF(0.49f, 0.29f), in GetAP_Check()
62 CFX_PointF(0.77f, 0.67f)}, in GetAP_Check()
63 {CFX_PointF(0.76f, 0.68f), CFX_PointF(0.78f, 0.69f), in GetAP_Check()
64 CFX_PointF(0.76f, 0.75f)}, in GetAP_Check()
65 {CFX_PointF(0.76f, 0.75f), CFX_PointF(0.73f, 0.80f), in GetAP_Check()
66 CFX_PointF(0.68f, 0.75f)}, in GetAP_Check()
[all …]
DPWL_Caret.h17 CFX_PointF ptHead;
18 CFX_PointF ptFoot;
36 const CFX_PointF& ptHead,
37 const CFX_PointF& ptFoot);
38 CFX_ByteString GetCaretAppearanceStream(const CFX_PointF& ptOffset);
42 void GetCaretApp(CFX_ByteTextBuf& sAppStream, const CFX_PointF& ptOffset);
46 CFX_PointF m_ptHead;
47 CFX_PointF m_ptFoot;
DPWL_ScrollBar.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;
155 void OnMinButtonLBDown(const CFX_PointF& point);
156 void OnMinButtonLBUp(const CFX_PointF& point);
157 void OnMinButtonMouseMove(const CFX_PointF& point);
159 void OnMaxButtonLBDown(const CFX_PointF& point);
160 void OnMaxButtonLBUp(const CFX_PointF& point);
[all …]
DPWL_EditCtrl.h55 CFX_PointF GetScrollPos() const;
56 void SetScrollPos(const CFX_PointF& point);
79 bool OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) override;
80 bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) override;
81 bool OnMouseMove(const CFX_PointF& point, uint32_t nFlag) override;
100 const CFX_PointF& ptHead,
101 const CFX_PointF& ptFoot,
123 void GetCaretInfo(CFX_PointF* ptHead, CFX_PointF* ptFoot) const;
125 const CFX_PointF& ptHead,
126 const CFX_PointF& ptFoot);
DPWL_Caret.cpp28 GetCaretApp(sAppStream, CFX_PointF()); in GetThisAppearanceStream()
50 path.AppendPoint(CFX_PointF(fCaretX, fCaretBottom), FXPT_TYPE::MoveTo, in DrawThisAppearance()
52 path.AppendPoint(CFX_PointF(fCaretX, fCaretTop), FXPT_TYPE::LineTo, false); in DrawThisAppearance()
62 const CFX_PointF& ptOffset) { in GetCaretApp()
87 const CFX_PointF& ptOffset) { in GetCaretAppearanceStream()
108 const CFX_PointF& ptHead, in SetCaret()
109 const CFX_PointF& ptFoot) { in SetCaret()
128 m_ptHead = CFX_PointF(); in SetCaret()
129 m_ptFoot = CFX_PointF(); in SetCaret()
/external/pdfium/xfa/fxgraphics/
Dcfx_path.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);
42 void AddArc(const CFX_PointF& pos,
50 void ArcToInternal(const CFX_PointF& pos,
Dcfx_path.cpp24 void CFX_Path::MoveTo(const CFX_PointF& point) { in MoveTo()
28 void CFX_Path::LineTo(const CFX_PointF& point) { in LineTo()
32 void CFX_Path::BezierTo(const CFX_PointF& c1, in BezierTo()
33 const CFX_PointF& c2, in BezierTo()
34 const CFX_PointF& to) { in BezierTo()
40 void CFX_Path::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 CFX_Path::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 …]
Dcfx_shading.h21 CFX_Shading(const CFX_PointF& beginPoint,
22 const CFX_PointF& endPoint,
29 CFX_Shading(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/app/
Dxfa_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;
Dxfa_fffield.h34 bool OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
35 bool OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point) override;
36 bool OnLButtonDblClk(uint32_t dwFlags, const CFX_PointF& point) override;
37 bool OnMouseMove(uint32_t dwFlags, const CFX_PointF& point) override;
40 const CFX_PointF& point) override;
41 bool OnRButtonDown(uint32_t dwFlags, const CFX_PointF& point) override;
42 bool OnRButtonUp(uint32_t dwFlags, const CFX_PointF& point) override;
43 bool OnRButtonDblClk(uint32_t dwFlags, const CFX_PointF& point) override;
50 FWL_WidgetHit OnHitTest(const CFX_PointF& point) override;
51 bool OnSetCursor(const CFX_PointF& point) override;
[all …]
Dxfa_ffsignature.cpp50 const CFX_PointF& point) { in OnLButtonDown()
54 bool CXFA_FFSignature::OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point) { in OnLButtonUp()
59 const CFX_PointF& point) { in OnLButtonDblClk()
63 bool CXFA_FFSignature::OnMouseMove(uint32_t dwFlags, const CFX_PointF& point) { in OnMouseMove()
69 const CFX_PointF& point) { in OnMouseWheel()
74 const CFX_PointF& point) { in OnRButtonDown()
78 bool CXFA_FFSignature::OnRButtonUp(uint32_t dwFlags, const CFX_PointF& point) { in OnRButtonUp()
83 const CFX_PointF& point) { in OnRButtonDblClk()
99 FWL_WidgetHit CXFA_FFSignature::OnHitTest(const CFX_PointF& point) { in OnHitTest()
112 bool CXFA_FFSignature::OnSetCursor(const CFX_PointF& point) { in OnSetCursor()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.h44 const CFX_PointF& point);
48 const CFX_PointF& point);
52 const CFX_PointF& point);
56 const CFX_PointF& point);
61 const CFX_PointF& point);
65 const CFX_PointF& point);
69 const CFX_PointF& point);
107 CFX_PointF FFLtoPWL(const CFX_PointF& point);
108 CFX_PointF PWLtoFFL(const CFX_PointF& point);
110 CFX_PointF WndtoPWL(CPDFSDK_PageView* pPageView, const CFX_PointF& pt);
[all …]
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp55 pPathObj->m_Path.AppendPoint(CFX_PointF(0, 0), FXPT_TYPE::MoveTo, false); in TEST_F()
56 pPathObj->m_Path.AppendPoint(CFX_PointF(5.2f, 0), FXPT_TYPE::LineTo, false); in TEST_F()
57 pPathObj->m_Path.AppendPoint(CFX_PointF(5.2f, 3.78f), FXPT_TYPE::LineTo, in TEST_F()
59 pPathObj->m_Path.AppendPoint(CFX_PointF(0, 3.78f), FXPT_TYPE::LineTo, true); in TEST_F()
70 pPathObj->m_Path.AppendPoint(CFX_PointF(3.102f, 4.67f), FXPT_TYPE::MoveTo, in TEST_F()
72 pPathObj->m_Path.AppendPoint(CFX_PointF(5.45f, 0.29f), FXPT_TYPE::LineTo, in TEST_F()
74 pPathObj->m_Path.AppendPoint(CFX_PointF(4.24f, 3.15f), FXPT_TYPE::BezierTo, in TEST_F()
76 pPathObj->m_Path.AppendPoint(CFX_PointF(4.65f, 2.98f), FXPT_TYPE::BezierTo, in TEST_F()
78 pPathObj->m_Path.AppendPoint(CFX_PointF(3.456f, 0.24f), FXPT_TYPE::BezierTo, in TEST_F()
80 pPathObj->m_Path.AppendPoint(CFX_PointF(10.6f, 11.15f), FXPT_TYPE::LineTo, in TEST_F()
[all …]
/external/pdfium/xfa/fxfa/
Dxfa_ffwidget.h63 virtual bool OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point);
64 virtual bool OnLButtonUp(uint32_t dwFlags, const CFX_PointF& point);
65 virtual bool OnLButtonDblClk(uint32_t dwFlags, const CFX_PointF& point);
66 virtual bool OnMouseMove(uint32_t dwFlags, const CFX_PointF& point);
69 const CFX_PointF& point);
70 virtual bool OnRButtonDown(uint32_t dwFlags, const CFX_PointF& point);
71 virtual bool OnRButtonUp(uint32_t dwFlags, const CFX_PointF& point);
72 virtual bool OnRButtonDblClk(uint32_t dwFlags, const CFX_PointF& point);
79 virtual FWL_WidgetHit OnHitTest(const CFX_PointF& point);
80 virtual bool OnSetCursor(const CFX_PointF& point);
[all …]
/external/pdfium/fpdfsdk/
Dipdfsdk_annothandler.h41 const CFX_PointF& point) = 0;
58 const CFX_PointF& point) = 0;
62 const CFX_PointF& point) = 0;
66 const CFX_PointF& point) = 0;
70 const CFX_PointF& point) = 0;
75 const CFX_PointF& point) = 0;
79 const CFX_PointF& point) = 0;
83 const CFX_PointF& point) = 0;
87 const CFX_PointF& point) = 0;
Dcpdfsdk_baannothandler.h42 const CFX_PointF& point) override;
59 const CFX_PointF& point) override;
63 const CFX_PointF& point) override;
67 const CFX_PointF& point) override;
71 const CFX_PointF& point) override;
76 const CFX_PointF& point) override;
80 const CFX_PointF& point) override;
84 const CFX_PointF& point) override;
88 const CFX_PointF& point) override;
Dcpdfsdk_xfawidgethandler.h37 const CFX_PointF& point) override;
53 const CFX_PointF& point) override;
57 const CFX_PointF& point) override;
61 const CFX_PointF& point) override;
65 const CFX_PointF& point) override;
70 const CFX_PointF& point) override;
74 const CFX_PointF& point) override;
78 const CFX_PointF& point) override;
82 const CFX_PointF& point) override;

1234567