Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp90 void CFX_PSRenderer::OutputPath(const CFX_PathData* pPathData, const CFX_AffineMatrix* pObject2Devi… in OutputPath() argument
92 int nPoints = pPathData->GetPointCount(); in OutputPath()
96 FX_BYTE flag = pPathData->GetFlag(i); in OutputPath()
97 FX_FLOAT x = pPathData->GetPointX(i); in OutputPath()
98 FX_FLOAT y = pPathData->GetPointY(i); in OutputPath()
115 FX_FLOAT x1 = pPathData->GetPointX(i + 1); in OutputPath()
116 FX_FLOAT x2 = pPathData->GetPointX(i + 2); in OutputPath()
117 FX_FLOAT y1 = pPathData->GetPointY(i + 1); in OutputPath()
118 FX_FLOAT y2 = pPathData->GetPointY(i + 2); in OutputPath()
136 void CFX_PSRenderer::SetClip_PathFill(const CFX_PathData* pPathData, in SetClip_PathFill() argument
[all …]
Dfx_ge_device.cpp80 FX_BOOL CFX_RenderDevice::SetClip_PathFill(const CFX_PathData* pPathData, in SetClip_PathFill() argument
85 if (!m_pDeviceDriver->SetClip_PathFill(pPathData, pObject2Device, fill_mode)) { in SetClip_PathFill()
91 FX_BOOL CFX_RenderDevice::SetClip_PathStroke(const CFX_PathData* pPathData, in SetClip_PathStroke() argument
96 if (!m_pDeviceDriver->SetClip_PathStroke(pPathData, pObject2Device, pGraphState)) { in SetClip_PathStroke()
122 FX_BOOL CFX_RenderDevice::DrawPath(const CFX_PathData* pPathData, in DrawPath() argument
142 if (stroke_alpha == 0 && pPathData->GetPointCount() == 2) { in DrawPath()
143 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in DrawPath()
157 if ((pPathData->GetPointCount() == 5 || pPathData->GetPointCount() == 4) && stroke_alpha == 0) { in DrawPath()
159 if (!(fill_mode & FXFILL_RECT_AA) && pPathData->IsRect(pObject2Device, &rect_f)) { in DrawPath()
197 …if (pPathData->GetZeroAreaPath(newPath, (CFX_Matrix*)pObject2Device, bThin, m_pDeviceDriver->GetDr… in DrawPath()
[all …]
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp127 void BuildPath(const CFX_PathData* pPathData, const CFX_AffineMatrix* pObject2Device);
130 void CSkia_PathData::BuildPath(const CFX_PathData* pPathData, const CFX_AffineMatrix* pObject2Devic… in BuildPath() argument
132 const CFX_PathData* pFPath = pPathData; in BuildPath()
297 FX_BOOL CFX_SkiaDeviceDriver::SetClip_PathFill(const CFX_PathData* pPathData, // path info in SetClip_PathFill() argument
305 if (pPathData->GetPointCount() == 5 || pPathData->GetPointCount() == 4) { in SetClip_PathFill()
307 if (pPathData->IsRect(pObject2Device, &rectf)) { in SetClip_PathFill()
315 path_data.BuildPath(pPathData, pObject2Device); in SetClip_PathFill()
329 FX_BOOL CFX_SkiaDeviceDriver::SetClip_PathStroke(const CFX_PathData* pPathData, // path info in SetClip_PathStroke() argument
339 path_data.BuildPath(pPathData, NULL); in SetClip_PathStroke()
374 FX_BOOL CFX_SkiaDeviceDriver::DrawPath(const CFX_PathData* pPathData, // path info in DrawPath() argument
[all …]
Dfx_skia_device.h23 virtual FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData, // path info
29 virtual FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, // path info
35 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h19 void BuildPath(const CFX_PathData* pPathData, const CFX_AffineMatrix* pObject2Device);
37 virtual FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
43 virtual FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
49 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
/external/pdfium/core/include/fxge/
Dfx_ge.h377 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
384 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
389 FX_BOOL DrawPath(const CFX_PathData* pPathData,
542 virtual FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
547 virtual FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, in SetClip_PathStroke() argument
555 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
659 void SetClip_PathFill(const CFX_PathData* pPathData,
664 void SetClip_PathStroke(const CFX_PathData* pPathData,
674 FX_BOOL DrawPath(const CFX_PathData* pPathData,
721 void OutputPath(const CFX_PathData* pPathData, const CFX_AffineMatrix* pObject2Device);
/external/pdfium/core/src/fxge/win32/
Dwin32_int.h24 FX_BOOL DrawPath(HDC hDC, const CFX_PathData* pPathData,
85 virtual FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
89 virtual FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
93 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
199 virtual FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
203 virtual FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
207 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
Dfx_win32_device.cpp678 static void _SetPathToDC(HDC hDC, const CFX_PathData* pPathData, const CFX_AffineMatrix* pMatrix) in _SetPathToDC() argument
681 int nPoints = pPathData->GetPointCount(); in _SetPathToDC()
682 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in _SetPathToDC()
755 FX_BOOL CGdiDeviceDriver::DrawPath(const CFX_PathData* pPathData, in DrawPath() argument
773 CFX_FloatRect bbox_f = pPathData->GetBoundingBox(); in DrawPath()
796 (pPathData->GetPointCount() == 5 || pPathData->GetPointCount() == 4) && in DrawPath()
797 pPathData->IsRect()) ) { in DrawPath()
798 …if (pPlatform->m_GdiplusExt.DrawPath(m_hDC, pPathData, pMatrix, pGraphState, fill_color, stroke_co… in DrawPath()
818 if (pPathData->GetPointCount() == 2 && pGraphState && pGraphState->m_DashCount) { in DrawPath()
819 FX_FLOAT x1 = pPathData->GetPointX(0), y1 = pPathData->GetPointY(0); in DrawPath()
[all …]
Dfx_win32_print.cpp350 FX_BOOL CPSPrinterDriver::SetClip_PathFill(const CFX_PathData* pPathData, const CFX_AffineMatrix* p… in SetClip_PathFill() argument
353 m_PSRenderer.SetClip_PathFill(pPathData, pObject2Device, fill_mode); in SetClip_PathFill()
356 FX_BOOL CPSPrinterDriver::SetClip_PathStroke(const CFX_PathData* pPathData, in SetClip_PathStroke() argument
360 m_PSRenderer.SetClip_PathStroke(pPathData, pObject2Device, pGraphState); in SetClip_PathStroke()
363 FX_BOOL CPSPrinterDriver::DrawPath(const CFX_PathData* pPathData, in DrawPath() argument
371 …return m_PSRenderer.DrawPath(pPathData, pObject2Device, pGraphState, fill_color, stroke_color, fil… in DrawPath()
Dfx_win32_gdipext.cpp846 BOOL CGdiplusExt::DrawPath(HDC hDC, const CFX_PathData* pPathData, in DrawPath() argument
854 int nPoints = pPathData->GetPointCount(); in DrawPath()
858 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in DrawPath()
/external/pdfium/fpdfsdk/src/
Dfpdf_transformpage.cpp220 const CFX_PathData* pPathData = path; in OutputPath() local
221 if (pPathData == NULL) return; in OutputPath()
223 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in OutputPath()
233 for (int i = 0; i < pPathData->GetPointCount(); i ++) { in OutputPath()
/external/pdfium/core/src/fxge/apple/
Dapple_int.h108 virtual FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
112 virtual FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
116 virtual FX_BOOL DrawPath(const CFX_PathData* pPathData,
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp35 void CAgg_PathData::BuildPath(const CFX_PathData* pPathData, const CFX_AffineMatrix* pObject2Device) in BuildPath() argument
37 int nPoints = pPathData->GetPointCount(); in BuildPath()
38 FX_PATHPOINT* pPoints = pPathData->GetPoints(); in BuildPath()
318 FX_BOOL CFX_AggDeviceDriver::SetClip_PathFill(const CFX_PathData* pPathData, in SetClip_PathFill() argument
327 if (pPathData->GetPointCount() == 5 || pPathData->GetPointCount() == 4) { in SetClip_PathFill()
329 if (pPathData->IsRect(pObject2Device, &rectf)) { in SetClip_PathFill()
337 path_data.BuildPath(pPathData, pObject2Device); in SetClip_PathFill()
346 FX_BOOL CFX_AggDeviceDriver::SetClip_PathStroke(const CFX_PathData* pPathData, in SetClip_PathStroke() argument
355 path_data.BuildPath(pPathData, NULL); in SetClip_PathStroke()
1123 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, FX_INT32 nCount) in GetAppStreamFromArray() argument
25 switch (pPathData[i].type) in GetAppStreamFromArray()
28 csAP << pPathData[i].point.x << " " << pPathData[i].point.y << " m\n"; in GetAppStreamFromArray()
31 csAP << pPathData[i].point.x << " " << pPathData[i].point.y << " l\n"; in GetAppStreamFromArray()
34 csAP << pPathData[i].point.x << " " << pPathData[i].point.y << " " in GetAppStreamFromArray()
35 << pPathData[i+1].point.x << " " << pPathData[i+1].point.y << " " in GetAppStreamFromArray()
36 << pPathData[i+2].point.x << " " << pPathData[i+2].point.y << " c\n"; in GetAppStreamFromArray()
48 void CPWL_Utils::GetPathDataFromArray(CFX_PathData& path, const CPWL_PathData* pPathData, FX_INT32 … in GetPathDataFromArray() argument
54 switch (pPathData[i].type) in GetPathDataFromArray()
57 path.SetPoint(i, pPathData[i].point.x, pPathData[i].point.y, FXPT_MOVETO); in GetPathDataFromArray()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_annot.cpp359 CPDF_PathData *pPathData = pPathObject->m_Path.GetModify(); in GetBorder() local
360 if (pPathData) { in GetBorder()
361pPathData->AppendRect(rect.left + width, rect.bottom + width, rect.right - width, rect.top - width… in GetBorder()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp632 const CFX_PathData* pPathData = ClipPath.GetPath(i); in ProcessClipPath() local
633 if (pPathData == NULL) { in ProcessClipPath()
636 if (pPathData->GetPointCount() == 0) { in ProcessClipPath()
643 m_pDevice->SetClip_PathFill(pPathData, pObj2Device, ClipType); in ProcessClipPath()
689 const CFX_PathData* pPathData = ClipPath.GetPath(i); in DrawClipPath() local
690 if (pPathData == NULL) { in DrawClipPath()
697 m_pDevice->DrawPath(pPathData, pObj2Device, &stroke_state, 0, 0xffff0000, fill_mode); in DrawClipPath()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h203 static CFX_ByteString GetAppStreamFromArray(const CPWL_PathData* pPathData, FX_INT32 nCount);
204 …static void GetPathDataFromArray(CFX_PathData& path, const CPWL_PathData* pPathData, FX_INT…
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_pageobjs.cpp403 CPDF_PathData* pPathData = pPathObj->m_Path.GetModify(); in AddRectToPageObjects() local
404 pPathData->AppendRect(rcFill.left,rcFill.bottom,rcFill.right,rcFill.top); in AddRectToPageObjects()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser.cpp1525 CFX_PathData* pPathData = Path.New(); in AddPathObject() local
1526 pPathData->SetPointCount(PathPointCount); in AddPathObject()
1527 FXSYS_memcpy32(pPathData->GetPoints(), m_pPathPoints, sizeof(FX_PATHPOINT) * PathPointCount); in AddPathObject()
/external/pdfium/core/src/reflow/
Dlayoutprocessor_reflow.cpp843 CRF_PathData* pPathData = (CRF_PathData*)pData; in Transform() local
844 pPathData->m_pPath2Device.Concat(*pMatrix); in Transform()