Home
last modified time | relevance | path

Searched refs:pPathData (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp92 void CFX_PSRenderer::OutputPath(const CFX_PathData* pPathData, in OutputPath() argument
94 int nPoints = pPathData->GetPointCount(); in OutputPath()
98 uint8_t flag = pPathData->GetFlag(i); in OutputPath()
99 FX_FLOAT x = pPathData->GetPointX(i); in OutputPath()
100 FX_FLOAT y = pPathData->GetPointY(i); in OutputPath()
117 FX_FLOAT x1 = pPathData->GetPointX(i + 1); in OutputPath()
118 FX_FLOAT x2 = pPathData->GetPointX(i + 2); in OutputPath()
119 FX_FLOAT y1 = pPathData->GetPointY(i + 1); in OutputPath()
120 FX_FLOAT y2 = pPathData->GetPointY(i + 2); in OutputPath()
138 void CFX_PSRenderer::SetClip_PathFill(const CFX_PathData* pPathData, in SetClip_PathFill() argument
[all …]
Dfx_ge_device.cpp73 FX_BOOL CFX_RenderDevice::SetClip_PathFill(const CFX_PathData* pPathData, in SetClip_PathFill() argument
76 if (!m_pDeviceDriver->SetClip_PathFill(pPathData, pObject2Device, in SetClip_PathFill()
84 const CFX_PathData* pPathData, in SetClip_PathStroke() argument
87 if (!m_pDeviceDriver->SetClip_PathStroke(pPathData, pObject2Device, in SetClip_PathStroke()
113 FX_BOOL CFX_RenderDevice::DrawPath(const CFX_PathData* pPathData, in DrawPath() argument
136 if (stroke_alpha == 0 && pPathData->GetPointCount() == 2) { in DrawPath()
137 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in DrawPath()
154 if ((pPathData->GetPointCount() == 5 || pPathData->GetPointCount() == 4) && in DrawPath()
158 pPathData->IsRect(pObject2Device, &rect_f)) { in DrawPath()
200 if (pPathData->GetZeroAreaPath(newPath, (CFX_Matrix*)pObject2Device, bThin, in DrawPath()
[all …]
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp129 void BuildPath(const CFX_PathData* pPathData,
133 void CSkia_PathData::BuildPath(const CFX_PathData* pPathData, in BuildPath() argument
135 const CFX_PathData* pFPath = pPathData; in BuildPath()
330 const CFX_PathData* pPathData, // path info in SetClip_PathFill() argument
339 if (pPathData->GetPointCount() == 5 || pPathData->GetPointCount() == 4) { in SetClip_PathFill()
341 if (pPathData->IsRect(pObject2Device, &rectf)) { in SetClip_PathFill()
351 path_data.BuildPath(pPathData, pObject2Device); in SetClip_PathFill()
368 const CFX_PathData* pPathData, // path info in SetClip_PathStroke() argument
379 path_data.BuildPath(pPathData, NULL); in SetClip_PathStroke()
429 const CFX_PathData* pPathData, // path info in DrawPath() argument
[all …]
Dfx_skia_device.h27 const CFX_PathData* pPathData, // path info
34 const CFX_PathData* pPathData, // path info
41 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h22 void BuildPath(const CFX_PathData* pPathData,
43 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
46 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
49 FX_BOOL DrawPath(const CFX_PathData* pPathData,
/external/pdfium/core/include/fxge/
Dfx_ge.h283 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
289 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
293 FX_BOOL DrawPath(const CFX_PathData* pPathData,
497 virtual FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
501 virtual FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, in SetClip_PathStroke() argument
507 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
639 void SetClip_PathFill(const CFX_PathData* pPathData,
643 void SetClip_PathStroke(const CFX_PathData* pPathData,
649 FX_BOOL DrawPath(const CFX_PathData* pPathData,
714 void OutputPath(const CFX_PathData* pPathData,
/external/pdfium/core/src/fxge/win32/
Dwin32_int.h38 const CFX_PathData* pPathData,
119 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
122 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
125 FX_BOOL DrawPath(const CFX_PathData* pPathData,
302 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
305 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
308 FX_BOOL DrawPath(const CFX_PathData* pPathData,
Dfx_win32_device.cpp759 const CFX_PathData* pPathData, in _SetPathToDC() argument
762 int nPoints = pPathData->GetPointCount(); in _SetPathToDC()
763 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in _SetPathToDC()
842 FX_BOOL CGdiDeviceDriver::DrawPath(const CFX_PathData* pPathData, in DrawPath() argument
860 CFX_FloatRect bbox_f = pPathData->GetBoundingBox(); in DrawPath()
890 (pPathData->GetPointCount() == 5 || in DrawPath()
891 pPathData->GetPointCount() == 4) && in DrawPath()
892 pPathData->IsRect())) { in DrawPath()
893 if (pPlatform->m_GdiplusExt.DrawPath(m_hDC, pPathData, pMatrix, in DrawPath()
915 if (pPathData->GetPointCount() == 2 && pGraphState && in DrawPath()
[all …]
Dfx_win32_print.cpp378 FX_BOOL CPSPrinterDriver::SetClip_PathFill(const CFX_PathData* pPathData, in SetClip_PathFill() argument
381 m_PSRenderer.SetClip_PathFill(pPathData, pObject2Device, fill_mode); in SetClip_PathFill()
385 const CFX_PathData* pPathData, in SetClip_PathStroke() argument
388 m_PSRenderer.SetClip_PathStroke(pPathData, pObject2Device, pGraphState); in SetClip_PathStroke()
391 FX_BOOL CPSPrinterDriver::DrawPath(const CFX_PathData* pPathData, in DrawPath() argument
403 return m_PSRenderer.DrawPath(pPathData, pObject2Device, pGraphState, in DrawPath()
Dfx_win32_gdipext.cpp1100 const CFX_PathData* pPathData, in DrawPath() argument
1106 int nPoints = pPathData->GetPointCount(); in DrawPath()
1110 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in DrawPath()
/external/pdfium/xfa/src/fxgraphics/src/
Dfx_path_generator.cpp21 void CFX_PathGenerator::AddPathData(CFX_PathData* pPathData) { in AddPathData() argument
22 if (pPathData && pPathData->GetPointCount() > 0) { in AddPathData()
23 int nCount = pPathData->GetPointCount(); in AddPathData()
24 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in AddPathData()
/external/pdfium/fpdfsdk/src/
Dfpdf_transformpage.cpp226 const CFX_PathData* pPathData = path; in OutputPath() local
227 if (!pPathData) in OutputPath()
230 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in OutputPath()
240 for (int i = 0; i < pPathData->GetPointCount(); i++) { in OutputPath()
/external/pdfium/core/src/fxge/apple/
Dapple_int.h89 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
92 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
95 FX_BOOL DrawPath(const CFX_PathData* pPathData,
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp33 void CAgg_PathData::BuildPath(const CFX_PathData* pPathData, in BuildPath() argument
35 int nPoints = pPathData->GetPointCount(); in BuildPath()
36 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in BuildPath()
316 FX_BOOL CFX_AggDeviceDriver::SetClip_PathFill(const CFX_PathData* pPathData, in SetClip_PathFill() argument
324 if (pPathData->GetPointCount() == 5 || pPathData->GetPointCount() == 4) { in SetClip_PathFill()
326 if (pPathData->IsRect(pObject2Device, &rectf)) { in SetClip_PathFill()
336 path_data.BuildPath(pPathData, pObject2Device); in SetClip_PathFill()
349 const CFX_PathData* pPathData, in SetClip_PathStroke() argument
357 path_data.BuildPath(pPathData, NULL); in SetClip_PathStroke()
1205 FX_BOOL CFX_AggDeviceDriver::DrawPath(const CFX_PathData* pPathData, in DrawPath() argument
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp19 CFX_ByteString CPWL_Utils::GetAppStreamFromArray(const CPWL_PathData* pPathData, in GetAppStreamFromArray() argument
24 switch (pPathData[i].type) { in GetAppStreamFromArray()
26 csAP << pPathData[i].point.x << " " << pPathData[i].point.y << " m\n"; in GetAppStreamFromArray()
29 csAP << pPathData[i].point.x << " " << pPathData[i].point.y << " l\n"; in GetAppStreamFromArray()
32 csAP << pPathData[i].point.x << " " << pPathData[i].point.y << " " in GetAppStreamFromArray()
33 << pPathData[i + 1].point.x << " " << pPathData[i + 1].point.y in GetAppStreamFromArray()
34 << " " << pPathData[i + 2].point.x << " " in GetAppStreamFromArray()
35 << pPathData[i + 2].point.y << " c\n"; in GetAppStreamFromArray()
48 const CPWL_PathData* pPathData, in GetPathDataFromArray() argument
53 switch (pPathData[i].type) { in GetPathDataFromArray()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp630 const CFX_PathData* pPathData = ClipPath.GetPath(i); in ProcessClipPath() local
631 if (!pPathData) in ProcessClipPath()
634 if (pPathData->GetPointCount() == 0) { in ProcessClipPath()
641 m_pDevice->SetClip_PathFill(pPathData, pObj2Device, ClipType); in ProcessClipPath()
686 const CFX_PathData* pPathData = ClipPath.GetPath(i); in DrawClipPath() local
687 if (!pPathData) { in DrawClipPath()
694 m_pDevice->DrawPath(pPathData, pObj2Device, &stroke_state, 0, 0xffff0000, in DrawClipPath()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h302 static CFX_ByteString GetAppStreamFromArray(const CPWL_PathData* pPathData,
305 const CPWL_PathData* pPathData,
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_pageobjs.cpp416 CPDF_PathData* pPathData = pPathObj->m_Path.GetModify(); in AddRectToPageObjects() local
417 pPathData->AppendRect(rcFill.left, rcFill.bottom, rcFill.right, rcFill.top); in AddRectToPageObjects()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser.cpp1465 CFX_PathData* pPathData = Path.New(); in AddPathObject() local
1466 pPathData->SetPointCount(PathPointCount); in AddPathObject()
1467 FXSYS_memcpy(pPathData->GetPoints(), m_pPathPoints, in AddPathObject()