/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator_unittest.cpp | 55 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 …]
|
D | cpdf_pagecontentgenerator.cpp | 161 FXPT_TYPE pointType = pPoints[i].m_Type; in ProcessPath() 162 if (pointType == FXPT_TYPE::MoveTo) { in ProcessPath() 164 } else if (pointType == FXPT_TYPE::LineTo) { in ProcessPath() 166 } else if (pointType == FXPT_TYPE::BezierTo) { in ProcessPath() 168 !pPoints[i].IsTypeAndOpen(FXPT_TYPE::BezierTo) || in ProcessPath() 169 !pPoints[i + 1].IsTypeAndOpen(FXPT_TYPE::BezierTo) || in ProcessPath() 170 pPoints[i + 2].m_Type != FXPT_TYPE::BezierTo) { in ProcessPath()
|
/external/pdfium/core/fxge/ge/ |
D | cfx_pathdata.cpp | 163 FX_PATHPOINT::FX_PATHPOINT(const CFX_PointF& point, FXPT_TYPE type, bool close) in FX_PATHPOINT() 201 FXPT_TYPE type, in AppendPoint() 211 FX_PATHPOINT(CFX_PointF(left, bottom), FXPT_TYPE::MoveTo, false)); in AppendRect() 213 FX_PATHPOINT(CFX_PointF(left, top), FXPT_TYPE::LineTo, false)); in AppendRect() 215 FX_PATHPOINT(CFX_PointF(right, top), FXPT_TYPE::LineTo, false)); in AppendRect() 217 FX_PATHPOINT(CFX_PointF(right, bottom), FXPT_TYPE::LineTo, false)); in AppendRect() 219 FX_PATHPOINT(CFX_PointF(left, bottom), FXPT_TYPE::LineTo, true)); in AppendRect() 243 if (m_Points[iPoint].IsTypeAndOpen(FXPT_TYPE::MoveTo)) { in GetBoundingBox() 248 if (m_Points[iPoint].IsTypeAndOpen(FXPT_TYPE::BezierTo)) { in GetBoundingBox() 255 m_Points[iPoint + 1].IsTypeAndOpen(FXPT_TYPE::MoveTo)) { in GetBoundingBox() [all …]
|
D | cfx_font.cpp | 90 if (size >= 2 && points[size - 2].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in Outline_CheckEmptyContour() 94 if (size >= 4 && points[size - 4].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in Outline_CheckEmptyContour() 95 points[size - 3].IsTypeAndOpen(FXPT_TYPE::BezierTo) && in Outline_CheckEmptyContour() 112 FXPT_TYPE::MoveTo, false); in Outline_MoveTo() 124 FXPT_TYPE::LineTo, false); in Outline_LineTo() 141 FXPT_TYPE::BezierTo, false); in Outline_ConicTo() 146 FXPT_TYPE::BezierTo, false); in Outline_ConicTo() 150 FXPT_TYPE::BezierTo, false); in Outline_ConicTo() 165 FXPT_TYPE::BezierTo, false); in Outline_CubicTo() 169 FXPT_TYPE::BezierTo, false); in Outline_CubicTo() [all …]
|
D | cfx_renderdevice.cpp | 695 path.AppendPoint(CFX_PointF(x1, y1), FXPT_TYPE::MoveTo, false); in DrawCosmeticLine() 696 path.AppendPoint(CFX_PointF(x2, y2), FXPT_TYPE::LineTo, false); in DrawCosmeticLine()
|
/external/pdfium/xfa/fxgraphics/ |
D | cfx_path.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/fxge/ |
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() 63 void AppendPoint(const CFX_PointF& pos, FXPT_TYPE type, bool closeFigure);
|
D | cfx_renderdevice.h | 63 enum class FXPT_TYPE : uint8_t { LineTo, BezierTo, MoveTo }; enum
|
/external/pdfium/fpdfsdk/ |
D | fpdfeditpath.cpp | 13 pPathObj->m_Path.AppendPoint(CFX_PointF(x, y), FXPT_TYPE::MoveTo, false); in FPDFPageObj_CreateNewPath() 74 pPathObj->m_Path.AppendPoint(CFX_PointF(x, y), FXPT_TYPE::MoveTo, false); in FPDFPath_MoveTo() 83 pPathObj->m_Path.AppendPoint(CFX_PointF(x, y), FXPT_TYPE::LineTo, false); in FPDFPath_LineTo() 98 pPathObj->m_Path.AppendPoint(CFX_PointF(x1, y1), FXPT_TYPE::BezierTo, false); in FPDFPath_BezierTo() 99 pPathObj->m_Path.AppendPoint(CFX_PointF(x2, y2), FXPT_TYPE::BezierTo, false); in FPDFPath_BezierTo() 100 pPathObj->m_Path.AppendPoint(CFX_PointF(x3, y3), FXPT_TYPE::BezierTo, false); in FPDFPath_BezierTo()
|
D | fpdf_transformpage.cpp | 251 FXPT_TYPE point_type = pPoints[i].m_Type; in OutputPath() 252 if (point_type == FXPT_TYPE::MoveTo) { in OutputPath() 254 } else if (point_type == FXPT_TYPE::BezierTo) { in OutputPath() 263 } else if (point_type == FXPT_TYPE::LineTo) { in OutputPath()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_streamcontentparser.cpp | 594 AddPathPoint(m_PathStartX, m_PathStartY, FXPT_TYPE::LineTo, true); in Handle_CloseEOFillStrokePath() 688 AddPathPoint(GetNumber(5), GetNumber(4), FXPT_TYPE::BezierTo, false); in Handle_CurveTo_123() 689 AddPathPoint(GetNumber(3), GetNumber(2), FXPT_TYPE::BezierTo, false); in Handle_CurveTo_123() 690 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_TYPE::BezierTo, false); in Handle_CurveTo_123() 893 AddPathPoint(m_PathStartX, m_PathStartY, FXPT_TYPE::LineTo, true); in Handle_ClosePath() 894 } else if (m_pPathPoints[m_PathPointCount - 1].m_Type != FXPT_TYPE::MoveTo) { in Handle_ClosePath() 943 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_TYPE::LineTo, false); in Handle_LineTo() 950 AddPathPoint(GetNumber(1), GetNumber(0), FXPT_TYPE::MoveTo, false); in Handle_MoveTo() 988 AddPathPoint(x, y, FXPT_TYPE::MoveTo, false); in AddPathRect() 989 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 | 60 FXPT_TYPE type, in AppendPoint()
|
D | cpdf_streamcontentparser.h | 97 void AddPathPoint(FX_FLOAT x, FX_FLOAT y, FXPT_TYPE type, bool close);
|
/external/pdfium/fpdfsdk/pdfwindow/ |
D | PWL_Utils.cpp | 953 path.AppendPoint(pPts[0], FXPT_TYPE::MoveTo, false); in DrawFillArea() 955 path.AppendPoint(pPts[i], FXPT_TYPE::LineTo, false); in DrawFillArea() 982 path.AppendPoint(ptMoveTo, FXPT_TYPE::MoveTo, false); in DrawStrokeLine() 983 path.AppendPoint(ptLineTo, FXPT_TYPE::LineTo, false); in DrawStrokeLine() 1067 FXPT_TYPE::MoveTo, false); in DrawBorder() 1070 FXPT_TYPE::LineTo, false); in DrawBorder() 1073 FXPT_TYPE::LineTo, false); in DrawBorder() 1076 FXPT_TYPE::LineTo, false); in DrawBorder() 1079 FXPT_TYPE::LineTo, false); in DrawBorder() 1100 FXPT_TYPE::MoveTo, false); in DrawBorder() [all …]
|
D | PWL_Caret.cpp | 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()
|
D | PWL_ScrollBar.cpp | 260 path.AppendPoint(pt1, FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 261 path.AppendPoint(pt2, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 262 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 263 path.AppendPoint(pt1, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 280 path.AppendPoint(pt1, FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 281 path.AppendPoint(pt2, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 282 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 283 path.AppendPoint(pt1, FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
D | PWL_ComboBox.cpp | 150 path.AppendPoint(pt1, FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 151 path.AppendPoint(pt2, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 152 path.AppendPoint(pt3, FXPT_TYPE::LineTo, false); in DrawThisAppearance() 153 path.AppendPoint(pt1, FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
D | PWL_Edit.cpp | 342 FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 348 FXPT_TYPE::LineTo, false); in DrawThisAppearance() 372 FXPT_TYPE::MoveTo, false); in DrawThisAppearance() 378 FXPT_TYPE::LineTo, false); in DrawThisAppearance()
|
/external/pdfium/xfa/fde/ |
D | cfde_path.cpp | 22 m_Path.AppendPoint(point, FXPT_TYPE::MoveTo, false); in MoveTo() 26 m_Path.AppendPoint(point, FXPT_TYPE::LineTo, false); in LineTo() 32 m_Path.AppendPoint(p1, FXPT_TYPE::BezierTo, false); in BezierTo() 33 m_Path.AppendPoint(p2, FXPT_TYPE::BezierTo, false); in BezierTo() 34 m_Path.AppendPoint(p3, FXPT_TYPE::BezierTo, false); in BezierTo()
|
/external/pdfium/core/fxge/win32/ |
D | cfx_psrenderer.cpp | 117 FXPT_TYPE type = pPathData->GetType(i); in OutputPath() 125 case FXPT_TYPE::MoveTo: in OutputPath() 128 case FXPT_TYPE::LineTo: in OutputPath() 133 case FXPT_TYPE::BezierTo: { in OutputPath() 607 case FXPT_TYPE::MoveTo: { in FindPSFontGlyph() 611 case FXPT_TYPE::LineTo: { in FindPSFontGlyph() 615 case FXPT_TYPE::BezierTo: { in FindPSFontGlyph()
|
D | fx_win32_gdipext.cpp | 1149 FXPT_TYPE point_type = pPoints[i].m_Type; in DrawPath() 1150 if (point_type == FXPT_TYPE::MoveTo) { in DrawPath() 1155 } else if (point_type == FXPT_TYPE::LineTo) { in DrawPath() 1157 if (pPoints[i - 1].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in DrawPath() 1159 pPoints[i + 1].IsTypeAndOpen(FXPT_TYPE::MoveTo)) && in DrawPath() 1168 } else if (point_type == FXPT_TYPE::BezierTo) { in DrawPath()
|
D | fx_win32_device.cpp | 177 FXPT_TYPE point_type = pPoints[i].m_Type; in SetPathToDC() 178 if (point_type == FXPT_TYPE::MoveTo) { in SetPathToDC() 180 } else if (point_type == FXPT_TYPE::LineTo) { in SetPathToDC() 185 } else if (point_type == FXPT_TYPE::BezierTo) { in SetPathToDC()
|
/external/pdfium/fpdfsdk/formfiller/ |
D | cffl_interactiveformfiller.cpp | 73 FXPT_TYPE::MoveTo, false); in OnDraw() 75 FXPT_TYPE::LineTo, false); in OnDraw() 77 FXPT_TYPE::LineTo, false); in OnDraw() 79 FXPT_TYPE::LineTo, false); in OnDraw() 81 FXPT_TYPE::LineTo, false); in OnDraw()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 283 FXPT_TYPE point_type = pPoints[i].m_Type; in BuildPath() 284 if (point_type == FXPT_TYPE::MoveTo) { in BuildPath() 286 } else if (point_type == FXPT_TYPE::LineTo) { in BuildPath() 287 if (pPoints[i - 1].IsTypeAndOpen(FXPT_TYPE::MoveTo) && in BuildPath() 289 pPoints[i + 1].IsTypeAndOpen(FXPT_TYPE::MoveTo)) && in BuildPath() 294 } else if (point_type == FXPT_TYPE::BezierTo) { in BuildPath()
|