Searched refs:pPathObj (Results 1 – 8 of 8) sorted by relevance
/external/pdfium/fpdfsdk/ |
D | fpdfeditpath.cpp | 12 CPDF_PathObject* pPathObj = new CPDF_PathObject; in FPDFPageObj_CreateNewPath() local 13 pPathObj->m_Path.AppendPoint(CFX_PointF(x, y), FXPT_TYPE::MoveTo, false); in FPDFPageObj_CreateNewPath() 14 pPathObj->DefaultStates(); in FPDFPageObj_CreateNewPath() 15 return pPathObj; in FPDFPageObj_CreateNewPath() 22 CPDF_PathObject* pPathObj = new CPDF_PathObject; in FPDFPageObj_CreateNewRect() local 23 pPathObj->m_Path.AppendRect(x, y, x + w, y + h); in FPDFPageObj_CreateNewRect() 24 pPathObj->DefaultStates(); in FPDFPageObj_CreateNewRect() 25 return pPathObj; in FPDFPageObj_CreateNewRect() 36 auto pPathObj = reinterpret_cast<CPDF_PathObject*>(path); in FPDFPath_SetStrokeColor() local 37 pPathObj->m_GeneralState.SetStrokeAlpha(A / 255.f); in FPDFPath_SetStrokeColor() [all …]
|
D | fpdfeditpage.cpp | 169 CPDF_PathObject* pPathObj = pPageObj->AsPath(); in FPDFPage_InsertObject() local 170 pPathObj->CalcBoundingBox(); in FPDFPage_InsertObject()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator_unittest.cpp | 25 CPDF_PathObject* pPathObj) { in TestProcessPath() argument 26 pGen->ProcessPath(buf, pPathObj); in TestProcessPath() 43 auto pPathObj = pdfium::MakeUnique<CPDF_PathObject>(); in TEST_F() local 44 pPathObj->m_Path.AppendRect(10, 5, 13, 30); in TEST_F() 45 pPathObj->m_FillType = FXFILL_ALTERNATE; in TEST_F() 46 pPathObj->m_bStroke = true; in TEST_F() 51 TestProcessPath(&generator, &buf, pPathObj.get()); in TEST_F() 54 pPathObj = pdfium::MakeUnique<CPDF_PathObject>(); in TEST_F() 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() [all …]
|
D | cpdf_pagecontentgenerator.cpp | 66 else if (CPDF_PathObject* pPathObj = pPageObj->AsPath()) in GenerateContent() local 67 ProcessPath(&buf, pPathObj); in GenerateContent() 149 CPDF_PathObject* pPathObj) { in ProcessPath() argument 150 ProcessGraphics(buf, pPathObj); in ProcessPath() 151 auto& pPoints = pPathObj->m_Path.GetPoints(); in ProcessPath() 152 if (pPathObj->m_Path.IsRect()) { in ProcessPath() 184 if (pPathObj->m_FillType == 0) in ProcessPath() 185 *buf << (pPathObj->m_bStroke ? " S" : " n"); in ProcessPath() 186 else if (pPathObj->m_FillType == FXFILL_WINDING) in ProcessPath() 187 *buf << (pPathObj->m_bStroke ? " B" : " f"); in ProcessPath() [all …]
|
D | cpdf_pagecontentgenerator.h | 32 void ProcessPath(CFX_ByteTextBuf* buf, CPDF_PathObject* pPathObj);
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.h | 87 bool ProcessPath(CPDF_PathObject* pPathObj, const CFX_Matrix* pObj2Device); 88 void ProcessPathPattern(CPDF_PathObject* pPathObj, 92 void DrawPathWithPattern(CPDF_PathObject* pPathObj, 104 bool SelectClipPath(const CPDF_PathObject* pPathObj, 145 static CPDF_GraphicStates* CloneObjStates(const CPDF_GraphicStates* pPathObj,
|
D | cpdf_renderstatus.cpp | 1265 bool CPDF_RenderStatus::ProcessPath(CPDF_PathObject* pPathObj, in ProcessPath() argument 1267 int FillType = pPathObj->m_FillType; in ProcessPath() 1268 bool bStroke = pPathObj->m_bStroke; in ProcessPath() 1269 ProcessPathPattern(pPathObj, pObj2Device, FillType, bStroke); in ProcessPath() 1273 uint32_t fill_argb = FillType ? GetFillArgb(pPathObj) : 0; in ProcessPath() 1274 uint32_t stroke_argb = bStroke ? GetStrokeArgb(pPathObj) : 0; in ProcessPath() 1275 CFX_Matrix path_matrix = pPathObj->m_Matrix; in ProcessPath() 1290 static_cast<const CPDF_PageObject*>(pPathObj); in ProcessPath() 1296 CFX_GraphState graphState = pPathObj->m_GraphState; in ProcessPath() 1300 pPathObj->m_Path.GetObject(), &path_matrix, graphState.GetObject(), in ProcessPath() [all …]
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_streamcontentparser.cpp | 1503 std::unique_ptr<CPDF_PathObject> pPathObj(new CPDF_PathObject); in AddPathObject() local 1504 pPathObj->m_bStroke = bStroke; in AddPathObject() 1505 pPathObj->m_FillType = FillType; in AddPathObject() 1506 pPathObj->m_Path = Path; in AddPathObject() 1507 pPathObj->m_Matrix = matrix; in AddPathObject() 1508 SetGraphicStates(pPathObj.get(), true, false, true); in AddPathObject() 1509 pPathObj->CalcBoundingBox(); in AddPathObject() 1510 m_pObjectHolder->GetPageObjectList()->push_back(std::move(pPathObj)); in AddPathObject()
|