/external/pdfium/core/fxge/ |
D | cfx_pathdata.cpp | 162 FX_PATHPOINT::FX_PATHPOINT(const CFX_PointF& point, FXPT_TYPE type, bool close) in FX_PATHPOINT() 200 FXPT_TYPE type, in AppendPoint() 208 AppendPoint(pt1, FXPT_TYPE::MoveTo, false); in AppendLine() 210 AppendPoint(pt2, FXPT_TYPE::LineTo, false); in AppendLine() 250 if (m_Points[iPoint].IsTypeAndOpen(FXPT_TYPE::MoveTo)) { in GetBoundingBox() 258 if (m_Points[iPoint].IsTypeAndOpen(FXPT_TYPE::BezierTo)) { in GetBoundingBox() 264 m_Points[iPoint + 1].IsTypeAndOpen(FXPT_TYPE::MoveTo)) { in GetBoundingBox() 306 if (m_Points.size() == 3 && m_Points[0].m_Type == FXPT_TYPE::MoveTo && in GetZeroAreaPath() 307 m_Points[1].m_Type == FXPT_TYPE::LineTo && in GetZeroAreaPath() 308 m_Points[2].m_Type == FXPT_TYPE::LineTo && in GetZeroAreaPath() [all …]
|
D | cfx_pathdata.h | 19 FX_PATHPOINT(const CFX_PointF& point, FXPT_TYPE type, bool close); 23 bool IsTypeAndOpen(FXPT_TYPE type) const { in IsTypeAndOpen() 28 FXPT_TYPE m_Type; 40 FXPT_TYPE GetType(int index) const { return m_Points[index].m_Type; } in GetType() 64 void AppendPoint(const CFX_PointF& pos, FXPT_TYPE type, bool closeFigure);
|
D | cfx_renderdevice.cpp | 714 path.AppendPoint(ptMoveTo, FXPT_TYPE::MoveTo, false); in DrawCosmeticLine() 715 path.AppendPoint(ptLineTo, FXPT_TYPE::LineTo, false); in DrawCosmeticLine() 1147 path.AppendPoint(pPts[0], FXPT_TYPE::MoveTo, false); in DrawFillArea() 1149 path.AppendPoint(pPts[i], FXPT_TYPE::LineTo, false); in DrawFillArea() 1174 path.AppendPoint(ptMoveTo, FXPT_TYPE::MoveTo, false); in DrawStrokeLine() 1175 path.AppendPoint(ptLineTo, FXPT_TYPE::LineTo, false); in DrawStrokeLine() 1253 FXPT_TYPE::MoveTo, false); in DrawBorder() 1256 FXPT_TYPE::LineTo, false); in DrawBorder() 1259 FXPT_TYPE::LineTo, false); in DrawBorder() 1262 FXPT_TYPE::LineTo, false); in DrawBorder() [all …]
|
D | cfx_font.cpp | 88 if (size >= 2 && points[size - 2].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in Outline_CheckEmptyContour() 92 if (size >= 4 && points[size - 4].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in Outline_CheckEmptyContour() 93 points[size - 3].IsTypeAndOpen(FXPT_TYPE::BezierTo) && in Outline_CheckEmptyContour() 110 FXPT_TYPE::MoveTo, false); in Outline_MoveTo() 122 FXPT_TYPE::LineTo, false); in Outline_LineTo() 139 FXPT_TYPE::BezierTo, false); in Outline_ConicTo() 144 FXPT_TYPE::BezierTo, false); in Outline_ConicTo() 148 FXPT_TYPE::BezierTo, false); in Outline_ConicTo() 163 FXPT_TYPE::BezierTo, false); in Outline_CubicTo() 167 FXPT_TYPE::BezierTo, false); in Outline_CubicTo() [all …]
|
D | cfx_renderdevice.h | 67 enum class FXPT_TYPE : uint8_t { LineTo, BezierTo, MoveTo }; enum
|
/external/pdfium/xfa/fxgraphics/ |
D | cxfa_gepath.cpp | 25 data_.AppendPoint(point, FXPT_TYPE::MoveTo, false); in MoveTo() 29 data_.AppendPoint(point, FXPT_TYPE::LineTo, false); in LineTo() 35 data_.AppendPoint(c1, FXPT_TYPE::BezierTo, false); in BezierTo() 36 data_.AppendPoint(c2, FXPT_TYPE::BezierTo, false); in BezierTo() 37 data_.AppendPoint(to, FXPT_TYPE::BezierTo, false); in BezierTo() 65 data_.AppendPoint(bezier, FXPT_TYPE::BezierTo, false); in ArcToInternal() 69 data_.AppendPoint(bezier, FXPT_TYPE::BezierTo, false); in ArcToInternal() 73 data_.AppendPoint(bezier, FXPT_TYPE::BezierTo, false); in ArcToInternal() 77 data_.AppendPoint(p1, FXPT_TYPE::MoveTo, false); in AddLine() 78 data_.AppendPoint(p2, FXPT_TYPE::LineTo, false); in AddLine() [all …]
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator_unittest.cpp | 64 pPathObj->m_Path.AppendPoint(CFX_PointF(0, 0), FXPT_TYPE::MoveTo, false); in TEST_F() 65 pPathObj->m_Path.AppendPoint(CFX_PointF(5.2f, 0), FXPT_TYPE::LineTo, false); in TEST_F() 66 pPathObj->m_Path.AppendPoint(CFX_PointF(5.2f, 3.78f), FXPT_TYPE::LineTo, in TEST_F() 68 pPathObj->m_Path.AppendPoint(CFX_PointF(0, 3.78f), FXPT_TYPE::LineTo, true); in TEST_F() 79 pPathObj->m_Path.AppendPoint(CFX_PointF(3.102f, 4.67f), FXPT_TYPE::MoveTo, in TEST_F() 81 pPathObj->m_Path.AppendPoint(CFX_PointF(5.45f, 0.29f), FXPT_TYPE::LineTo, in TEST_F() 83 pPathObj->m_Path.AppendPoint(CFX_PointF(4.24f, 3.15f), FXPT_TYPE::BezierTo, in TEST_F() 85 pPathObj->m_Path.AppendPoint(CFX_PointF(4.65f, 2.98f), FXPT_TYPE::BezierTo, in TEST_F() 87 pPathObj->m_Path.AppendPoint(CFX_PointF(3.456f, 0.24f), FXPT_TYPE::BezierTo, in TEST_F() 89 pPathObj->m_Path.AppendPoint(CFX_PointF(10.6f, 11.15f), FXPT_TYPE::LineTo, in TEST_F() [all …]
|
D | cpdf_pagecontentgenerator.cpp | 225 FXPT_TYPE pointType = pPoints[i].m_Type; in ProcessPath() 226 if (pointType == FXPT_TYPE::MoveTo) { in ProcessPath() 228 } else if (pointType == FXPT_TYPE::LineTo) { in ProcessPath() 230 } else if (pointType == FXPT_TYPE::BezierTo) { in ProcessPath() 232 !pPoints[i].IsTypeAndOpen(FXPT_TYPE::BezierTo) || in ProcessPath() 233 !pPoints[i + 1].IsTypeAndOpen(FXPT_TYPE::BezierTo) || in ProcessPath() 234 pPoints[i + 2].m_Type != FXPT_TYPE::BezierTo) { in ProcessPath()
|
/external/pdfium/fpdfsdk/ |
D | fpdfeditpath.cpp | 31 static_assert(static_cast<int>(FXPT_TYPE::LineTo) == FPDF_SEGMENT_LINETO, 33 static_assert(static_cast<int>(FXPT_TYPE::BezierTo) == FPDF_SEGMENT_BEZIERTO, 35 static_assert(static_cast<int>(FXPT_TYPE::MoveTo) == FPDF_SEGMENT_MOVETO, 41 pPathObj->m_Path.AppendPoint(CFX_PointF(x, y), FXPT_TYPE::MoveTo, false); in FPDFPageObj_CreateNewPath() 154 pPathObj->m_Path.AppendPoint(CFX_PointF(x, y), FXPT_TYPE::MoveTo, false); in FPDFPath_MoveTo() 166 pPathObj->m_Path.AppendPoint(CFX_PointF(x, y), FXPT_TYPE::LineTo, false); in FPDFPath_LineTo() 182 pPathObj->m_Path.AppendPoint(CFX_PointF(x1, y1), FXPT_TYPE::BezierTo, false); in FPDFPath_BezierTo() 183 pPathObj->m_Path.AppendPoint(CFX_PointF(x2, y2), FXPT_TYPE::BezierTo, false); in FPDFPath_BezierTo() 184 pPathObj->m_Path.AppendPoint(CFX_PointF(x3, y3), FXPT_TYPE::BezierTo, false); in FPDFPath_BezierTo()
|
D | fpdf_transformpage.cpp | 244 FXPT_TYPE point_type = pPoints[i].m_Type; in OutputPath() 245 if (point_type == FXPT_TYPE::MoveTo) { in OutputPath() 247 } else if (point_type == FXPT_TYPE::BezierTo) { in OutputPath() 256 } else if (point_type == FXPT_TYPE::LineTo) { in OutputPath()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_streamcontentparser.cpp | 579 AddPathPoint(m_PathStartX, m_PathStartY, FXPT_TYPE::LineTo, true); in Handle_CloseEOFillStrokePath() 678 AddPathPoint(GetNumber(5), GetNumber(4), FXPT_TYPE::BezierTo, false); in Handle_CurveTo_123() 679 AddPathPoint(GetNumber(3), GetNumber(2), FXPT_TYPE::BezierTo, false); in Handle_CurveTo_123() 680 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_TYPE::BezierTo, false); in Handle_CurveTo_123() 892 AddPathPoint(m_PathStartX, m_PathStartY, FXPT_TYPE::LineTo, true); in Handle_ClosePath() 893 else if (m_PathPoints.back().m_Type != FXPT_TYPE::MoveTo) in Handle_ClosePath() 941 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_TYPE::LineTo, false); in Handle_LineTo() 948 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_TYPE::MoveTo, false); in Handle_MoveTo() 983 AddPathPoint(x, y, FXPT_TYPE::MoveTo, false); in AddPathRect() 984 AddPathPoint(x + w, y, FXPT_TYPE::LineTo, false); in AddPathRect() [all …]
|
D | cpdf_path.h | 40 void AppendPoint(const CFX_PointF& point, FXPT_TYPE type, bool close);
|
D | cpdf_path.cpp | 57 FXPT_TYPE type, in AppendPoint()
|
D | cpdf_streamcontentparser.h | 104 void AddPathPoint(float x, float y, FXPT_TYPE type, bool close);
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_caret.cpp | 47 path.AppendPoint(CFX_PointF(fCaretX, fCaretBottom), FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 48 path.AppendPoint(CFX_PointF(fCaretX, fCaretTop), FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
D | cpwl_combo_box.cpp | 121 path.AppendPoint(pt1, FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 122 path.AppendPoint(pt2, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 123 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 124 path.AppendPoint(pt1, FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
D | cpwl_edit.cpp | 226 FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 232 FXPT_TYPE::LineTo, false); in DrawThisAppearance() 256 FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 262 FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
D | cpwl_scroll_bar.cpp | 177 path.AppendPoint(pt1, FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 178 path.AppendPoint(pt2, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 179 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 180 path.AppendPoint(pt1, FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
/external/pdfium/core/fxge/win32/ |
D | cfx_psrenderer.cpp | 176 FXPT_TYPE type = pPathData->GetType(i); in OutputPath() 184 case FXPT_TYPE::MoveTo: in OutputPath() 187 case FXPT_TYPE::LineTo: in OutputPath() 192 case FXPT_TYPE::BezierTo: { in OutputPath() 617 case FXPT_TYPE::MoveTo: { in FindPSFontGlyph() 621 case FXPT_TYPE::LineTo: { in FindPSFontGlyph() 625 case FXPT_TYPE::BezierTo: { in FindPSFontGlyph()
|
D | fx_win32_gdipext.cpp | 1195 FXPT_TYPE point_type = pPoints[i].m_Type; in DrawPath() 1196 if (point_type == FXPT_TYPE::MoveTo) { in DrawPath() 1201 } else if (point_type == FXPT_TYPE::LineTo) { in DrawPath() 1203 if (pPoints[i - 1].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in DrawPath() 1205 pPoints[i + 1].IsTypeAndOpen(FXPT_TYPE::MoveTo)) && in DrawPath() 1213 } else if (point_type == FXPT_TYPE::BezierTo) { in DrawPath()
|
D | fx_win32_device.cpp | 179 FXPT_TYPE point_type = pPoints[i].m_Type; in SetPathToDC() 180 if (point_type == FXPT_TYPE::MoveTo) { in SetPathToDC() 182 } else if (point_type == FXPT_TYPE::LineTo) { in SetPathToDC() 187 } else if (point_type == FXPT_TYPE::BezierTo) { in SetPathToDC()
|
/external/pdfium/fpdfsdk/formfiller/ |
D | cffl_interactiveformfiller.cpp | 78 path.AppendPoint(CFX_PointF(rcFocus.left, rcFocus.top), FXPT_TYPE::MoveTo, in OnDraw() 81 FXPT_TYPE::LineTo, false); in OnDraw() 83 FXPT_TYPE::LineTo, false); in OnDraw() 84 path.AppendPoint(CFX_PointF(rcFocus.right, rcFocus.top), FXPT_TYPE::LineTo, in OnDraw() 86 path.AppendPoint(CFX_PointF(rcFocus.left, rcFocus.top), FXPT_TYPE::LineTo, in OnDraw()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 1071 FXPT_TYPE point_type = pPoints[i].m_Type; in BuildPath() 1072 if (point_type == FXPT_TYPE::MoveTo) { in BuildPath() 1074 } else if (point_type == FXPT_TYPE::LineTo) { in BuildPath() 1075 if (i > 0 && pPoints[i - 1].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in BuildPath() 1077 pPoints[i + 1].IsTypeAndOpen(FXPT_TYPE::MoveTo)) && in BuildPath() 1082 } else if (point_type == FXPT_TYPE::BezierTo) { in BuildPath()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 289 FXPT_TYPE point_type = pPoints[i].m_Type; in BuildPath() 290 if (point_type == FXPT_TYPE::MoveTo) { in BuildPath() 292 } else if (point_type == FXPT_TYPE::LineTo) { in BuildPath() 294 } else if (point_type == FXPT_TYPE::BezierTo) { in BuildPath()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.cpp | 855 CFX_PointF(), i == 0 ? FXPT_TYPE::MoveTo : FXPT_TYPE::BezierTo, false); in DrawCoonPatchMeshes()
|