Searched refs:pDash (Results 1 - 2 of 2) sorted by relevance

/external/pdfium/core/src/fxge/win32/
H A Dfx_win32_device.cpp641 FX_DWORD* pDash = NULL; local
643 pDash = FX_Alloc(FX_DWORD, pGraphState->m_DashCount);
644 if (!pDash) {
648 pDash[i] = FXSYS_round(pMatrix ? pMatrix->TransformDistance(pGraphState->m_DashArray[i]) : pGraphState->m_DashArray[i]);
649 if (pDash[i] < 1) {
650 pDash[i] = 1;
654 HPEN hPen = ExtCreatePen(PenStyle, (DWORD)FXSYS_ceil(width), &lb, pGraphState->m_DashCount, (const DWORD*)pDash);
655 if (pDash) {
656 FX_Free(pDash);
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_graph_state.cpp506 CPDF_Array* pDash = (CPDF_Array*)pObject; local
507 CPDF_Array* pArray = pDash->GetArray(0);
511 SetLineDash(pArray, pDash->GetNumber(1), 1.0f);

Completed in 138 milliseconds